DVQuat class final

A rotation, as a unit quaternion.

Constructors

DVQuat(double x, double y, double z, double w)
const
DVQuat.axisAngle(DVVec3 axis, double radians)
A rotation of radians about axis, counter-clockwise looking down the axis toward the origin (the right-hand rule).
factory

Properties

hashCode → int
The hash code for this object.
no setteroverride
isFinite → bool
no setter
length → double
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
w → double
final
x → double
final
y → double
final
z → double
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rotate(DVVec3 v) → DVVec3
v rotated by this quaternion.
toList() → List<double>
toString() → String
A string representation of this object.
override

Operators

operator *(DVQuat other) → DVQuat
The Hamilton product: this rotation applied after other.
operator ==(Object other) → bool
The equality operator.
override

Constants

identity → const DVQuat