grasshopper2 Rhinorhino3d.com
ComponentAuto-generatedTransform
Classify Quaternion
00000000-1015-40f2-8d7c-ecc6b6fd2356
object preview
This page was generated from the component’s built-in descriptions. An in-depth article has not been written for it yet.

Classify a quaternion by its properties.

Input parameters:

  1. Q → Quaternion to classify.

Output parameters:

  1. Vl → If true, the quaternion is valid.
  2. Zr → If true, all coefficients equal zero.
  3. Sc → If true, the scalar coefficient is non-zero, while all vector coefficients equal zero.
  4. Vc → If true, at least one of the vector coefficients is not zero.
  5. Un → If true, the quaternion has unit length.