| 
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MultiSurface
This Interface defines the Aggregation of Surfaces. The implementing class should capsulate a java.util.Vector or a comarative data structure.
-----------------------------------------------------
| Method Summary | |
|---|---|
 void | 
addSurface(Surface gms)
adds an Surface to the aggregation  | 
 Surface[] | 
getAllSurfaces()
returns all Surfaces as array  | 
 double | 
getArea()
returns the area of a MultiSurface  | 
 Surface | 
getSurfaceAt(int index)
returns the Surface at the submitted index.  | 
 void | 
insertSurfaceAt(Surface gms,
                               int index)
inserts a 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.  | 
 Surface | 
removeSurface(Surface gms)
removes the submitted Surface from the aggregation  | 
 Surface | 
removeSurfaceAt(int index)
removes the Surface at the submitted index from the aggregation. if index is larger then getSize() - 1 or smaller then 0 an exception will be thrown.  | 
 void | 
setSurfaceAt(Surface gms,
                         int index)
sets the submitted 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.spatialschema.MultiPrimitive | 
|---|
getAllPrimitives, getPrimitiveAt | 
| Methods inherited from interface org.deegree.model.spatialschema.Aggregate | 
|---|
add, getAll, getIterator, getObjectAt, getSize, insertObjectAt, isMember, merge, removeAll, removeObject, removeObjectAt, setObjectAt | 
| Methods inherited from interface org.deegree.model.spatialschema.Geometry | 
|---|
contains, contains, difference, distance, getBoundary, getBuffer, getCentroid, getConvexHull, getCoordinateDimension, getCoordinateSystem, getDimension, getEnvelope, getTolerance, intersection, intersects, isEmpty, isWithinDistance, setTolerance, translate, union | 
| Method Detail | 
|---|
void addSurface(Surface gms)
void insertSurfaceAt(Surface gms,
                     int index)
                     throws GeometryException
gms - Surface to insert.index - position where to insert the new Surface
GeometryException
void setSurfaceAt(Surface gms,
                  int index)
                  throws GeometryException
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 - Surface to set.index - position where to set the new Surface
GeometryExceptionSurface removeSurface(Surface gms)
Surface removeSurfaceAt(int index)
                        throws GeometryException
GeometryExceptionSurface getSurfaceAt(int index)
Surface[] getAllSurfaces()
double getArea()
  | 
deegree 2.1 (2007/11/08 09:57 build-328-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