This function converts parameters from a given (source, destination) pair of SRFs into an internal structure that will be used to optimize repeated coordinate conversion calls between those two SRFs.
Note that horizontal and vertical datum transformations are not
currently supported.
SE_COORD_INVALID_SOURCE_SRF_PARAMETERS - and *coord_op_params_ptr is set to NULL, if source_SRF_params_ptr is NULL or if the source SRF parameters are invalid.
SE_COORD_INVALID_DEST_SRF_PARAMETERS - and *coord_op_params_ptr is set to NULL, if dest_SRF_params_ptr is NULL or if the destination SRF parameters are invalid.
SE_COORD_INVALID_SRF_PAIR - if coord_op_params_ptr was NULL.
SE_COORD_UNSUPPORTED - and *coord_op_params_ptr is set to NULL, if a conversion is specified that is not supported.
SE_COORD_FAILURE - and *coord_op_params_ptr is set to NULL, if a structure to store the optimized conversion parameters cannot be allocated (if the program is out of memory).
| extern SE_COORD_STATUS_CODE_ENUM | ||||
| SE_CreateCoordConversionConstants | ||||
| ( | ||||
| const | SE_SRF_PARAMETERS | * | source_SRF_params_ptr, | (notes) |
| const | SE_SRF_PARAMETERS | * | dest_SRF_params_ptr, | |
| SE_CONVERT_COORD_SYSTEM_PAIR | * | coord_op_params_ptr | (notes) | |
| ); | ||||
the inputs. Pointers to SE_SRF_PARAMETERS structures
already filled out by the user for the source and destination SRFs that
the user needs to convert between.
a pointer to an SE_CONVERT_COORD_SYSTEM_PAIR in the user's memory space that will be initialized by this call.