API Reference > OdDb Classes > OdDbGeoDataPE Class > OdDbGeoDataPE Methods > OdDbGeoDataPE::transformToLonLatAlt Method
OdDbGeoDataPE::transformToLonLatAlt Method
Syntax
C++
virtual OdResult transformToLonLatAlt(const OdDbGeoData* pGeoData, const double& dblDwgX, const double& dblDwgY, const double& dblDwgZ, double& dblLongitude, double& dblLatitude, double& dblAltitude) = 0;
Parameters 
Description 
const OdDbGeoData* pGeoData 
[in] Pointer to an OdDbGeoData object.  
const double& dblDwgX 
[in] X ordinate of the design point.  
const double& dblDwgY 
[in] Y ordinate of the design point.  
const double& dblDwgZ 
[in] Z ordinate of the design point.  
double& dblLongitude 
[out] Longitude ordinate of the transformed point.  
double& dblLatitude 
[out] Latitude ordinate of the transformed point.  
double& dblAltitude 
[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.