Vector class

Constructors

Vector.new(double x, double y, double z)
Vector.fromString(String s)

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
x double
getter/setter pair
y double
getter/setter pair
z double
getter/setter pair

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