|
Vector3VectorAngle Method
|
Compute the angle between two vectors.
This operation is commutative.
Namespace:
Karamba.Geometry
Assembly:
KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static double VectorAngle(
Vector3 a,
Vector3 b
)
Public Shared Function VectorAngle (
a As Vector3,
b As Vector3
) As Double
public:
static double VectorAngle(
Vector3 a,
Vector3 b
)
static member VectorAngle :
a : Vector3 *
b : Vector3 -> float
Parameters
- a
- Type: Karamba.GeometryVector3
First vector for angle. - b
- Type: Karamba.GeometryVector3
Second vector for angle.
Return Value
Type:
DoubleIf the input is valid, the angle (in radians) between a and b; RhinoMath.UnsetValue otherwise.
See Also