BezierCurve.CalculateLength Method

Definition

Overloads

CalculateLength(Single)

Calculates the length of this bezier curve.

CalculateLength(IList<Vector2>, Single)
CalculateLength(IList<Vector2>, Single, Single)

CalculateLength(Single)

Calculates the length of this bezier curve.

public float CalculateLength (float precision);
member this.CalculateLength : single -> single

Parameters

precision
Single

The precision.

Returns

Length of curve.

Remarks

The precision gets better as the precision value gets smaller.

Applies to

CalculateLength(IList<Vector2>, Single)

public static float CalculateLength (System.Collections.Generic.IList<OpenTK.Vector2> points, float precision);
static member CalculateLength : System.Collections.Generic.IList<OpenTK.Vector2> * single -> single

Parameters

points
IList<Vector2>
precision
Single

Returns

Applies to

CalculateLength(IList<Vector2>, Single, Single)

public static float CalculateLength (System.Collections.Generic.IList<OpenTK.Vector2> points, float precision, float parallel);
static member CalculateLength : System.Collections.Generic.IList<OpenTK.Vector2> * single * single -> single

Parameters

points
IList<Vector2>
precision
Single
parallel
Single

Returns

Applies to