Class Point3D
java.lang.Object
io.goobi.viewer.model.viewer.object.Point3D
Represents a point in 3D space with x, y, and z coordinates.
- Author:
- Florian Alpers
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Point3D
public Point3D(double x, double y, double z) Creates a new Point3D instance.- Parameters:
x- a double.y- a double.z- a double.
-
-
Method Details
-
getX
public double getX()Getter for the fieldx.- Returns:
- the X coordinate value
-
setX
public void setX(double x) Setter for the fieldx.- Parameters:
x- the X coordinate value
-
getY
public double getY()Getter for the fieldy.- Returns:
- the Y coordinate value
-
setY
public void setY(double y) Setter for the fieldy.- Parameters:
y- the Y coordinate value
-
getZ
public double getZ()Getter for the fieldz.- Returns:
- the Z coordinate value
-
setZ
public void setZ(double z) Setter for the fieldz.- Parameters:
z- the Z coordinate value
-