org.deegree.geometry.primitive
Interface OrientableCurve
- All Superinterfaces:
- Curve, GeometricPrimitive, Geometry, GMLObject
- All Known Implementing Classes:
- DefaultOrientableCurve
public interface OrientableCurve
- extends Curve
An OrientableCurve
consists of a wrapped base Curve
and an additional orientation.
If the orientation is *not* reversed, then the OrientableCurve
is identical to the base curve. If the
orientation is reversed, then the OrientableCurve
is related to the base curve with a parameterization
that reverses the sense of the curve traversal.
- Version:
- $Revision:$, $Date:$
- Author:
- Markus Schneider , last edited by: $Author:$
Nested classes/interfaces inherited from interface org.deegree.geometry.primitive.Curve |
Curve.CurveType |
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, isWithin, isWithinDistance, overlaps, setCoordinateSystem, setGMLProperties, setId, setPrecision, touches |
getCurveType
Curve.CurveType getCurveType()
- Must always return
Curve.CurveType.OrientableCurve
.
- Specified by:
getCurveType
in interface Curve
- Returns:
Curve.CurveType.OrientableCurve
isReversed
boolean isReversed()
- Returns whether the orientation of this curve is reversed compared to the base curve.
- Returns:
- true, if the orientation is reversed, false otherwise
getBaseCurve
Curve getBaseCurve()
- Returns the
Curve
that this OrientableCurve
is based on.
- Returns:
- the base
Curve
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org]]>