public class ExtentImpl extends MetadataEntity implements Extent
Modifier and Type | Field and Description |
---|---|
static Extent |
WORLD
A geographic extent ranging from 180°W to 180°E and 90°S to 90°N.
|
LOGGER
Constructor and Description |
---|
ExtentImpl()
Constructs an initially empty extent.
|
ExtentImpl(Extent source)
Constructs a metadata entity initialized with the values from the specified metadata.
|
Modifier and Type | Method and Description |
---|---|
InternationalString |
getDescription()
Returns the spatial and temporal extent for the referring object.
|
static GeographicBoundingBox |
getGeographicBoundingBox(Extent extent)
Convenience method returning a single geographic bounding box from the specified extent.
|
Collection<GeographicExtent> |
getGeographicElements()
Provides geographic component of the extent of the referring object
|
Collection<TemporalExtent> |
getTemporalElements()
Provides temporal component of the extent of the referring object
|
Collection<VerticalExtent> |
getVerticalElements()
Provides vertical component of the extent of the referring object
|
void |
setDescription(InternationalString newValue)
Set the spatial and temporal extent for the referring object.
|
void |
setGeographicElements(Collection<? extends GeographicExtent> newValues)
Set geographic component of the extent of the referring object
|
void |
setTemporalElements(Collection<? extends TemporalExtent> newValues)
Set temporal component of the extent of the referring object
|
void |
setVerticalElements(Collection<? extends VerticalExtent> newValues)
Set vertical component of the extent of the referring object
|
ensureNonNull, getStandard
checkWritePermission, clone, copyCollection, copyList, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, unmodifiable
asMap, asTree, equals, getInterface, hashCode, toString
public static final Extent WORLD
public ExtentImpl()
public ExtentImpl(Extent source)
public InternationalString getDescription()
getDescription
in interface Extent
null
in none.public void setDescription(InternationalString newValue)
public Collection<GeographicExtent> getGeographicElements()
getGeographicElements
in interface Extent
public void setGeographicElements(Collection<? extends GeographicExtent> newValues)
public Collection<TemporalExtent> getTemporalElements()
getTemporalElements
in interface Extent
public void setTemporalElements(Collection<? extends TemporalExtent> newValues)
public Collection<VerticalExtent> getVerticalElements()
getVerticalElements
in interface Extent
public void setVerticalElements(Collection<? extends VerticalExtent> newValues)
public static GeographicBoundingBox getGeographicBoundingBox(Extent extent)
null
. If more than one box is
found, then boxes are added together.Copyright © 1996–2019 Geotools. All rights reserved.