|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.lmu.ifi.dbs.elki.data.spatial.PolygonsObject
public class PolygonsObject

Object representation consisting of (multiple) polygons.
| Field Summary | |
|---|---|
private Collection<Polygon> |
polygons
The polygons |
static PolygonsObject |
PROTOTYPE
Static (empty) prototype |
| Constructor Summary | |
|---|---|
PolygonsObject(Collection<Polygon> polygons)
Constructor. |
|
| Method Summary | |
|---|---|
void |
appendToBuffer(StringBuffer buf)
Append polygons to the buffer. |
int |
getDimensionality()
Returns the dimensionality of the object. |
double |
getMax(int dimension)
Returns the maximum coordinate at the specified dimension. |
double |
getMin(int dimension)
Returns the minimum coordinate at the specified dimension. |
Collection<Polygon> |
getPolygons()
Access the polygon data. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final PolygonsObject PROTOTYPE
private Collection<Polygon> polygons
| Constructor Detail |
|---|
public PolygonsObject(Collection<Polygon> polygons)
polygons - Polygons| Method Detail |
|---|
public Collection<Polygon> getPolygons()
public String toString()
toString in class Objectpublic void appendToBuffer(StringBuffer buf)
buf - Buffer to append topublic int getDimensionality()
SpatialComparable
getDimensionality in interface SpatialComparablepublic double getMin(int dimension)
SpatialComparable
getMin in interface SpatialComparabledimension - the dimension for which the coordinate should be returned,
where 1 ≤ dimension ≤ getDimensionality()
public double getMax(int dimension)
SpatialComparable
getMax in interface SpatialComparabledimension - the dimension for which the coordinate should be returned,
where 1 ≤ dimension ≤ getDimensionality()
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||