| 
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Aggregate
This interface defines the basis functionallity of all geometry aggregations. it will be specialized for the use of primitive, and solid geometries.
-----------------------------------------------------
| Field Summary | 
|---|
| Fields inherited from interface org.deegree.model.spatialschema.Geometry | 
|---|
BUFFER_CAP_BUTT, BUFFER_CAP_ROUND, BUFFER_CAP_SQUARE | 
| Method Summary | |
|---|---|
 void | 
add(Geometry gmo)
adds an Geometry to the aggregation  | 
 Geometry[] | 
getAll()
 | 
 Iterator<Geometry> | 
getIterator()
 | 
 Geometry | 
getObjectAt(int index)
 | 
 int | 
getSize()
 | 
 void | 
insertObjectAt(Geometry gmo,
                             int index)
inserts a Geometry in the aggregation. all elements with an index equal or larger index will be moved. if index is larger then getSize() - 1 an exception will be thrown.  | 
 boolean | 
isMember(Geometry gmo)
 | 
 void | 
merge(Aggregate aggregate)
merges two aggregation.  | 
 void | 
removeAll()
removes all Geometry from the aggregation.  | 
 Geometry | 
removeObject(Geometry gmo)
removes the submitted Geometry from the aggregation  | 
 Geometry | 
removeObjectAt(int index)
removes the Geometry at the submitted index from the aggregation. if index is larger then getSize() - 1 an exception will be thrown.  | 
 void | 
setObjectAt(Geometry gmo,
                       int index)
sets the submitted Geometry at the submitted index. the element at the position index will be
 removed. if index is larger then getSize() - 1 an exception will be thrown. | 
| Methods inherited from interface org.deegree.model.spatialschema.Geometry | 
|---|
contains, contains, difference, distance, getBoundary, getBuffer, getBuffer, getCentroid, getConvexHull, getCoordinateDimension, getCoordinateSystem, getDimension, getEnvelope, getTolerance, intersection, intersects, isEmpty, isWithinDistance, setTolerance, translate, union | 
| Method Detail | 
|---|
int getSize()
void merge(Aggregate aggregate)
           throws GeometryException
aggregate - 
GeometryException - a GeometryException will be thrown if the submitted isn't the same type as the recieving one.void add(Geometry gmo)
gmo - Geometry to the aggregation
void insertObjectAt(Geometry gmo,
                    int index)
                    throws GeometryException
gmo - Geometry to insert.index - position where to insert the new Geometry
GeometryException
void setObjectAt(Geometry gmo,
                 int index)
                 throws GeometryException
index will be
 removed. if index is larger then getSize() - 1 an exception will be thrown.
gmo - Geometry to set.index - position where to set the new Geometry
GeometryExceptionGeometry removeObject(Geometry gmo)
gmo - to remove
Geometry removeObjectAt(int index)
                        throws GeometryException
index - 
GeometryExceptionvoid removeAll()
Geometry getObjectAt(int index)
index - to get
Geometry[] getAll()
boolean isMember(Geometry gmo)
gmo - 
Iterator<Geometry> getIterator()
  | 
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| 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