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

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

Transforms the geographic point into an equivalent design point. 

 

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