|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface defines the access to curve geometries. Curves are made of one or more curve segments.
-----------------------------------------------------
Method Summary | |
void |
addCurveSegment(GM_CurveSegment segment)
adds a segment at the end of the curve |
void |
deleteCurveSegmentAt(int index)
deletes the segment at the submitted index |
GM_CurveSegment |
getCurveSegmentAt(int index)
returns the curve segment at the submitted index |
int |
getNumberOfCurveSegments()
returns the number of segments building the curve |
void |
insertCurveSegmentAt(GM_CurveSegment segment,
int index)
inserts a segment in the curve at the submitted position. all points with a position that equals index or is higher will be shifted |
void |
setCurveSegmentAt(GM_CurveSegment segment,
int index)
writes a segment to the curve at submitted position. the old point will be deleted |
Methods inherited from interface org.deegree.model.geometry.GM_OrientableCurve |
getCurveBoundary |
Methods inherited from interface org.deegree.model.geometry.GM_OrientablePrimitive |
getOrientation, setOrientation |
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 |
Methods inherited from interface org.deegree.model.geometry.GM_GenericCurve |
getAsLineString, getEndPoint, getLength, getStartPoint |
Method Detail |
public int getNumberOfCurveSegments()
public GM_CurveSegment getCurveSegmentAt(int index) throws GM_Exception
GM_Exception
public void setCurveSegmentAt(GM_CurveSegment segment, int index) throws GM_Exception
GM_Exception
public void insertCurveSegmentAt(GM_CurveSegment segment, int index) throws GM_Exception
GM_Exception
public void addCurveSegment(GM_CurveSegment segment) throws GM_Exception
GM_Exception
public void deleteCurveSegmentAt(int index) throws GM_Exception
GM_Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |