Assumptions:
The caller wishes to convert (x, y, z) from SRF1 into a different
spatial reference frame SRF2, where the transformation from SRF1
to SRF2 is specified by convert_params_ptr.
SE_COORD_INVALID_SRF_PAIR - and *dest_vec_ptr, *conversion_location_dest_ptr are left unchanged, if convert_params_ptr was NULL.
SE_COORD_INVALID_SOURCE_VECTOR - and *dest_vec_ptr, *conversion_location_dest_ptr are left unchanged, if source_vec_ptr is NULL.
SE_COORD_INVALID_SOURCE_COORD - and *dest_vec_ptr, *conversion_location_dest_ptr are left unchanged, if conversion_location_src_ptr is NULL and required.
SE_COORD_INVALID_DEST_VECTOR - and *dest_vec_ptr, *conversion_location_dest_ptr are left unchanged, if dest_vect_ptr is NULL.
SE_COORD_INVALID_DEST_COORD - and *dest_vec_ptr, *conversion_location_dest_ptr are left unchanged, if conversion_location_dest_ptr is NULL.
SE_COORD_UNSUPPORTED - if an invalid vector conversion was requested.
SE_COORD_FAILURE - an unspecified error condition occurred.
| extern SE_COORD_STATUS_CODE_ENUM | ||||
| SRM_ConvertVector3Type | ||||
| ( | ||||
| const | SE_CONVERT_COORD_SYSTEM_PAIR | convert_params_ptr, | (notes) | |
| const | SE_COORD | * | conversion_location_src_ptr, | (notes) |
| const | SE_VECTOR_3_TYPE | * | source_vec_ptr, | (notes) |
| SE_VECTOR_3_TYPE | * | dest_vec_ptr | (notes) | |
| ); | ||||
the spatial reference frame (SRF) parameters of the source and destination SRFs
the "origin" of the source vector
a pointer to the incoming vector, which is to be converted
a pointer to where the converted vector will be stored. This can be the same location that source_vec_ptr points to, but it does not have to be.