rendered3D
Class Object3D.RotateablePoint3D
java.lang.Object
rendered3D.Object3D.RotateablePoint3D
- All Implemented Interfaces:
- Point3D
- Enclosing class:
- Object3D
public static class Object3D.RotateablePoint3D
- extends java.lang.Object
- implements Point3D
|
Field Summary |
double |
x
|
double |
y
|
double |
z
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
x
public double x
y
public double y
z
public double z
Object3D.RotateablePoint3D
public Object3D.RotateablePoint3D(double X,
double Y,
double Z)
- Parameters:
X - Y - Z -
Object3D.RotateablePoint3D
public Object3D.RotateablePoint3D(java.util.StringTokenizer k)
- Parameters:
k -
Object3D.RotateablePoint3D
public Object3D.RotateablePoint3D(Point3D p)
- Parameters:
p -
clone2
public Point3D clone2()
- Specified by:
clone2 in interface Point3D
- Returns:
getx
public double getx()
- Specified by:
getx in interface Point3D
- Returns:
gety
public double gety()
- Specified by:
gety in interface Point3D
- Returns:
getz
public double getz()
- Specified by:
getz in interface Point3D
- Returns:
setx
public void setx(double n)
- Parameters:
n -
sety
public void sety(double n)
- Parameters:
n -
setz
public void setz(double n)
- Parameters:
n -
toString
public java.lang.String toString()
- Specified by:
toString in interface Point3D- Overrides:
toString in class java.lang.Object
- Returns: