API Reference > FacetModeler Namespace > Classes > Contour2D Class > Contour2D Methods > Contour2D::getTangent Method
Contour2D::getTangent Method
Syntax
C++
Result getTangent(double dParam, OdGeVector2d& vTangent) const;
Parameters 
Description 
double dParam 
[in] Parameter to calculate the tangent at.  
OdGeVector2d& vTangent 
[out] Resulting tangent vector as OdGeVector2d.  

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

Gets a tangent to the contour at the specified parameter. 

 

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