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

Returns the curve fit tangent direction for this Vertex (DXF 50).

This is the angle between the OdDb2dPolyline OCS X-axis and the tangent direction. 

All angles are expressed in radians.

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