org.geotools.metadata.iso.extent
Class BoundingPolygonImpl
java.lang.Object
org.geotools.metadata.AbstractMetadata
org.geotools.metadata.ModifiableMetadata
org.geotools.metadata.iso.MetadataEntity
org.geotools.metadata.iso.extent.GeographicExtentImpl
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
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 java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.opengis.metadata.extent.GeographicExtent |
getInclusion |
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.
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.