M_Rhino_Geometry_Vector3d_VectorAngle_2 - mcneel/rhinocommon-api-docs GitHub Wiki
Computes the angle of v1, v2 with a normal vector.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public static double VectorAngle(
Vector3d v1,
Vector3d v2,
Vector3d vNormal
)
VB
Public Shared Function VectorAngle (
v1 As Vector3d,
v2 As Vector3d,
vNormal As Vector3d
) As Double
- v1
- Type: Rhino.Geometry.Vector3d
First vector. - v2
- Type: Rhino.Geometry.Vector3d
Second vector. - vNormal
- Type: Rhino.Geometry.Vector3d
Normal vector.
Type: Double
On success, the angle (in radians) between a and b with respect of normal vector; RhinoMath.UnsetValue on failure.
Supported in: 6.0.16224.21491
Vector3d Structure
VectorAngle Overload
Rhino.Geometry Namespace