|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Curve
Curve
instances are 1D-geometries that consist of a number of curve segments.
CompositeCurve
,
LineString
,
OrientableCurve
,
Ring
Nested Class Summary | |
---|---|
static class |
Curve.CurveType
Convenience enum type for discriminating the different curve variants. |
Nested classes/interfaces inherited from interface org.deegree.geometry.primitive.GeometricPrimitive |
---|
GeometricPrimitive.PrimitiveType |
Nested classes/interfaces inherited from interface org.deegree.geometry.Geometry |
---|
Geometry.GeometryType |
Method Summary | |
---|---|
LineString |
getAsLineString()
Returns a linear interpolated representation of the curve. |
Pair<Point,Point> |
getBoundary()
The boundary of a curve is the set of points at either end of the curve. |
Points |
getControlPoints()
Convenience method for accessing the control points of linear interpolated curves. |
List<CurveSegment> |
getCurveSegments()
Returns the segments that constitute this curve. |
Curve.CurveType |
getCurveType()
Returns the type of curve. |
Point |
getEndPoint()
Returns the end point of the curve. |
Measure |
getLength(Unit requestedUnit)
|
GeometricPrimitive.PrimitiveType |
getPrimitiveType()
Must always return GeometricPrimitive.PrimitiveType.Curve . |
Point |
getStartPoint()
Returns the start point of the curve. |
boolean |
isClosed()
Returns whether the curve forms a closed loop. |
Methods inherited from interface org.deegree.geometry.primitive.GeometricPrimitive |
---|
getGeometryType |
Methods inherited from interface org.deegree.geometry.Geometry |
---|
contains, crosses, equals, getBuffer, getCentroid, getConvexHull, getCoordinateDimension, getCoordinateSystem, getDifference, getDistance, getEnvelope, getId, getIntersection, getPrecision, getUnion, intersects, isBeyond, isDisjoint, isSFSCompliant, isWithin, isWithinDistance, overlaps, setCoordinateSystem, setGMLProperties, setId, setPrecision, touches |
Methods inherited from interface org.deegree.commons.tom.gml.GMLObject |
---|
getGMLProperties |
Method Detail |
---|
GeometricPrimitive.PrimitiveType getPrimitiveType()
GeometricPrimitive.PrimitiveType.Curve
.
getPrimitiveType
in interface GeometricPrimitive
GeometricPrimitive.PrimitiveType.Curve
Curve.CurveType getCurveType()
boolean isClosed()
Measure getLength(Unit requestedUnit)
requestedUnit
-
Pair<Point,Point> getBoundary()
List
shall
be retrunedPoint getStartPoint()
Point getEndPoint()
List<CurveSegment> getCurveSegments()
Points getControlPoints()
NOTE: This method is only safe to use when the curve is a LineString
or LinearRing
or it only
consists of LineStringSegment
s. In any other case it will fail.
IllegalArgumentException
- if the curve is not linear interpolatedLineString getAsLineString()
NOTE: This method is only safe to use when the curve is a LineString
or LinearRing
or it only
consists of LineStringSegment
s. In any other case it will fail.
IllegalArgumentException
- if the curve is not linear interpolated
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |