public class DefaultSphericalCS extends AbstractCS implements SphericalCS
SphericalCS
shall have three
axis.
Used with CRS type(s) |
---|
Geocentric ,
Engineering
|
Modifier and Type | Field and Description |
---|---|
static DefaultSphericalCS |
GEOCENTRIC
|
EMPTY_ALIAS_ARRAY, EMPTY_IDENTIFIER_ARRAY, IDENTIFIER_COMPARATOR, NAME_COMPARATOR, REMARKS_COMPARATOR
SINGLE_LINE
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
Constructor and Description |
---|
DefaultSphericalCS(Map<String,?> properties,
CoordinateSystemAxis axis0,
CoordinateSystemAxis axis1,
CoordinateSystemAxis axis2)
Constructs a three-dimensional coordinate system from a set of properties.
|
DefaultSphericalCS(SphericalCS cs)
Constructs a new coordinate system with the same values than the specified one.
|
DefaultSphericalCS(String name,
CoordinateSystemAxis axis0,
CoordinateSystemAxis axis1,
CoordinateSystemAxis axis2)
Constructs a three-dimensional coordinate system from a name.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
isCompatibleDirection(AxisDirection direction)
Returns
true if the specified axis direction is allowed for this coordinate system. |
distance, equals, formatWKT, getAxis, getDimension, hashCode, isCompatibleUnit, standard, swapAndScaleAxis
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
getAxis, getDimension
getAlias, getIdentifiers, getName, getRemarks, toWKT
public static DefaultSphericalCS GEOCENTRIC
DefaultCartesianCS.GEOCENTRIC
public DefaultSphericalCS(String name, CoordinateSystemAxis axis0, CoordinateSystemAxis axis1, CoordinateSystemAxis axis2)
name
- The coordinate system name.axis0
- The first axis.axis1
- The second axis.axis2
- The third axis.public DefaultSphericalCS(SphericalCS cs)
public DefaultSphericalCS(Map<String,?> properties, CoordinateSystemAxis axis0, CoordinateSystemAxis axis1, CoordinateSystemAxis axis2)
properties
- Set of properties. Should contains at least "name"
.axis0
- The first axis.axis1
- The second axis.axis2
- The third axis.protected boolean isCompatibleDirection(AxisDirection direction)
true
if the specified axis direction is allowed for this coordinate system.
The default implementation accepts all directions except temporal ones (i.e. FUTURE
and PAST
).isCompatibleDirection
in class AbstractCS
direction
- The direction to test for compatibility.true
if the given direction is compatible with this coordinate system.Copyright © 1996–2019 Geotools. All rights reserved.