|
deegree 2.2 (2008/12/22 11:33 build-3038-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MultiCurve
The interface defines the access to a aggregations of Curve objects.
-----------------------------------------------------
Method Summary | |
---|---|
void |
addCurve(Curve gmc)
adds a Curve to the aggregation |
Curve[] |
getAllCurves()
returns all Curves as array |
Curve |
getCurveAt(int index)
returns the Curve at the submitted index. if index is larger then getSize() - 1 or smaller then 0 an exception will be thrown. |
void |
insertCurveAt(Curve gmc,
int index)
inserts a 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. |
Curve |
removeCurve(Curve gmc)
removes the submitted Curve from the aggregation |
Curve |
removeCurveAt(int index)
removes the Curve at the submitted index from the aggregation. if index is larger then getSize() - 1 or smaller then 0 an exception will be thrown. |
void |
setCurveAt(Curve gmc,
int index)
sets the submitted 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.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 addCurve(Curve gmc)
void insertCurveAt(Curve gmc, int index) throws GeometryException
gmc
- Curve to insert.index
- position where to insert the new Curve
GeometryException
void setCurveAt(Curve gmc, int index) throws GeometryException
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
- Curve to set.index
- position where to set the new Curve
GeometryException
Curve removeCurve(Curve gmc)
Curve removeCurveAt(int index) throws GeometryException
GeometryException
Curve getCurveAt(int index)
Curve[] getAllCurves()
|
deegree 2.2 (2008/12/22 11:33 build-3038-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