17 #if !defined(ON_QUATERNION_INC_) 18 #define ON_QUATERNION_INC_ 42 void Set(
double qa,
double qb,
double qc,
double qd);
98 double Length()
const;
104 double LengthSquared()
const;
163 void SetRotation(
double angle,
const ON_3dVector& axis);
219 bool GetRotation(
double& angle,
ON_3dVector& axis)
const;
237 bool GetRotation(
ON_Xform& xform)
const;
246 bool GetRotation(
ON_Plane& plane)
const;
280 double Scalar()
const;
292 bool IsNotZero()
const;
298 bool IsScalar()
const;
304 bool IsVector()
const;
ON_Quaternion()
Definition: opennurbs_quaternion.h:32
static const ON_Quaternion J
Definition: opennurbs_quaternion.h:29
static const ON_Quaternion Identity
Definition: opennurbs_quaternion.h:27
static const ON_Quaternion Zero
Definition: opennurbs_quaternion.h:26
Definition: opennurbs_quaternion.h:20
static const ON_Quaternion I
Definition: opennurbs_quaternion.h:28
static const ON_Quaternion K
Definition: opennurbs_quaternion.h:30
double d
Definition: opennurbs_quaternion.h:24
Definition: opennurbs_plane.h:20
Definition: opennurbs_point.h:1152