Method GetSegmentTangent
GetSegmentTangent(ElementItemId, double)
Gets the tangent of a segment at a specified parametric value.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 7, 0, 0)]
Direction2D GetSegmentTangent(ElementItemId inSegmentId, double inT)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementItemId | inSegmentId | Identifier of the segment to analyze. |
| double | inT | Parameter within segment parametric range. |
Returns
| Type | Description |
|---|---|
| Direction2D | Tangent to the segment at the specified parametric value. |
Remarks
If the segment is reversed, the orientation of the tangent is the opposite to the parametric first derivative.
This method is available since v7.7.