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.
|
datum
coordinateSystem
EMPTY_ALIAS_ARRAY, EMPTY_IDENTIFIER_ARRAY, IDENTIFIER_COMPARATOR, NAME_COMPARATOR, REMARKS_COMPARATOR
SINGLE_LINE
DOMAIN_OF_VALIDITY_KEY, SCOPE_KEY
ALIAS_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, getDimension
distance, getCoordinateSystem
getDomainOfValidity, getScope, getValidArea
asSet, ensureAngularUnit, ensureLinearUnit, ensureNonNull, ensureNonNull, ensureTimeUnit, equals, equals, equals, equals, getAlias, getIdentifier, getIdentifier, getIdentifiers, getName, getName, getName, getProperties, getProperties, getRemarks, nameMatches, nameMatches, nameMatches
cleanupThreadLocals, toString, toWKT, toWKT, toWKT, toWKT
getCoordinateSystem
getDomainOfValidity, getScope
getAlias, getIdentifiers, getName, getRemarks, toWKT
public 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 GeodeticCRS
getDatum
in interface SingleCRS
getDatum
in class AbstractSingleCRS
public int hashCode()
hashCode
in class AbstractSingleCRS
protected String formatWKT(Formatter formatter)
formatWKT
in class AbstractCRS
formatter
- The formatter to use."GEOCCS"
.Formattable.toWKT()
,
Formattable.toString()
Copyright © 1996–2019 Geotools. All rights reserved.