FromGreenwich Method

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

 

Description

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

 

Example

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

{

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

{

AfxMessageBox("FromGreenwich failed");

}

}