|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
CurveString is an interface that represents a generic string of curves regardless of interpolation type (OGC line string type is actually a special case of curve string with linear interpolation between points). This interface is an extension to the OGC simple feature geometry object model.
Method Summary | |
int |
getNumPoints()
Gets the number of coordinate points in this curve string. |
int |
getNumSegments()
Gets the number of segments in this curve string. |
CoordPoint[] |
getPointArray()
Gets an array of all coordinate points in this curve string. |
int |
getPointArray(CoordPoint[] pointArray,
int pointOffset,
int numPoints)
Gets an array of all coordinate points in this curve string. |
void |
getPointAt(CoordPoint point,
int i)
Gets the i-th coordinate point on this curve string. |
CoordPoint |
getPointAt(int i)
Gets the i-th coordinate point on this curve string. |
java.util.Enumeration |
getPoints()
Gets an enumeration of all coordinate points in this curve string. |
Segment[] |
getSegmentArray()
Gets an array of all segments in this curve string. |
Segment |
getSegmentAt(int i)
Gets the segment at index i in the Segment array for this curve string. |
java.util.Enumeration |
getSegments()
Gets an enumeration of all segments in this curve string. |
Methods inherited from interface oracle.sdoapi.geom.Curve |
getEndPoint, getEndPoint, getStartPoint, getStartPoint, isClosed, length |
Methods inherited from interface oracle.sdoapi.geom.Geometry |
clone, getAllIsolatedPoints, getAllSegments, getCoordinateDimension, getDimensionality, getEnvelope, getGeometryType, getLabelPoint, getLabelPoint, getSpatialReference, isEmpty, isSimple, isValid, linearize |
Method Detail |
public int getNumSegments()
public java.util.Enumeration getSegments()
public Segment[] getSegmentArray()
public Segment getSegmentAt(int i)
i
- the index of the segment. The first segment is at index 0.public int getNumPoints()
public java.util.Enumeration getPoints()
public CoordPoint[] getPointArray()
points
- an array of all coordinate points in this curve stringpublic int getPointArray(CoordPoint[] pointArray, int pointOffset, int numPoints)
pointArray
- a preallocated array of coordinate point to be filled
with all coordinates in this curve string. All points
in this array must be preallocated.pointOffset
- position in this curve string from which to begin
to retrieve pointsnumPoints
- number of points to retrievepublic CoordPoint getPointAt(int i)
i
- the index of the coordinate pointpublic void getPointAt(CoordPoint point, int i)
point
- the coordinate point that is to be filled with the
ordinates of point i of this curve stringi
- the index of the coordinate point
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |