M_Rhino_Geometry_Quaternion_CrossProduct - mcneel/rhinocommon-api-docs GitHub Wiki
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) Version: Rhino 6.0
C#
public static Quaternion CrossProduct(
Quaternion p,
Quaternion q
)
VB
Public Shared Function CrossProduct (
p As Quaternion,
q As Quaternion
) As Quaternion
- p
- Type: Rhino.Geometry.Quaternion
A quaternion. - q
- Type: Rhino.Geometry.Quaternion
Another quaternion.
Type: Quaternion
A new quaternion.
Supported in: 6.0.16224.21491, 5D58w