package edu.berkeley.qfat.geom;
import javax.media.opengl.*;
-/** point in 3-space; immutable */
-public abstract class HasPoint implements HasBoundingBox {
- public abstract Point getPoint();
- public float getMaxX() { return getPoint().getMaxX(); }
- public float getMinX() { return getPoint().getMinX(); }
- public float getMaxY() { return getPoint().getMaxY(); }
- public float getMinY() { return getPoint().getMinY(); }
- public float getMaxZ() { return getPoint().getMaxZ(); }
- public float getMinZ() { return getPoint().getMinZ(); }
+/** any object associated with a specific point in 3D space */
+public interface HasPoint extends HasBoundingBox {
+ public Point getPoint();
}