Quaternion class

Encapsulates a quaternion in the form q = w + xi + yj + zk @author Eric Tsai

Inheritance

Constructors

Quaternion(double w, double x, double y, double z)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
vector List<double>
getter/setter pairinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
w() double
Gets the value of the w component @return w component value
x() double
Gets the value of the x component @return x component value
y() double
Gets the value of the y component @return y component value
z() double
Gets the value of the z component @return z component value

Operators

operator ==(Object other) bool
The equality operator.
inherited