Method SegmentLength
SegmentLength(BezierSegment, float)
Computes the length of a single curve segment.
Declaration
public static float SegmentLength(BezierSegment segment, float precision = 0.001)
Parameters
Type | Name | Description |
---|---|---|
BezierSegment | segment | The curve segment on which to evaluate the length |
float | precision | The precision of the length computation |
Returns
Type | Description |
---|---|
float | The length of the segment |