Quaternion.CrossProduct Method

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)
Syntax
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: Quaternion
A new quaternion.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also