public class Point3D extends PointND
Constructor and Description |
---|
Point3D(double... coordinates)
Creates a new 3D Point from a list of coordinates.
|
Point3D(PointND point)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
getX()
returns the x coordinate
|
double |
getY()
returns the y coordinate
|
double |
getZ()
returns the z coordinate
|
void |
setX(double x)
sets the x coordinate
|
void |
setY(double y)
sets the y coordinate
|
void |
setZ(double z)
sets the z coordinate
|
applyTransform, clone, equals, euclideanDistance, get, getAbstractVector, getCoordinates, getDimension, set, setCoordinates, toString, updateIfHigher, updateIfLower
public Point3D(double... coordinates)
coordinates
- public Point3D(PointND point)
point
- public double getX()
public double getY()
public double getZ()
public void setX(double x)
x
- coordinatepublic void setY(double y)
y
- coordinatepublic void setZ(double z)
z
- coordinate