Field Summary |
protected double |
x
|
protected double |
y
|
protected double |
z
|
Constructor Summary |
Point()
|
Point(double x,
double y,
double z)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
x
protected double x
y
protected double y
z
protected double z
Point
public Point()
Point
public Point(double x,
double y,
double z)
getX
public double getX()
- Returns:
- Returns the x.
setX
public void setX(double x)
- Parameters:
x
- The x to set.
getY
public double getY()
- Returns:
- Returns the y.
setY
public void setY(double y)
- Parameters:
y
- The y to set.
getZ
public double getZ()
- Returns:
- Returns the z.
setZ
public void setZ(double z)
- Parameters:
z
- The z to set.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object