org.deegree.geometry.primitive
Interface OrientableCurve
- All Superinterfaces:
- Curve, GeometricPrimitive, Geometry, GMLObject, Object, TypedObjectNode
- 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: 31641 $, $Date: 2011-08-24 21:24:55 +0200 (Wed, 24 Aug 2011) $
- Author:
- Markus Schneider , last edited by: $Author: mschneider $
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, isSFSCompliant, 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
Copyright © 2011. All Rights Reserved.