public class CartLocation extends LocationVector
A location vector in a Cartesian coordinate system.
This class and all it subclasses are mutable, therefore it should only be used to hold intermediate results, and never shared among threads.Constructor and Description |
---|
CartLocation() |
CartLocation(double x,
double y,
double z) |
CartLocation(Vector3 vec) |
Modifier and Type | Method and Description |
---|---|
double |
getX() |
double |
getY() |
double |
getZ() |
void |
setX(double x) |
void |
setY(double y) |
void |
setZ(double z) |
toVector4
add, add, cross, dot, equals, get, hashCode, norm, normSqr, readExternal, scale, scale, set, set, set, sub, sub, toString, writeExternal
public CartLocation()
public CartLocation(double x, double y, double z)
public CartLocation(Vector3 vec)