|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 java.lang.Object |
clone()
Deep copy. |
boolean |
contains(HyperBoundingBox box)
Tests if this contains the given HyperBoundingBox overlaps. |
boolean |
equals(java.lang.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. |
java.lang.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 pointMethod 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 java.lang.Object clone()
clone
in class java.lang.Object
Object.clone()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
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