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