PolyLine3Tangent Method
returns the tangent of the segment of given index.
if the segment has zero length the next segment is chosen.
Namespace: Karamba.GeometryAssembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
public Vector3 Tangent(
int segmentIndex,
double tolerance = 1E-20
)
Public Function Tangent (
segmentIndex As Integer,
Optional tolerance As Double = 1E-20
) As Vector3
public:
Vector3 Tangent(
int segmentIndex,
double tolerance = 1E-20
)
member Tangent :
segmentIndex : int *
?tolerance : float
(* Defaults:
let _tolerance = defaultArg tolerance 1E-20
*)
-> Vector3
- segmentIndex Int32
- Index of the segment where the tangent is to be computed.
- tolerance Double (Optional)
- Tolerance for checking whether a segment has zero length.
Vector3Vector in the direction of the polyline segment.