Vector3 class

A vector in three-dimensional space.

Constructors

Vector3(double x, double y, double z)
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
length → double
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
unit → Vector3
Unit vector in the same direction.
no setter
x → double
final
y → double
final
z → double
final

Methods

cross(Vector3 o) → Vector3
Cross product.
dot(Vector3 o) → double
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rotateX(double angle) → Vector3
Rotation of the coordinate frame by angle (radians) about the x axis – the R₁ matrix of the IERS Conventions (2010), chapter 5.
rotateZ(double angle) → Vector3
Rotation of the coordinate frame by angle about the z axis (R₃).
toString() → String
A string representation of this object.
override

Operators

operator *(double k) → Vector3
operator +(Vector3 o) → Vector3
operator -(Vector3 o) → Vector3
operator ==(Object other) → bool
The equality operator.
inherited