deegree 2.1 (2007/11/08 09:57 build-328-official)

org.deegree.model.spatialschema
Interface Ring

All Superinterfaces:
Geometry, OrientableCurve, OrientablePrimitive, Primitive, Serializable
All Known Implementing Classes:
RingImpl

public interface Ring
extends OrientableCurve

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

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

Version:
$Revision: 6259 $ $Date: 2007-03-20 10:15:15 +0100 (Di, 20 Mär 2007) $

Author:
Andreas Poth, Axel Schaefer

Method Summary
 CurveSegment getAsCurveSegment()
          returns the ring as an instance of CurveSegment
 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.spatialschema.OrientableCurve
getCurveBoundary
 
Methods inherited from interface org.deegree.model.spatialschema.OrientablePrimitive
getOrientation, setOrientation
 
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

isCycle

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


isSimple

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


getPositions

Position[] getPositions()
returns all positions the builds the ring


getAsCurveSegment

CurveSegment getAsCurveSegment()
                               throws GeometryException
returns the ring as an instance of CurveSegment

Throws:
GeometryException

deegree 2.1 (2007/11/08 09:57 build-328-official)

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