| 
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.io.rtree.HyperBoundingBox
public class HyperBoundingBox
HyperBoundingBox implementing a bounding box object in the multidimensional space.
| Constructor Summary | |
|---|---|
HyperBoundingBox(HyperPoint pMin,
                                 HyperPoint pMax)
Constructor.  | 
|
| Method Summary | |
|---|---|
protected  Object | 
clone()
Deep copy.  | 
 boolean | 
contains(HyperBoundingBox box)
Tests if this contains the given HyperBoundingBox overlaps.  | 
 boolean | 
equals(Object obj)
Implements equals  | 
 double | 
getArea()
Computes the area (over all dimension) of this.  | 
 int | 
getDimension()
Returns the dimension of this HyperBoundingBox.  | 
protected static HyperBoundingBox | 
getNullHyperBoundingBox(int dimension)
Creates a null HyperBoundingBox with null HyperPoints.  | 
 HyperPoint | 
getPMax()
Returns the maximum HyperPoint  | 
 HyperPoint | 
getPMin()
Returns the minimum HyperPoint  | 
 double | 
minDist(HyperPoint point)
Computes the minimal distance square of this to the given HyperPoint.  | 
 boolean | 
overlaps(HyperBoundingBox box)
Tests if this and the given HyperBoundingBox overlaps.  | 
 String | 
toString()
Builds a String representation of the HyperBoundingBox.  | 
 HyperBoundingBox | 
unionBoundingBox(HyperBoundingBox box)
Computes the union of this with the given HyperBoundingBox.  | 
| Methods inherited from class java.lang.Object | 
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public HyperBoundingBox(HyperPoint pMin,
                        HyperPoint pMax)
pMin - -
            min pointpMax - -
            max point| Method Detail | 
|---|
protected static HyperBoundingBox getNullHyperBoundingBox(int dimension)
dimension - -
            int for dimension of point
public HyperPoint getPMin()
public HyperPoint getPMax()
public int getDimension()
public boolean overlaps(HyperBoundingBox box)
box - -
            HyperBoundingBox to test
public boolean contains(HyperBoundingBox box)
box - -
            HyperBoundingBox to test
public double getArea()
public HyperBoundingBox unionBoundingBox(HyperBoundingBox box)
box - -
            given HyperBoundingBox
public double minDist(HyperPoint point)
point - -
            HyperPoint
protected Object clone()
clone in class ObjectObject.clone()public String toString()
toString in class Objectpublic boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)
  | 
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
                    For more information visit: http://www.deegree.org