|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Point<Coord extends java.lang.Comparable<? super Coord>>
The Point interface represents a point in a k-dimensional space. It is used to specify point keys that index into spatial data structures.
Method Summary | |
---|---|
Coord |
getCoord(int dimension)
Returns the value of the coordinate of the given dimension. |
int |
getDimensions()
Returns the number of dimensions in the point. |
Method Detail |
---|
Coord getCoord(int dimension)
java.lang.IllegalArgumentException
- if the Point does not
support the dimension.int getDimensions()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |