org.geotools.metadata.iso.extent
Class BoundingPolygonImpl

java.lang.Object
  extended by org.geotools.metadata.AbstractMetadata
      extended by org.geotools.metadata.ModifiableMetadata
          extended by org.geotools.metadata.iso.MetadataEntity
              extended by org.geotools.metadata.iso.extent.GeographicExtentImpl
                  extended by org.geotools.metadata.iso.extent.BoundingPolygonImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, org.opengis.metadata.extent.BoundingPolygon, org.opengis.metadata.extent.GeographicExtent

public class BoundingPolygonImpl
extends GeographicExtentImpl
implements org.opengis.metadata.extent.BoundingPolygon

Boundary enclosing the dataset, expressed as the closed set of (x,y) coordinates of the polygon. The last point replicates first point.

Since:
2.1
Version:
$Id: BoundingPolygonImpl.java 31557 2008-09-19 20:02:35Z desruisseaux $
Author:
Martin Desruisseaux (IRD), Touraïvane
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.geotools.metadata.AbstractMetadata
LOGGER
 
Constructor Summary
BoundingPolygonImpl()
          Constructs an initially empty bounding polygon.
BoundingPolygonImpl(org.opengis.metadata.extent.BoundingPolygon source)
          Constructs a metadata entity initialized with the values from the specified metadata.
BoundingPolygonImpl(java.util.Collection<org.opengis.geometry.Geometry> polygons)
          Creates a bounding polygon initialized to the specified value.
 
Method Summary
 java.util.Collection<org.opengis.geometry.Geometry> getPolygons()
          Returns the sets of points defining the bounding polygon.
 void setPolygons(java.util.Collection<? extends org.opengis.geometry.Geometry> newValues)
          Set the sets of points defining the bounding polygon.
 
Methods inherited from class org.geotools.metadata.iso.extent.GeographicExtentImpl
getInclusion, setInclusion
 
Methods inherited from class org.geotools.metadata.iso.MetadataEntity
ensureNonNull, getStandard
 
Methods inherited from class org.geotools.metadata.ModifiableMetadata
checkWritePermission, clone, copyCollection, copyList, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, unmodifiable
 
Methods inherited from class org.geotools.metadata.AbstractMetadata
asMap, asTree, equals, getInterface, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.opengis.metadata.extent.GeographicExtent
getInclusion
 

Constructor Detail

BoundingPolygonImpl

public BoundingPolygonImpl()
Constructs an initially empty bounding polygon.


BoundingPolygonImpl

public BoundingPolygonImpl(org.opengis.metadata.extent.BoundingPolygon source)
Constructs a metadata entity initialized with the values from the specified metadata.

Since:
2.4

BoundingPolygonImpl

public BoundingPolygonImpl(java.util.Collection<org.opengis.geometry.Geometry> polygons)
Creates a bounding polygon initialized to the specified value.

Method Detail

getPolygons

public java.util.Collection<org.opengis.geometry.Geometry> getPolygons()
Returns the sets of points defining the bounding polygon.

Specified by:
getPolygons in interface org.opengis.metadata.extent.BoundingPolygon

setPolygons

public void setPolygons(java.util.Collection<? extends org.opengis.geometry.Geometry> newValues)
Set the sets of points defining the bounding polygon.



Copyright © 1996-2010 Geotools. All Rights Reserved.