public class VectorPoint3D extends Point3D
Constructor and Description |
---|
VectorPoint3D(double x,
double y,
double z,
double... vector)
Creates a new VectorPoint3D at coordinates (x, y, z).
|
VectorPoint3D(double x,
double y,
double z,
SimpleVector vector)
Creates a new VectorPoint3D at coordinates (x, y, z).
|
VectorPoint3D(PointND point,
double... vector)
Creates a new VectorPoint3D at point.
|
VectorPoint3D(PointND point,
SimpleVector vector)
Creates a new VectorPoint3D at point.
|
Modifier and Type | Method and Description |
---|---|
SimpleVector |
getVector() |
void |
setVector(SimpleVector vector) |
getX, getY, getZ, setX, setY, setZ
applyTransform, clone, equals, euclideanDistance, get, getAbstractVector, getCoordinates, getDimension, set, setCoordinates, toString, updateIfHigher, updateIfLower
public VectorPoint3D(double x, double y, double z, double... vector)
x
- the x coordinatey
- the y coordinatez
- the z coordinatevector
- the vector as list of double valuespublic VectorPoint3D(double x, double y, double z, SimpleVector vector)
x
- the x coordinatey
- the y coordinatez
- the z coordinatevector
- the vector as SimpleVectorpublic VectorPoint3D(PointND point, SimpleVector vector)
point
- the pointvector
- the vector as SimpleVectorpublic VectorPoint3D(PointND point, double... vector)
point
- the pointvector
- the vector as list of double valuespublic SimpleVector getVector()
public void setVector(SimpleVector vector)
vector
- the vector to set