API Reference > OdDb Classes > OdDbGeoData Class > OdDbGeoData Methods > OdDbGeoData::setCoordinateType Method
OdDbGeoData::setCoordinateType Method
Syntax
C++
OdResult setCoordinateType(TypeOfCoordinates designCoordinateType);
Parameters 
Description 
TypeOfCoordinates designCoordinateType 
[in] Type of coordinates for setting. 

Sets the type of design coordinates. 

 

The designCoordinateType can be one of the following:

  • kCoordTypUnknown
  • kCoordTypLocal
  • kCoordTypGrid
  • kCoordTypGeographic The current implementation supports only kCoordTypGrid and kCoordTypGeographic types and recalculates coordinates correctly only if the Unit of the drawing is set to meter.
Copyright © 2002–2020. Open Design Alliance. All rights reserved.