Vector class
Constructors
- Vector.new(double x, double y, double z)
- Vector.fromString(String s)
Properties
Methods
-
add(
Vector other) → Vector -
cross(
Vector other) → Vector -
divide(
double value) → Vector -
dot(
Vector other) → double -
greaterThan(
Vector other) → bool -
greaterThanOrEqual(
Vector other) → bool -
lessThan(
Vector other) → bool -
lessThanOrEqual(
Vector other) → bool -
multiply(
double value) → Vector -
negate(
) → Vector -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
subtract(
Vector other) → Vector -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Properties
- ZERO_VECTOR → Vector
-
final
Constants
- equalityTolerance → const double