API Reference > OdDb Classes > OdDbGeoCoordinateSystem Class > OdDbGeoCoordinateSystem Methods > getUnit Method > OdDbGeoCoordinateSystem::getUnit Method (OdDb::UnitsValue&)
OdDbGeoCoordinateSystem::getUnit Method (OdDb::UnitsValue&)
Syntax
C++
virtual OdResult getUnit(OdDb::UnitsValue& unit) const = 0;
Parameters 
Description 
OdDb::UnitsValue& 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. 

 

All axis contains the same unit.

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