M_Rhino_Geometry_Vector3d_VectorAngle - mcneel/rhinocommon-api-docs GitHub Wiki

Vector3d.VectorAngle Method (Vector3d, Vector3d)

Compute the angle between two vectors. This operation is commutative.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public static double VectorAngle(
	Vector3d a,
	Vector3d b
)

VB

Public Shared Function VectorAngle ( 
	a As Vector3d,
	b As Vector3d
) As Double

Parameters

 

a
Type: Rhino.Geometry.Vector3d
First vector for angle.
b
Type: Rhino.Geometry.Vector3d
Second vector for angle.

Return Value

Type: Double
If the input is valid, the angle (in radians) between a and b; RhinoMath.UnsetValue otherwise.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Vector3d Structure
VectorAngle Overload
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️