WRAPPER_API void ToCartesian(const GeodeticPoint& start, CartesianPoint& end) const;
Description
This method is used to convert a point defined in Ellipsoidal coordinate space (Latitude, longitude, and optionally height) into an ellipsoid centered Cartesian Coordinates (X,Y,Z)
Example
void Ellipsoid_ToCartesian()
{
Ellipsoid *el = m_DataSource->GetEllipsoid(L"EPSG",L"7030");
GeodeticPoint *geoPt = new GeodeticPoint(50,50);
CartesianPoint *cartPt = new CartesianPoint();
el->ToCartesian(*geoPt,*cartPt);
}
Comments
0 comments
Please sign in to leave a comment.