API Reference > FacetModeler Namespace > Classes > Segment2D Class > Segment2D Methods > Segment2D::getTangent Method
Segment2D::getTangent Method
Syntax
C++
Result getTangent(double dParam, OdGeVector2d& vTangent) const;
Parameters 
Description 
double dParam 
[in] Parameter for calculation.  
OdGeVector2d& vTangent 
[out] Calculated tangent as OdGeVector2d.  

eOk if the tangent calculated successfully, or a corresponding error type otherwise.

Gets the tangent vector at the specified parameter. 

 

Point parameter in the range [ 0, 1 ].

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