Click or drag to resize

Vector3dVectorAngle Method (Vector3d, Vector3d, Vector3d)

Computes the angle of v1, v2 with a normal vector.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static double VectorAngle(
	Vector3d v1,
	Vector3d v2,
	Vector3d vNormal
)

Parameters

v1
Type: Rhino.GeometryVector3d
First vector.
v2
Type: Rhino.GeometryVector3d
Second vector.
vNormal
Type: Rhino.GeometryVector3d
Normal vector.

Return Value

Type: Double
On success, the angle (in radians) between a and b with respect of normal vector; RhinoMath.UnsetValue on failure.
Version Information

Rhino for Windows

Supported in: 6.1 BETA
See Also