BezierCurve.CalculateLength 方法

定义

重载

CalculateLength(Single)

计算此贝塞尔曲线的长度。

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

CalculateLength(Single)

计算此贝塞尔曲线的长度。

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

参数

precision
Single

精度。

返回

曲线的长度。

注解

当值变小时, precision 精度会变得更好。

适用于

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

参数

points
IList<Vector2>
precision
Single

返回

适用于

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

参数

points
IList<Vector2>
precision
Single
parallel
Single

返回

适用于