Function Name: Convergence Of Meridian

Definition

In general, a vector in a projected coordinate system must be rotated to account for the fact that meridians in such spatial reference frames are curved, and usually do not align with true north. More precisely, the rotation angle for transforming vectors must be determined. This angle is called the Convergence Of The Meridian (COM) in Geodesy.

Returns

SE_COORD_SUCCESS - and *dest_cosine_gamma, *dest_sine_gamma are set to the appropriate values, if valid parameters were passed in.

SE_COORD_INVALID_SRF_PAIR - if convert_params_ptr was NULL.

SE_COORD_INVALID_SOURCE_COORD - if source_coord_ptr is NULL and is required

SE_COORD_INVALID_DEST_COSINE_GAMMA -- if dest_cosine_gamma is NULL

SE_COORD_INVALID_DEST_SINE_GAMMA -- if dest_sine_gamma is NULL

_COORD_FAILURE - if an error condition not covered by the above occurred.

Prototype


extern SE_COORD_STATUS_CODE_ENUM
SRM_ConvergenceOfMeridian
(
constSE_CONVERT_COORD_SYSTEM_PAIR convert_params_ptr, (notes)
constSE_COORD *source_coord_ptr,
SE_FLOAT64 *dest_cosine_gamma, (notes)
SE_FLOAT64 *dest_sine_gamma (notes)
);

Parameters Notes

convert_params_ptr

 the spatial reference frame (SRF) parameters of the source and
 destination SRFs

dest_cosine_gamma

 a pointer to where the cosine of gamma will be stored

dest_sine_gamma

 a pointer to where the sine of gamma will be stored

Prev: Check Coordinate In SRF. Next: Convert Color To Given Model. Up:Index.