Compartilhar via


BezierCurve.CalculateLength Método

Definição

Sobrecargas

CalculateLength(Single)

Calcula o comprimento dessa curva de bézier.

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

CalculateLength(Single)

Calcula o comprimento dessa curva de bézier.

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

Parâmetros

precision
Single

A precisão.

Retornos

Comprimento da curva.

Comentários

A precisão fica melhor à medida que o precision valor fica menor.

Aplica-se a

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

Parâmetros

points
IList<Vector2>
precision
Single

Retornos

Aplica-se a

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

Parâmetros

points
IList<Vector2>
precision
Single
parallel
Single

Retornos

Aplica-se a