|
deegree 2.2 (2008/12/22 11:33 build-3038-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree.io.rtree.HyperPoint
public class HyperPoint
Point in multidimensional space. Based on double coordinates.
Constructor Summary | |
---|---|
HyperPoint(double[] coords)
Constructor. |
Method Summary | |
---|---|
protected Object |
clone()
Implements clone. |
boolean |
equals(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. |
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 String toString()
toString
in class Object
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
protected Object clone()
clone
in class Object
Object.clone()
|
deegree 2.2 (2008/12/22 11:33 build-3038-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://deegree.sourceforge.net