Class Parallelipipede
java.lang.Object
|
+--java.util.Observable
|
+--Parallelipipede
- public class Parallelipipede
- extends java.util.Observable
- implements Volume
Methods inherited from class java.util.Observable |
addObserver,
clearChanged,
countObservers,
deleteObserver,
deleteObservers,
hasChanged,
notifyObservers,
notifyObservers,
setChanged |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Parallelipipede
public Parallelipipede()
Parallelipipede
public Parallelipipede(int x,
int y,
int z)
Parallelipipede
public Parallelipipede(Point3D p)
getVolume
public java.lang.Integer getVolume()
- Specified by:
- getVolume in interface Volume
getSurface
public java.lang.Integer getSurface(char axe)
- Specified by:
- getSurface in interface Volume
setEtat
public void setEtat(int x,
int y,
int z)
setX
public void setX(int x)
setY
public void setY(int y)
setZ
public void setZ(int z)