SE_transforminfo_set_polynomial

Sets the polynomial transformation from the coordinate transformation object

Usage syntax

LONG SE_transforminfo_set_polynomial (SE_TRANSFORMINFO transform, SE_POLYNOMIAL_TYPE type,const LFLOAT *poly);

Parameters

transform

The coordinate transformation object.

type

The polynomial type

poly

The polynomial array

Description

SE_transforminfo_set_polynomial sets the polynomial transformation system from the coordinate transformation object. The coordinate transformation object’s transformation type must be SE_TRANSFORM_POLYNOMIAL.

Valid polynomial types include:

SE_POLYNOMIAL_1ST_ORDER—The polynomial array contains 6 elements
SE_POLYNOMIAL_2ND_ORDER—The polynomial array contains 12 elements
SE_POLYNOMIAL_3RD_ORDER—The polynomial array contains 20 elements

Returns

SE_SUCCESS
SE_INVALID_POINTER

SE_SDE_NOT_STARTED

SE_INVALID_TRANSFORMINFO_OBJECT