deegree 2.2 (2008/12/22 11:33 build-3038-official)

org.deegree.model.spatialschema
Interface OrientablePrimitive

All Superinterfaces:
Geometry, Primitive, 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.

Author:
Andreas Poth, last edited by: $Author: apoth $

Method Summary
 char getOrientation()
          returns the orientation of a curve
 void setOrientation(char orientation)
          sets the curves orientation
 
Methods inherited from interface org.deegree.model.spatialschema.Geometry
contains, contains, difference, distance, getBoundary, getBuffer, getCentroid, getConvexHull, getCoordinateDimension, getCoordinateSystem, getDimension, getEnvelope, getTolerance, intersection, intersects, isEmpty, isWithinDistance, setTolerance, translate, union
 

Method Detail

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

deegree 2.2 (2008/12/22 11:33 build-3038-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net