ToGreenwich Method

WRAPPER_API bool ToGreenwich(const GeodeticPoint &inputPoint, GeodeticPoint &outputPoint)

 

Description

The ToGreenwich method converts a GeodeticPoint that uses this PrimeMeridian to one that uses the Greenwich Meridian.  The first argument to this method is the point to be converted, and the second argument is the point that will hold the result.  This method returns a boolean value indicating the success of the operation.

 

Example

void PrimeMeridian_ToGreenwich(GEOCALCPBW_NAMESPACE::PrimeMeridian & pm, GEOCALCPBW_NAMESPACE::GeodeticPoint & pt)

{

if(! pm.ToGreenwich(pt, pt))

{

AfxMessageBox("ToGreenwich failed");

}

}