Compartilhar via


Vector3d.CalculateAngle Método

Definição

Sobrecargas

CalculateAngle(Vector3d, Vector3d)

Calcula o ângulo (em radianos) entre dois vetores.

CalculateAngle(Vector3d, Vector3d, Double)

CalculateAngle(Vector3d, Vector3d)

Calcula o ângulo (em radianos) entre dois vetores.

public static double CalculateAngle (OpenTK.Vector3d first, OpenTK.Vector3d second);
static member CalculateAngle : OpenTK.Vector3d * OpenTK.Vector3d -> double

Parâmetros

first
Vector3d

O primeiro vetor.

second
Vector3d

O segundo vetor.

Retornos

Ângulo (em radianos) entre os vetores.

Comentários

Observe que o ângulo retornado nunca é maior que o Pi constante.

Aplica-se a

CalculateAngle(Vector3d, Vector3d, Double)

public static void CalculateAngle (ref OpenTK.Vector3d first, ref OpenTK.Vector3d second, out double result);
static member CalculateAngle :  *  *  -> unit

Parâmetros

first
Vector3d
second
Vector3d
result
Double

Aplica-se a