public class CartVelocity extends VelocityVector
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 |
---|
CartVelocity() |
CartVelocity(double vX,
double vY,
double vZ) |
CartVelocity(Vector3 vec) |
Modifier and Type | Method and Description |
---|---|
double |
getVX() |
double |
getVY() |
double |
getVZ() |
void |
setVX(double vX) |
void |
setVY(double vY) |
void |
setVZ(double vZ) |
add, add, cross, dot, equals, get, hashCode, norm, normSqr, readExternal, scale, scale, set, set, set, sub, sub, toString, toVector4, writeExternal
public CartVelocity()
public CartVelocity(double vX, double vY, double vZ)
public CartVelocity(Vector3 vec)