deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.geometry.primitive
Interface Ring

All Superinterfaces:
Curve, GeometricPrimitive, Geometry, GMLObject
All Known Subinterfaces:
LinearRing
All Known Implementing Classes:
DefaultLinearRing, DefaultRing

public interface Ring
extends Curve

A Ring is a composition of Curves that forms a closed loop.

Please note that it extends Curve, because it has an inherent curve semantic.

Version:
$Revision:$, $Date:$
Author:
Markus Schneider , last edited by: $Author:$

Nested Class Summary
static class Ring.RingType
          All ring variants.
 
Nested classes/interfaces inherited from interface org.deegree.geometry.primitive.Curve
Curve.CurveType
 
Nested classes/interfaces inherited from interface org.deegree.geometry.primitive.GeometricPrimitive
GeometricPrimitive.PrimitiveType
 
Nested classes/interfaces inherited from interface org.deegree.geometry.Geometry
Geometry.GeometryType
 
Method Summary
 Curve.CurveType getCurveType()
          Must always return Curve.CurveType.Ring.
 List<Curve> getMembers()
          Returns the Curves that constitute this Ring.
 Ring.RingType getRingType()
          Returns the type of ring.
 
Methods inherited from interface org.deegree.geometry.primitive.Curve
getAsLineString, getBoundary, getControlPoints, getCurveSegments, getEndPoint, getLength, getPrimitiveType, getStartPoint, isClosed
 
Methods inherited from interface org.deegree.geometry.primitive.GeometricPrimitive
getGeometryType
 
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, isWithin, isWithinDistance, overlaps, setCoordinateSystem, setGMLProperties, setId, setPrecision, touches
 
Methods inherited from interface org.deegree.gml.GMLObject
getGMLProperties
 

Method Detail

getCurveType

Curve.CurveType getCurveType()
Must always return Curve.CurveType.Ring.

Specified by:
getCurveType in interface Curve
Returns:
Curve.CurveType.Ring

getRingType

Ring.RingType getRingType()
Returns the type of ring.

Returns:
the type of ring

getMembers

List<Curve> getMembers()
Returns the Curves that constitute this Ring.

Returns:
the constituting curves

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

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

]]>