|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This Interface defines the Aggregation of GM_Surfaces. The implementing class should capsulate a java.util.Vector or a comarative data structure.
-----------------------------------------------------
Method Summary | |
void |
addSurface(GM_Surface gms)
adds an GM_Surface to the aggregation |
GM_Surface[] |
getAllSurfaces()
returns all GM_Surfaces as array |
GM_Surface |
getSurfaceAt(int index)
returns the GM_Surface at the submitted index. |
void |
insertSurfaceAt(GM_Surface gms,
int index)
inserts a GM_Surface in the aggregation. all elements with an index equal or larger index will be moved. if index is larger then getSize() - 1 or smaller then 0 or gms equals null an exception will be thrown. |
GM_Surface |
removeSurface(GM_Surface gms)
removes the submitted GM_Surface from the aggregation |
GM_Surface |
removeSurfaceAt(int index)
removes the GM_Surface at the submitted index from the aggregation. |
void |
setSurfaceAt(GM_Surface gms,
int index)
sets the submitted GM_Surface at the submitted index. the element at the position index will be removed. if index is
larger then getSize() - 1 or smaller then 0 or gms equals null
an exception will be thrown. |
Methods inherited from interface org.deegree.model.geometry.GM_MultiPrimitive |
getAllPrimitives, getPrimitiveAt |
Methods inherited from interface org.deegree.model.geometry.GM_Aggregate |
add, getAll, getIterator, getObjectAt, getSize, insertObjectAt, isMember, merge, removeAll, removeObject, removeObjectAt, setObjectAt |
Methods inherited from interface org.deegree.model.geometry.GM_Object |
contains, contains, difference, distance, getBoundary, getBuffer, getCentroid, getConvexHull, getCoordinateDimension, getCoordinateSystem, getDimension, getEnvelope, intersection, intersects, isEmpty, isWithinDistance, translate, union |
Method Detail |
public void addSurface(GM_Surface gms)
public void insertSurfaceAt(GM_Surface gms, int index) throws GM_Exception
gms
- GM_Surface to insert.index
- position where to insert the new GM_Surface
GM_Exception
public void setSurfaceAt(GM_Surface gms, int index) throws GM_Exception
index
will be removed. if index is
larger then getSize() - 1 or smaller then 0 or gms equals null
an exception will be thrown.
gms
- GM_Surface to set.index
- position where to set the new GM_Surface
GM_Exception
public GM_Surface removeSurface(GM_Surface gms)
public GM_Surface removeSurfaceAt(int index) throws GM_Exception
GM_Exception
public GM_Surface getSurfaceAt(int index)
public GM_Surface[] getAllSurfaces()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |