M_Rhino_Geometry_Vector3d_VectorAngle_1 - mcneel/rhinocommon-api-docs GitHub Wiki
Computes the angle on a plane between two vectors.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
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
- 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.
Type: Double
On success, the angle (in radians) between a and b as projected onto the plane; RhinoMath.UnsetValue on failure.
Supported in: 6.0.16224.21491, 5D58w
Vector3d Structure
VectorAngle Overload
Rhino.Geometry Namespace