- All Superinterfaces:
- Shape
- All Known Implementing Classes:
- Cone, CTetrahedron, Cylinder, Lens, LSS, OBB, RSS, Sphere, Tetr, Tetrahedron
public interface Volume
extends Shape
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 then subclasses with adequate overriding methods should
be created.