|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Volume
An interface for 3d volumes such as spheres and boxes. Implementing classes should consider a volume as all points within and on the boundary of the volume. This implies, for instance, that two spheres overlap when the distance between their center-points is equal to or less than their combined radii. If only the shell should be considered use the VolumeShell3d interface.
| Method Summary | |
|---|---|
Volume |
clone()
Make a deep clone this volume. |
double |
getVolume()
Get the volume. |
boolean |
overlaps(Volume vol)
Determine if this volume overlaps vol. |
| Methods inherited from interface ProGAL.geom3d.Shape |
|---|
getCenter |
| Method Detail |
|---|
boolean overlaps(Volume vol)
double getVolume()
Volume clone()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||