Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbGeoData::transformToLonLatAlt Method (const OdGePoint3d&, OdGePoint3d&)
Syntax
C++
OdResult transformToLonLatAlt(const OdGePoint3d& dwgPt, OdGePoint3d& geoPt) const;

Transforms the design point into an equivalent geographic point. 

 

Parameters
Description
dwgPt
[in] Point, in design coordinates, to be transformed.
geoPt
[out] Geographic equivalent of the dwgPt.

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

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-2022. Open Design Alliance All rights reserved.