org.deegree.model.spatialschema
Interface OrientablePrimitive
- All Superinterfaces:
- Geometry, Primitive, java.io.Serializable
- All Known Subinterfaces:
- CompositeCurve, CompositeSurface, Curve, OrientableCurve, OrientableSurface, Ring, Shell, Surface
- All Known Implementing Classes:
- CurveImpl, OrientableCurveImpl, OrientablePrimitiveImpl, OrientableSurfaceImpl, RingImpl, SurfaceImpl
public interface OrientablePrimitive
- extends Primitive
The basic interface for orientated two dimensional geometries.
- Version:
- $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
- Author:
- Andreas Poth, last edited by: $Author: mschneider $
Methods inherited from interface org.deegree.model.spatialschema.Geometry |
contains, contains, difference, distance, getBoundary, getBuffer, getBuffer, getCentroid, getConvexHull, getCoordinateDimension, getCoordinateSystem, getDimension, getEnvelope, getTolerance, intersection, intersects, isEmpty, isWithinDistance, setTolerance, translate, union |
getOrientation
char getOrientation()
- returns the orientation of a curve
- Returns:
- curve orientation ('+'|'-')
setOrientation
void setOrientation(char orientation)
throws GeometryException
- sets the curves orientation
- Parameters:
orientation
- orientation of the curve ('+'|'-')
- Throws:
GeometryException
- will be thrown if orientation is invalid
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org