Vector class
Properties
Methods
-
angle(
Vector vec) → double - Calculate the angle between this vector and another
-
dot(
Vector vec) → double - Return the dot product
-
magnitude(
) → double -
mul(
double factor) → void - Multiply each component in the vector by 'factor'.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sub(
Vector vec) → void - Subtract a vector from this one.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited