|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.geotools.metadata.iso.MetadataEntity
org.geotools.metadata.iso.extent.GeographicExtentImpl
org.geotools.metadata.iso.extent.GeographicBoundingBoxImpl
Geographic position of the dataset. This is only an approximate so specifying the co-ordinate reference system is unnecessary.
| Field Summary | |
static org.opengis.metadata.extent.GeographicBoundingBox |
WORLD
A bounding box ranging from 180?W to 180?E and 90?S to 90?N. |
| Fields inherited from class org.geotools.metadata.iso.MetadataEntity |
LOGGER |
| Constructor Summary | |
GeographicBoundingBoxImpl()
Constructs an initially empty geographic bounding box. |
|
GeographicBoundingBoxImpl(double westBoundLongitude,
double eastBoundLongitude,
double southBoundLatitude,
double northBoundLatitude)
Creates a geographic bounding box initialized to the specified values. |
|
GeographicBoundingBoxImpl(org.opengis.spatialschema.geometry.Envelope envelope)
Constructs a geographic bounding box from the specified envelope. |
|
GeographicBoundingBoxImpl(org.opengis.metadata.extent.GeographicBoundingBox box)
Constructs a geographic bounding box initialized to the same values than the specified one. |
|
GeographicBoundingBoxImpl(java.awt.geom.Rectangle2D bounds)
Constructs a geographic bounding box from the specified rectangle. |
|
| Method Summary | |
void |
add(org.opengis.metadata.extent.GeographicBoundingBox box)
Adds a geographic bounding box to this box. |
boolean |
equals(java.lang.Object object)
Compares this geographic bounding box with the specified object for equality. |
protected void |
freeze()
Declares this metadata and all its attributes as unmodifiable. |
double |
getEastBoundLongitude()
Returns the eastern-most coordinate of the limit of the dataset extent. |
double |
getNorthBoundLatitude()
Returns the northern-most, coordinate of the limit of the dataset extent. |
double |
getSouthBoundLatitude()
Returns the southern-most coordinate of the limit of the dataset extent. |
double |
getWestBoundLongitude()
Returns the western-most coordinate of the limit of the dataset extent. |
int |
hashCode()
Returns a hash code value for this extent. |
void |
setEastBoundLongitude(double newValue)
Set the eastern-most coordinate of the limit of the dataset extent. |
void |
setNorthBoundLatitude(double newValue)
Set the northern-most, coordinate of the limit of the dataset extent. |
void |
setSouthBoundLatitude(double newValue)
Set the southern-most coordinate of the limit of the dataset extent. |
void |
setWestBoundLongitude(double newValue)
Set the western-most coordinate of the limit of the dataset extent. |
java.lang.String |
toString()
Returns a string representation of this extent using a default angle pattern. |
static java.lang.String |
toString(org.opengis.metadata.extent.GeographicBoundingBox box,
java.lang.String pattern,
java.util.Locale locale)
Returns a string representation of the specified extent using the specified angle pattern and locale. |
| Methods inherited from class org.geotools.metadata.iso.extent.GeographicExtentImpl |
getInclusion, setInclusion |
| Methods inherited from class org.geotools.metadata.iso.MetadataEntity |
appendLineSeparator, checkWritePermission, copyCollection, isModifiable, nonNullCollection, unmodifiable, unmodifiable |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.opengis.metadata.extent.GeographicExtent |
getInclusion |
| Field Detail |
public static final org.opengis.metadata.extent.GeographicBoundingBox WORLD
| Constructor Detail |
public GeographicBoundingBoxImpl()
public GeographicBoundingBoxImpl(org.opengis.metadata.extent.GeographicBoundingBox box)
public GeographicBoundingBoxImpl(org.opengis.spatialschema.geometry.Envelope envelope)
throws org.opengis.referencing.operation.TransformException
public GeographicBoundingBoxImpl(java.awt.geom.Rectangle2D bounds)
public GeographicBoundingBoxImpl(double westBoundLongitude,
double eastBoundLongitude,
double southBoundLatitude,
double northBoundLatitude)
| Method Detail |
public double getWestBoundLongitude()
getWestBoundLongitude in interface org.opengis.metadata.extent.GeographicBoundingBoxpublic void setWestBoundLongitude(double newValue)
public double getEastBoundLongitude()
getEastBoundLongitude in interface org.opengis.metadata.extent.GeographicBoundingBoxpublic void setEastBoundLongitude(double newValue)
public double getSouthBoundLatitude()
getSouthBoundLatitude in interface org.opengis.metadata.extent.GeographicBoundingBoxpublic void setSouthBoundLatitude(double newValue)
public double getNorthBoundLatitude()
getNorthBoundLatitude in interface org.opengis.metadata.extent.GeographicBoundingBoxpublic void setNorthBoundLatitude(double newValue)
public void add(org.opengis.metadata.extent.GeographicBoundingBox box)
protected void freeze()
freeze in class GeographicExtentImplpublic boolean equals(java.lang.Object object)
equals in class GeographicExtentImplpublic int hashCode()
hashCode in class GeographicExtentImplpublic java.lang.String toString()
toString in class GeographicExtentImpl
public static java.lang.String toString(org.opengis.metadata.extent.GeographicBoundingBox box,
java.lang.String pattern,
java.util.Locale locale)
AngleFormat for a description of angle patterns.
box - The bounding box to format.pattern - The angle pattern (e.g. .locale - The locale, or for the default one.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||