API Reference > OdDb Classes > OdDbGeoData Class > OdDbGeoData Methods > transformToLonLatAlt Method > OdDbGeoData::transformToLonLatAlt Method (double, double, double, double&, double&, double&)
OdDbGeoData::transformToLonLatAlt Method (double, double, double, double&, double&, double&)
Syntax
C++
OdResult transformToLonLatAlt(double x, double y, double z, double& lon, double& lat, double& alt) const;
Parameters 
Description 
double x 
[in] X ordinate of the design point.  
double y 
[in] Y ordinate of the design point.  
double z 
[in] Z ordinate of the design point.  
double& lon 
[out] Longitude ordinate of the transformed point.  
double& lat 
[out] Latitude ordinate of the transformed point.  
double& alt 
[out] Altitude (elevation) ordinate of the transformed point.
 

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

Transforms the design point into an equivalent geographic point. 

 

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