|
SRM Reference Manual
Functions SRM ConvertMatrix3x3 |
|---|
| extern SRM_Status_Code | ||||
| SRM_ConvertMatrix3x3 | ||||
| ( | ||||
| const | SRM_SRF_Parameters_Pair | convert_params_ptr, | (notes) | |
| const | SRM_Coordinate | * | source_coord_ptr, | (notes) |
| const | SRM_Matrix_3x3 | * | source_3x3_ptr, | (notes) |
| SRM_Matrix_3x3 | * | dest_3x3_ptr | (notes) | |
| ); | ||||
Assumptions:
The caller wishes to convert the source matrix from SRF1 into a different spatial reference frame SRF2, where the transformation from SRF1 to SRF2 is specified by convert_params_ptr.
| SRM_STAT_CODE_SUCCESS | and *dest_3x3_ptr is set to appropriately, if valid parameters were passed in. |
| SRM_STAT_CODE_INVALID_SRF_PAIR | and no changes are made, if convert_params_ptr was NULL. |
| SRM_STAT_CODE_INVALID_SOURCE_MATRIX | and no changes are made, if source_3x3_ptr was NULL. |
| SRM_STAT_CODE_INVALID_SOURCE_COORD | and no changes are made, if source_coord_ptr is NULL and is required. |
| SRM_STAT_CODE_INVALID_DEST_MATRIX | and no changes are made, if dest_3x3_ptr is NULL. |
the spatial reference frame (SRF) parameters of the
source and destination SRFs
the "origin" of the source matrix
a pointer to the incoming matrix, which is to be
converted
a pointer to where the converted matrix will be
stored. This can be the same location that source_3x3_ptr
points to, but it does not have to be.
Prev: SRM_ConvergenceOfMeridian.
Next: SRM_ConvertVector3D.
Up:Index.
|