public class DefaultGeocentricCRS extends AbstractSingleCRS implements GeocentricCRS
| Used with CS type(s) |
|---|
Cartesian,
Spherical
|
| Modifier and Type | Field and Description |
|---|---|
static DefaultGeocentricCRS |
CARTESIAN
The default geocentric CRS with a cartesian
coordinate system.
|
static DefaultGeocentricCRS |
SPHERICAL
The default geocentric CRS with a spherical
coordinate system.
|
datumcoordinateSystemEMPTY_ALIAS_ARRAY, EMPTY_IDENTIFIER_ARRAY, IDENTIFIER_COMPARATOR, NAME_COMPARATOR, REMARKS_COMPARATORSINGLE_LINEDOMAIN_OF_VALIDITY_KEY, SCOPE_KEYALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY| Constructor and Description |
|---|
DefaultGeocentricCRS(GeocentricCRS crs)
Constructs a new geocentric CRS with the same values than the specified one.
|
DefaultGeocentricCRS(Map<String,?> properties,
GeodeticDatum datum,
CartesianCS cs)
Constructs a geographic CRS from a set of properties.
|
DefaultGeocentricCRS(Map<String,?> properties,
GeodeticDatum datum,
SphericalCS cs)
Constructs a geographic CRS from a set of properties.
|
DefaultGeocentricCRS(String name,
GeodeticDatum datum,
CartesianCS cs)
Constructs a geocentric CRS from a name.
|
DefaultGeocentricCRS(String name,
GeodeticDatum datum,
SphericalCS cs)
Constructs a geocentric CRS from a name.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
formatWKT(Formatter formatter)
Format the inner part of a Well
Known Text (WKT) element.
|
GeodeticDatum |
getDatum()
Returns the datum.
|
int |
hashCode()
Returns a hash value for this geocentric CRS.
|
equals, getAxis, getDimensiondistance, getCoordinateSystemgetDomainOfValidity, 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, toWKTgetCoordinateSystemgetDomainOfValidity, getScopegetAlias, getIdentifiers, getName, getRemarks, toWKTpublic static final DefaultGeocentricCRS CARTESIAN
public static final DefaultGeocentricCRS SPHERICAL
public DefaultGeocentricCRS(GeocentricCRS crs)
crs - The coordinate reference system to copy.public DefaultGeocentricCRS(String name, GeodeticDatum datum, CartesianCS cs)
name - The name.datum - The datum.cs - The coordinate system.public DefaultGeocentricCRS(String name, GeodeticDatum datum, SphericalCS cs)
name - The name.datum - The datum.cs - The coordinate system.public DefaultGeocentricCRS(Map<String,?> properties, GeodeticDatum datum, CartesianCS cs)
properties - Set of properties. Should contains at least "name".datum - The datum.cs - The coordinate system.public DefaultGeocentricCRS(Map<String,?> properties, GeodeticDatum datum, SphericalCS cs)
properties - Set of properties. Should contains at least "name".datum - The datum.cs - The coordinate system.public GeodeticDatum getDatum()
getDatum in interface GeodeticCRSgetDatum in interface SingleCRSgetDatum in class AbstractSingleCRSpublic int hashCode()
hashCode in class AbstractSingleCRSprotected String formatWKT(Formatter formatter)
formatWKT in class AbstractCRSformatter - The formatter to use."GEOCCS".Formattable.toWKT(),
Formattable.toString()Copyright © 1996–2019 Geotools. All rights reserved.