API Reference > OdDb Classes > OdDbGeoCoordinateSystem Class > OdDbGeoCoordinateSystem Methods > getUnit Method > OdDbGeoCoordinateSystem::getUnit Method (OdDbGeoCoordinateSystem::Unit&)
OdDbGeoCoordinateSystem::getUnit Method (OdDbGeoCoordinateSystem::Unit&)
Syntax
C++
virtual OdResult getUnit(OdDbGeoCoordinateSystem::Unit& unit) const = 0;
Parameters 
Description 
OdDbGeoCoordinateSystem::Unit& unit 
[out] Unit value.
 

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

Returns the unit of the coordinate system axis of this CRS. 

 

Each axis contains the same unit.

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