public class DefaultNominalResolution extends ISOMetadata implements NominalResolution
LE_NominalResolution
├─scanningResolution…… Distance between consistent parts of (centre, left side, right side) adjacent pixels in the scan plane.
└─groundResolution………… Distance between consistent parts of (centre, left side, right side) adjacent pixels in the object space.Limitations:
XML instead.Defined in the sis-metadata module
identifiers| Constructor and Description |
|---|
DefaultNominalResolution()
Constructs an initially empty nominal resolution.
|
DefaultNominalResolution(NominalResolution object)
Constructs a new instance initialized with the values from the specified metadata object.
|
| Modifier and Type | Method and Description |
|---|---|
static DefaultNominalResolution |
castOrCopy(NominalResolution object)
Returns a SIS metadata implementation with the values of the given arbitrary implementation.
|
Double |
getGroundResolution()
Returns the distance between consistent parts of (centre, left side, right side) adjacent
pixels in the object space.
|
Double |
getScanningResolution()
Returns the distance between consistent parts of (centre, left side, right side)
adjacent pixels in the scan plane.
|
void |
setGroundResolution(Double newValue)
Sets the distance between consistent parts of (centre, left side, right side) adjacent pixels
in the object space.
|
void |
setScanningResolution(Double newValue)
Sets the distance between consistent parts of (centre, left side, right side) adjacent
pixels in the scan plane.
|
freeze, getIdentifierMap, getIdentifiers, getStandardcheckWritePermission, clone, collectionType, copyCollection, copyList, copySet, isModifiable, nonNullCollection, nonNullList, nonNullSet, singleton, unmodifiable, writeCollection, writeList, writeSetasMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toStringpublic DefaultNominalResolution()
public DefaultNominalResolution(NominalResolution object)
object - the metadata to copy values from, or null if none.castOrCopy(NominalResolution)public static DefaultNominalResolution castOrCopy(NominalResolution object)
null, then this method returns null.DefaultNominalResolution, then it is returned unchanged.DefaultNominalResolution 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.@ValueRange(minimum=0.0, isMinIncluded=false) public Double getScanningResolution()
getScanningResolution in interface NominalResolutionnull.public void setScanningResolution(Double newValue)
newValue - the new scanning resolution value.IllegalArgumentException - if the given value is NaN, zero or negative.@ValueRange(minimum=0.0, isMinIncluded=false) public Double getGroundResolution()
getGroundResolution in interface NominalResolutionnull.public void setGroundResolution(Double newValue)
newValue - the new ground resolution value.IllegalArgumentException - if the given value is NaN, zero or negative.Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.