add RTree classes
[anneal.git] / src / edu / berkeley / qfat / geom / HasPoint.java
1 package edu.berkeley.qfat.geom;
2 import javax.media.opengl.*;
3
4 /** point in 3-space; immutable */
5 public abstract class HasPoint implements HasBoundingBox {
6     public abstract Point getPoint();
7     public float getMaxX() { return getPoint().getMaxX(); }
8     public float getMinX() { return getPoint().getMinX(); }
9     public float getMaxY() { return getPoint().getMaxY(); }
10     public float getMinY() { return getPoint().getMinY(); }
11     public float getMaxZ() { return getPoint().getMaxZ(); }
12     public float getMinZ() { return getPoint().getMinZ(); }
13 }