org.opengis.metadata.extent.BoundingPolygon Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gt-opengis Show documentation
Show all versions of gt-opengis Show documentation
Standard interfaces implemented throughout the library.
/*
* GeoTools - The Open Source Java GIS Toolkit
* http://geotools.org
*
* (C) 2011, Open Source Geospatial Foundation (OSGeo)
* (C) 2004-2005, Open Geospatial Consortium Inc.
*
* All Rights Reserved. http://www.opengis.org/legal/
*/
package org.opengis.metadata.extent;
import static org.opengis.annotation.Obligation.*;
import static org.opengis.annotation.Specification.*;
import java.util.Collection;
import org.opengis.annotation.UML;
import org.opengis.geometry.Geometry;
/**
* Boundary enclosing the dataset, expressed as the closed set of (x,y)
* coordinates of the polygon. The last point replicates first point.
*
* @version ISO 19115
* @author Martin Desruisseaux (IRD)
* @since GeoAPI 1.0
*/
@UML(identifier = "EX_BoundingPolygon", specification = ISO_19115)
public interface BoundingPolygon extends GeographicExtent {
/**
* Returns the sets of points defining the bounding polygon.
*
* @return The sets of points defining the bounding polygon.
*/
@UML(identifier = "polygon", obligation = MANDATORY, specification = ISO_19115)
Collection extends Geometry> getPolygons();
}