M_Rhino_Geometry_Vector3d_VectorAngle - mcneel/rhinocommon-api-docs GitHub Wiki
Compute the angle between two vectors. This operation is commutative.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public static double VectorAngle(
Vector3d a,
Vector3d b
)
VB
Public Shared Function VectorAngle (
a As Vector3d,
b As Vector3d
) As Double
- a
- Type: Rhino.Geometry.Vector3d
First vector for angle. - b
- Type: Rhino.Geometry.Vector3d
Second vector for angle.
Type: Double
If the input is valid, the angle (in radians) between a and b; RhinoMath.UnsetValue otherwise.
Supported in: 6.0.16224.21491, 5D58w
Vector3d Structure
VectorAngle Overload
Rhino.Geometry Namespace