org.deegree.model.geometry
Interface GM_Ring

All Superinterfaces:
GM_Object, GM_OrientableCurve, GM_OrientablePrimitive, GM_Primitive
All Known Implementing Classes:
GM_Ring_Impl

public interface GM_Ring
extends GM_OrientableCurve

defining a ring geometry that's part of a surface boundary

----------------------------------------------------------------------

Version:
$Revision: 1.2 $ $Date: 2002/10/21 08:19:01 $

Author:
Andreas Poth, Axel Schaefer

Method Summary
 GM_CurveSegment getAsCurveSegment()
          returns the ring as an instance of GM_CurveSegment
 GM_Position[] getPositions()
          returns all positions the builds the ring
 boolean isCycle()
          returns true because a ring is always a cycle
 boolean isSimple()
          returns true because a ring is always a simple
 
Methods inherited from interface org.deegree.model.geometry.GM_OrientableCurve
getCurveBoundary
 
Methods inherited from interface org.deegree.model.geometry.GM_OrientablePrimitive
getOrientation, setOrientation
 
Methods inherited from interface org.deegree.model.geometry.GM_Object
contains, contains, difference, distance, getBoundary, getBuffer, getCentroid, getConvexHull, getCoordinateDimension, getCoordinateSystem, getDimension, getEnvelope, intersection, intersects, isEmpty, isWithinDistance, translate, union
 

Method Detail

isCycle

public boolean isCycle()
returns true because a ring is always a cycle


isSimple

public boolean isSimple()
returns true because a ring is always a simple


getPositions

public GM_Position[] getPositions()
returns all positions the builds the ring


getAsCurveSegment

public GM_CurveSegment getAsCurveSegment()
                                  throws GM_Exception
returns the ring as an instance of GM_CurveSegment

Throws:
GM_Exception