Vector3D class
Constructors
- Vector3D(double x, double y, double _z)
- Vector3D.of(Coordinate v)
- Vector3D.of2(Coordinate from, Coordinate to)
Properties
Methods
-
add(
Vector3D v) → Vector3D -
divide(
double d) → Vector3D -
dot(
Vector3D v) → double -
getX(
) → double -
getY(
) → double -
getZ(
) → double -
length(
) → double -
normalize(
) → Vector3D -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
subtract(
Vector3D v) → Vector3D -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
create(
Coordinate coord) → Vector3D -
create2(
double x, double y, double z) → Vector3D -
dot2(
Coordinate A, Coordinate B, Coordinate C, Coordinate D) → double -
dot3(
Coordinate v1, Coordinate v2) → double -
length2(
Coordinate v) → double -
normalize2(
Coordinate v) → Coordinate