org.deegree.gml
Interface GMLPolygon

All Superinterfaces:
GMLGeometry
All Known Implementing Classes:
GMLPolygon_Impl

public interface GMLPolygon
extends GMLGeometry

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

Version:
07.02.2001

Author:
Andreas Poth

Method Summary
 void addInteriorRing(GMLLinearRing interiorRing)
          adds a interior ring to the polygon. if the submitted ring isn't not completly contained within the exterior ring an exception should be thrown.
 GMLLinearRing getExteriorRing()
          returns the exterior ring of the polygon
 GMLLinearRing[] getInteriorRings()
          returns the interior rings of the polygon. if no interior rings exists null should be returned
 void setExteriorRing(GMLLinearRing exteriorRing)
           
 
Methods inherited from interface org.deegree.gml.GMLGeometry
getId, getName, getSrs, setId, setSrs
 

Method Detail

getExteriorRing

public GMLLinearRing getExteriorRing()
returns the exterior ring of the polygon


setExteriorRing

public void setExteriorRing(GMLLinearRing exteriorRing)
See Also:
getExteriorRing()

getInteriorRings

public GMLLinearRing[] getInteriorRings()
returns the interior rings of the polygon. if no interior rings exists null should be returned


addInteriorRing

public void addInteriorRing(GMLLinearRing interiorRing)
                     throws GMLException
adds a interior ring to the polygon. if the submitted ring isn't not completly contained within the exterior ring an exception should be thrown.

Throws:
GMLException