|
|||||||||||
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_Curve objects.
-----------------------------------------------------
Method Summary | |
void |
addCurve(GM_Curve gmc)
adds a GM_Curve to the aggregation |
GM_Curve[] |
getAllCurves()
returns all GM_Curves as array |
GM_Curve |
getCurveAt(int index)
returns the GM_Curve at the submitted index. if index is larger then getSize() - 1 or smaller then 0 an exception will be thrown. |
void |
insertCurveAt(GM_Curve gmc,
int index)
inserts a GM_Curve 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 gmc equals null an exception will be thrown. |
GM_Curve |
removeCurve(GM_Curve gmc)
removes the submitted GM_Curve from the aggregation |
GM_Curve |
removeCurveAt(int index)
removes the GM_Curve at the submitted index from the aggregation. |
void |
setCurveAt(GM_Curve gmc,
int index)
sets the submitted GM_Curve 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 gmc 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 addCurve(GM_Curve gmc)
public void insertCurveAt(GM_Curve gmc, int index) throws GM_Exception
gmc
- GM_Curve to insert.index
- position where to insert the new GM_Curve
GM_Exception
public void setCurveAt(GM_Curve gmc, int index) throws GM_Exception
index
will be removed. if index is
larger then getSize() - 1 or smaller then 0 or gmc equals null
an exception will be thrown.
gmc
- GM_Curve to set.index
- position where to set the new GM_Curve
GM_Exception
public GM_Curve removeCurve(GM_Curve gmc)
public GM_Curve removeCurveAt(int index) throws GM_Exception
GM_Exception
public GM_Curve getCurveAt(int index)
public GM_Curve[] getAllCurves()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |