|
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.HyperPoint
public class HyperPoint
Point in multidimensional space. Based on double coordinates.
Constructor Summary | |
---|---|
HyperPoint(double[] coords)
Constructor. |
Method Summary | |
---|---|
protected java.lang.Object |
clone()
Implements clone. |
boolean |
equals(java.lang.Object obj)
Implements equals |
double |
getCoord(int index)
Returns the coordinate for given index. |
double[] |
getCoords()
Returns the coordinates as double array. |
int |
getDimension()
Returns the dimension of the HyperPoint. |
protected static HyperPoint |
getNullHyperPoint(int dimension)
Creates a null HyperPoint with coordinates Double.NaN. |
java.lang.String |
toString()
Builds a String representation of the HyperPoint. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HyperPoint(double[] coords)
coords
- -
array with double values of the coordinates.Method Detail |
---|
protected static HyperPoint getNullHyperPoint(int dimension)
dimension
- -
int for dimension of point
public double[] getCoords()
public double getCoord(int index)
index
- -
int
public int getDimension()
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)
protected java.lang.Object clone()
clone
in class java.lang.Object
Object.clone()
|
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