|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.commons.tom.Reference<T>
org.deegree.commons.tom.gml.GMLReference<T>
org.deegree.geometry.refs.GeometryReference<T>
org.deegree.geometry.refs.GeometricPrimitiveReference<T>
org.deegree.geometry.refs.CurveReference<T>
T - public class CurveReference<T extends Curve>
The class TODO add class documentation here.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.deegree.geometry.primitive.Curve |
|---|
Curve.CurveType |
| 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 |
| Constructor Summary | |
|---|---|
CurveReference(org.deegree.commons.tom.gml.GMLReferenceResolver resolver,
String uri,
String baseURL)
Creates a new CurveReference instance. |
|
| Method Summary | |
|---|---|
LineString |
getAsLineString()
Returns a linear interpolated representation of the curve. |
org.deegree.commons.utils.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. |
org.deegree.commons.uom.Measure |
getLength(org.deegree.commons.uom.Unit requestedUnit)
|
GeometricPrimitive.PrimitiveType |
getPrimitiveType()
Returns the type of primitive. |
Point |
getStartPoint()
Returns the start point of the curve. |
boolean |
isClosed()
Returns whether the curve forms a closed loop. |
| Methods inherited from class org.deegree.geometry.refs.GeometricPrimitiveReference |
|---|
getGeometryType |
| Methods inherited from class org.deegree.geometry.refs.GeometryReference |
|---|
contains, crosses, equals, getBuffer, getCentroid, getConvexHull, getCoordinateDimension, getCoordinateSystem, getDifference, getDistance, getEnvelope, getGMLProperties, getIntersection, getPrecision, getUnion, intersects, isBeyond, isDisjoint, isSFSCompliant, isWithin, isWithinDistance, overlaps, setCoordinateSystem, setGMLProperties, setId, setPrecision, touches |
| Methods inherited from class org.deegree.commons.tom.Reference |
|---|
getId, getReferencedObject, getURI, isLocal, isResolved, resolve |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 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 |
| Constructor Detail |
|---|
public CurveReference(org.deegree.commons.tom.gml.GMLReferenceResolver resolver,
String uri,
String baseURL)
CurveReference instance.
resolver - used for resolving the reference, must not be nulluri - the geometry's uri, must not be nullbaseURL - base URL for resolving the uri, may be null (no resolving of relative URLs)| Method Detail |
|---|
public LineString getAsLineString()
Curve
NOTE: This method is only safe to use when the curve is a LineString or LinearRing or it only
consists of LineStringSegments. In any other case it will fail.
getAsLineString in interface Curvepublic org.deegree.commons.utils.Pair<Point,Point> getBoundary()
Curve
getBoundary in interface CurveList shall
be retrunedpublic Points getControlPoints()
Curve
NOTE: This method is only safe to use when the curve is a LineString or LinearRing or it only
consists of LineStringSegments. In any other case it will fail.
getControlPoints in interface Curvepublic List<CurveSegment> getCurveSegments()
Curve
getCurveSegments in interface Curvepublic Curve.CurveType getCurveType()
Curve
getCurveType in interface Curvepublic Point getEndPoint()
Curve
getEndPoint in interface Curvepublic org.deegree.commons.uom.Measure getLength(org.deegree.commons.uom.Unit requestedUnit)
getLength in interface Curvepublic GeometricPrimitive.PrimitiveType getPrimitiveType()
GeometricPrimitive
getPrimitiveType in interface CurvegetPrimitiveType in interface GeometricPrimitivegetPrimitiveType in class GeometricPrimitiveReference<T extends Curve>public Point getStartPoint()
Curve
getStartPoint in interface Curvepublic boolean isClosed()
Curve
isClosed in interface Curve
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||