| 
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 MultiPoint
The interface defines the access to a aggregations of Point objects.
-----------------------------------------------------
| Method Summary | |
|---|---|
 void | 
addPoint(Point gmp)
adds a Point to the aggregation  | 
 Point[] | 
getAllPoints()
returns all Points as array  | 
 Point | 
getPointAt(int index)
returns the Point at the submitted index.  | 
 void | 
insertPointAt(Point gmp,
                           int index)
inserts a Point into 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 gmp equals null an exception will be thrown.  | 
 Point | 
removePoint(Point gmp)
removes the submitted Point from the aggregation  | 
 Point | 
removePointAt(int index)
removes the Point at the submitted index from the aggregation.  | 
 void | 
setPointAt(Point gmp,
                     int index)
sets the submitted Point 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 gmp 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 addPoint(Point gmp)
void insertPointAt(Point gmp,
                   int index)
                   throws GeometryException
gmp - Point to insert.index - position where to insert the new Point
GeometryException
void setPointAt(Point gmp,
                int index)
                throws GeometryException
index will be removed. if index is
 larger then getSize() - 1 or smaller then 0 or gmp equals null 
 an exception will be thrown.
gmp - Point to set.index - position where to set the new Point
GeometryExceptionPoint removePoint(Point gmp)
Point removePointAt(int index)
                    throws GeometryException
GeometryExceptionPoint getPointAt(int index)
Point[] getAllPoints()
  | 
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