public class Point
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected double |
x |
protected double |
y |
protected double |
z |
| Constructor and Description |
|---|
Point() |
Point(double x,
double y,
double z) |
public double getX()
public void setX(double x)
x - The x to set.public double getY()
public void setY(double y)
y - The y to set.public double getZ()
public void setZ(double z)
z - The z to set.public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object