Vector3dVectorAngle Method (Vector3d, Vector3d, Plane) |
Computes the angle on a plane between two vectors.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax public static double VectorAngle(
Vector3d a,
Vector3d b,
Plane plane
)
Public Shared Function VectorAngle (
a As Vector3d,
b As Vector3d,
plane As Plane
) As Double
Parameters
- a
- Type: Rhino.GeometryVector3d
First vector. - b
- Type: Rhino.GeometryVector3d
Second vector. - plane
- Type: Rhino.GeometryPlane
Two-dimensional plane on which to perform the angle measurement.
Return Value
Type:
DoubleOn success, the angle (in radians) between a and b as projected onto the plane; RhinoMath.UnsetValue on failure.
See Also