Direction class
Represents a direction in 3D space.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- heading → double
-
NOT YET IMPLEMENTED: The heading angle of the Frame in degrees. Always returns 0 for now.
final
- pitch → double
-
The pitch angle of the Frame in degrees.
final
- roll → double
-
The roll angle of the Frame in degrees.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
amplitude(
) → double - Calculates the amplitude of the Direction vector.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator +(
Direction other) → Direction - Adds two Direction objects.
-
operator -(
Direction other) → Direction - Subtracts one Direction object from another.
-
operator ==(
Object other) → bool -
The equality operator.
inherited