public class Point3D
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
float |
x
x coordinate.
|
float |
y
y coordinate.
|
float |
z
z coordinate.
|
Constructor and Description |
---|
Point3D()
Constructor for the Point3D object
|
Point3D(float x,
float y,
float z)
Constructor for the Point3D object
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
Returns a string representing Point3D coordinates: (x,y,z).
|
public float x
public float y
public float z