public class DefaultVerticalDatum extends AbstractDatum implements VerticalDatum
| Modifier and Type | Field and Description |
|---|---|
static DefaultVerticalDatum |
ELLIPSOIDAL
Default vertical datum for ellipsoidal heights.
|
static DefaultVerticalDatum |
GEOIDAL
Default vertical datum for geoidal heights.
|
EMPTY_ALIAS_ARRAY, EMPTY_IDENTIFIER_ARRAY, IDENTIFIER_COMPARATOR, NAME_COMPARATOR, REMARKS_COMPARATORSINGLE_LINEANCHOR_POINT_KEY, DOMAIN_OF_VALIDITY_KEY, REALIZATION_EPOCH_KEY, SCOPE_KEYALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY| Constructor and Description |
|---|
DefaultVerticalDatum(Map<String,?> properties,
VerticalDatumType type)
Constructs a vertical datum from a set of properties.
|
DefaultVerticalDatum(String name,
VerticalDatumType type)
Constructs a vertical datum from a name.
|
DefaultVerticalDatum(VerticalDatum datum)
Constructs a new datum with the same values than the specified one.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(AbstractIdentifiedObject object,
boolean compareMetadata)
Compare this vertical datum with the specified object for equality.
|
protected String |
formatWKT(Formatter formatter)
Format the inner part of a Well
Known Text (WKT) element.
|
VerticalDatumType |
getVerticalDatumType()
The type of this vertical datum.
|
static VerticalDatumType |
getVerticalDatumTypeFromLegacyCode(int code)
Returns the vertical datum type from a legacy code.
|
int |
hashCode()
Returns a hash value for this vertical datum.
|
getAnchorPoint, getDomainOfValidity, getRealizationEpoch, getScope, getValidAreaasSet, ensureAngularUnit, ensureLinearUnit, ensureNonNull, ensureNonNull, ensureTimeUnit, equals, equals, equals, equals, getAlias, getIdentifier, getIdentifier, getIdentifiers, getName, getName, getName, getProperties, getProperties, getRemarks, nameMatches, nameMatches, nameMatchescleanupThreadLocals, toString, toWKT, toWKT, toWKT, toWKTgetAnchorPoint, getDomainOfValidity, getRealizationEpoch, getScopegetAlias, getIdentifiers, getName, getRemarks, toWKTpublic static final DefaultVerticalDatum GEOIDAL
public static final DefaultVerticalDatum ELLIPSOIDAL
public DefaultVerticalDatum(String name, VerticalDatumType type)
name - The datum name.type - The type of this vertical datum.public DefaultVerticalDatum(VerticalDatum datum)
datum - The datum to copy.public DefaultVerticalDatum(Map<String,?> properties, VerticalDatumType type)
properties - Set of properties. Should contains at least "name".type - The type of this vertical datum.public VerticalDatumType getVerticalDatumType()
getVerticalDatumType in interface VerticalDatumpublic static VerticalDatumType getVerticalDatumTypeFromLegacyCode(int code)
code - The legacy vertical datum code.null if the code is unrecognized.public boolean equals(AbstractIdentifiedObject object, boolean compareMetadata)
equals in class AbstractDatumobject - The object to compare to this.compareMetadata - true for performing a strict comparaison, or false for
comparing only properties relevant to transformations.true if both objects are equal.public int hashCode()
equals(AbstractIdentifiedObject, false).hashCode in class AbstractIdentifiedObjectprotected String formatWKT(Formatter formatter)
formatWKT in class AbstractDatumformatter - The formatter to use.Formattable.toWKT(),
Formattable.toString()Copyright © 1996–2019 Geotools. All rights reserved.