public final class Point3D extends Object
Represent point with fractional coordinates.
| Constructor and Description |
|---|
Point3D(double x,
double y,
double z)
Initializes new instance of the
Point3D. |
| Modifier and Type | Method and Description |
|---|---|
static Point3D |
getTrivial()
Gets point with zero coordinates.
|
double |
getX()
X coordinate value.
|
double |
getY()
Y coordinate value.
|
double |
getZ()
Z coordinate value.
|
void |
setX(double value)
X coordinate value.
|
void |
setY(double value)
Y coordinate value.
|
void |
setZ(double value)
Z coordinate value.
|
String |
toString()
Returns the string representation of the object.
|
public Point3D(double x,
double y,
double z)
Initializes new instance of the Point3D.
x - x coordinate value.y - y coordinate value.z - z coordinate value.public double getX()
X coordinate value.
public void setX(double value)
X coordinate value.
value - double valuepublic double getY()
Y coordinate value.
public void setY(double value)
Y coordinate value.
value - double valuepublic double getZ()
Z coordinate value.
public void setZ(double value)
Z coordinate value.
value - double valuepublic static Point3D getTrivial()
Gets point with zero coordinates.
Copyright © 2025 Aspose. All Rights Reserved.