|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface defines the access to a aggregations of GM_Point objects.
-----------------------------------------------------
Method Summary | |
void |
addPoint(GM_Point gmp)
adds a GM_Point to the aggregation |
GM_Point[] |
getAllPoints()
returns all GM_Points as array |
GM_Point |
getPointAt(int index)
returns the GM_Point at the submitted index. |
void |
insertPointAt(GM_Point gmp,
int index)
inserts a GM_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. |
GM_Point |
removePoint(GM_Point gmp)
removes the submitted GM_Point from the aggregation |
GM_Point |
removePointAt(int index)
removes the GM_Point at the submitted index from the aggregation. |
void |
setPointAt(GM_Point gmp,
int index)
sets the submitted GM_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.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 addPoint(GM_Point gmp)
public void insertPointAt(GM_Point gmp, int index) throws GM_Exception
gmp
- GM_Point to insert.index
- position where to insert the new GM_Point
GM_Exception
public void setPointAt(GM_Point gmp, int index) throws GM_Exception
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
- GM_Point to set.index
- position where to set the new GM_Point
GM_Exception
public GM_Point removePoint(GM_Point gmp)
public GM_Point removePointAt(int index) throws GM_Exception
GM_Exception
public GM_Point getPointAt(int index)
public GM_Point[] getAllPoints()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |