M_Rhino_Geometry_Vector3d_VectorAngle_1 - mcneel/rhinocommon-api-docs GitHub Wiki

Vector3d.VectorAngle Method (Vector3d, Vector3d, Plane)

Computes the angle on a plane between two vectors.

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

Syntax

C#

public static double VectorAngle(
	Vector3d a,
	Vector3d b,
	Plane plane
)

VB

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

Parameters

 

a
Type: Rhino.Geometry.Vector3d
First vector.
b
Type: Rhino.Geometry.Vector3d
Second vector.
plane
Type: Rhino.Geometry.Plane
Two-dimensional plane on which to perform the angle measurement.

Return Value

Type: Double
On success, the angle (in radians) between a and b as projected onto the plane; RhinoMath.UnsetValue on failure.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Vector3d Structure
VectorAngle Overload
Rhino.Geometry Namespace

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