API Reference > OdDb Classes > OdDbGeoData Class > OdDbGeoData Methods > transformFromLonLatAlt Method > OdDbGeoData::transformFromLonLatAlt Method (OdGePoint3d&, OdGePoint3d&)
OdDbGeoData::transformFromLonLatAlt Method (OdGePoint3d&, OdGePoint3d&)
Syntax
C++
OdResult transformFromLonLatAlt(const OdGePoint3d& geoPt, OdGePoint3d& dwgPt) const;
Parameters 
Description 
const OdGePoint3d& geoPt 
[in] Geographic point to be transformed.  
OdGePoint3d& dwgPt 
[out] Transformed equivalent in design coordinates.
 

Returns eOK if successful, or an appropriate error code if not.

Transforms the geographic point into an equivalent design point. 

 

Longitude ordinate is transformed in the X member of the OdGePoint3d object, latitude ordinate is transformed in the Y member of the OdGePoint3d object and the elevation (altitude) is transformed in the Z member of the OdGePoint3d object.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.