API Reference > OdDb Classes > OdDb2dVertex Class > OdDb2dVertex Methods > OdDb2dVertex::position Method
OdDb2dVertex::position Method
Syntax
C++
OdGePoint3d position() const;

Returns the OdDb2dPolyline OCS position of this entity (DXF 10).

Each OdDb2dPolyline is described a series of OCS OdDb2dVertices and an elevation. 

While Z coordinates are set and retrieved by setPosition() and position() respectively, they are ignored by the Polyline. 

The elevation of the Polyline can be changed only with OdDb2dPolyline::setElevation().

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