API Reference > FacetModeler Namespace > Classes > Contour2D Class > Contour2D Methods > Contour2D::getTangentAtDist Method
Contour2D::getTangentAtDist Method
Syntax
C++
Result getTangentAtDist(double dDist, OdGeVector2d& vTangent) const;
Parameters 
Description 
double dDist 
[in] Distance.  
OdGeVector2d& vTangent 
[out] Resulting tangent vector as OdGeVector2d.  

eOk if the tangent is calculated, or a corresponding result state otherwise.

Gets a tangent at the distance along the contour starting from the start point. 

 

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