RhinoCommon API
QuaternionCrossProduct Method |
Computes the vector cross product of p and q = (0,x,y,z),
where (x,y,z) = CrossProduct(p.Vector,q.Vector).
This is not the same as the quaternion product p*q.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)

public static Quaternion CrossProduct( Quaternion p, Quaternion q )
Public Shared Function CrossProduct ( p As Quaternion, q As Quaternion ) As Quaternion
Parameters
- p
- Type: Rhino.GeometryQuaternion
A quaternion. - q
- Type: Rhino.GeometryQuaternion
Another quaternion.
Return Value
Type: QuaternionA new quaternion.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.8