public interface ThreeD extends java.lang.Comparable<ThreeD>
Modifier and Type | Method and Description |
---|---|
double |
getDepth()
Get the depth of this ThreeD object.
|
double |
getVolume()
Get the volume of this ThreeD object.
|
void |
setDepth(double theDepth)
Set the depth of this ThreeD object.
|
double getDepth()
void setDepth(double theDepth)
theDepth
- the new depth of this ThreeD object; must be > 0.0double getVolume()