public class DefaultVerticalExtent extends ISOMetadata implements VerticalExtent
In addition to the standard properties, SIS provides the following methods:
setBounds(Envelope) for setting the extent from the given envelope.XML instead.Defined in the sis-metadata module
identifiers, LOGGER| Constructor and Description |
|---|
DefaultVerticalExtent()
Constructs an initially empty vertical extent.
|
DefaultVerticalExtent(double minimumValue,
double maximumValue,
VerticalCRS verticalCRS)
Creates a vertical extent initialized to the specified values.
|
DefaultVerticalExtent(VerticalExtent object)
Constructs a new instance initialized with the values from the specified metadata object.
|
| Modifier and Type | Method and Description |
|---|---|
static DefaultVerticalExtent |
castOrCopy(VerticalExtent object)
Returns a SIS metadata implementation with the values of the given arbitrary implementation.
|
Double |
getMaximumValue()
Returns the highest vertical extent contained in the dataset.
|
Double |
getMinimumValue()
Returns the lowest vertical extent contained in the dataset.
|
VerticalCRS |
getVerticalCRS()
Provides information about the vertical coordinate reference system to
which the maximum and minimum elevation values are measured.
|
void |
setBounds(Envelope envelope)
Sets this vertical extent to values inferred from the specified envelope.
|
void |
setMaximumValue(Double newValue)
Sets the highest vertical extent contained in the dataset.
|
void |
setMinimumValue(Double newValue)
Sets the lowest vertical extent contained in the dataset.
|
void |
setVerticalCRS(VerticalCRS newValue)
Sets the information about the vertical coordinate reference system to
which the maximum and minimum elevation values are measured.
|
getIdentifierMap, getIdentifiers, getStandardcheckWritePermission, clone, collectionType, copyCollection, copyList, copySet, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, singleton, unmodifiable, writeCollection, writeList, writeSetasMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toStringpublic DefaultVerticalExtent()
public DefaultVerticalExtent(double minimumValue,
double maximumValue,
VerticalCRS verticalCRS)
minimumValue - The lowest vertical extent contained in the dataset, or Double.NaN if none.maximumValue - The highest vertical extent contained in the dataset, or Double.NaN if none.verticalCRS - The information about the vertical coordinate reference system, or null.public DefaultVerticalExtent(VerticalExtent object)
object - The metadata to copy values from, or null if none.castOrCopy(VerticalExtent)public static DefaultVerticalExtent castOrCopy(VerticalExtent object)
null, then this method returns null.DefaultVerticalExtent, then it is returned unchanged.DefaultVerticalExtent instance is created using the
copy constructor
and returned. Note that this is a shallow copy operation, since the other
metadata contained in the given object are not recursively copied.object - The object to get as a SIS implementation, or null if none.null if the argument was null.public Double getMinimumValue()
getMinimumValue in interface VerticalExtentnull.public void setMinimumValue(Double newValue)
newValue - The new minimum value.public Double getMaximumValue()
getMaximumValue in interface VerticalExtentnull.public void setMaximumValue(Double newValue)
newValue - The new maximum value.public VerticalCRS getVerticalCRS()
getVerticalCRS in interface VerticalExtentnull.public void setVerticalCRS(VerticalCRS newValue)
newValue - The new vertical CRS.public void setBounds(Envelope envelope) throws TransformException
Note: this method is available only if the referencing module is on the classpath.
envelope - The envelope to use for setting this vertical extent.UnsupportedOperationException - if the referencing module is not on the classpath.TransformException - if the envelope can not be transformed to a vertical extent.DefaultExtent.addElements(Envelope),
DefaultGeographicBoundingBox.setBounds(Envelope),
DefaultTemporalExtent.setBounds(Envelope)Copyright © 2010–2015 The Apache Software Foundation. All rights reserved.