import javax.media.opengl.*;
/** any object associated with a specific point in 3D space */
-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(); }
- public String toString() { return getPoint().toString(); }
+public interface HasPoint extends HasBoundingBox {
+ public Point getPoint();
}