Description:

Computes the angle on a plane between two vectors.

Syntax:
public static double VectorAngle(
Vector3d a,
Vector3d b,
Plane plane
)
Parameters:
  • plane
  • Type: Plane
  • Two-dimensional plane on which to perform the angle measurement.
Returns:
Type: double
On success, the angle (in radians) between a and b as projected onto the plane; RhinoMath.UnsetValue on failure.
Available since:
5.0

Description:

Compute the angle between two vectors. This operation is commutative.

Syntax:
public static double VectorAngle(
Vector3d a,
Vector3d b
)
Parameters:
Returns:
Type: double
If the input is valid, the angle (in radians) between a and b; RhinoMath.UnsetValue otherwise.
Available since:
5.0

Description:

Computes the angle of v1, v2 with a normal vector.

Syntax:
public static double VectorAngle(
Vector3d v1,
Vector3d v2,
Vector3d vNormal
)
Parameters:
Returns:
Type: double
On success, the angle (in radians) between a and b with respect of normal vector; RhinoMath.UnsetValue on failure.
Available since:
6.0

VectorAngle method

Class:  Rhino.Geometry.Vector3d

Nothing found