org.deegree.geometry.primitive
Interface Ring

All Superinterfaces:
Curve, GeometricPrimitive, Geometry, GMLObject, Object, TypedObjectNode
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: 31641 $, $Date: 2011-08-24 21:24:55 +0200 (Wed, 24 Aug 2011) $
Author:
Markus Schneider , last edited by: $Author: mschneider $

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, isSFSCompliant, isWithin, isWithinDistance, overlaps, setCoordinateSystem, setGMLProperties, setId, setPrecision, touches
 
Methods inherited from interface org.deegree.commons.tom.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


Copyright © 2011. All Rights Reserved.