public class DefaultPolarCS extends AbstractCS implements PolarCS
PolarCS
shall have two axis.
Used with CRS type(s) |
---|
Engineering
|
DefaultCylindricalCS
,
Serialized FormEMPTY_ALIAS_ARRAY, EMPTY_IDENTIFIER_ARRAY, IDENTIFIER_COMPARATOR, NAME_COMPARATOR, REMARKS_COMPARATOR
SINGLE_LINE
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
Constructor and Description |
---|
DefaultPolarCS(Map<String,?> properties,
CoordinateSystemAxis axis0,
CoordinateSystemAxis axis1)
Constructs a two-dimensional coordinate system from a set of properties.
|
DefaultPolarCS(PolarCS cs)
Constructs a new coordinate system with the same values than the specified one.
|
DefaultPolarCS(String name,
CoordinateSystemAxis axis0,
CoordinateSystemAxis axis1)
Constructs a two-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 DefaultPolarCS(PolarCS cs)
public DefaultPolarCS(String name, CoordinateSystemAxis axis0, CoordinateSystemAxis axis1)
name
- The coordinate system name.axis0
- The first axis.axis1
- The second axis.public DefaultPolarCS(Map<String,?> properties, CoordinateSystemAxis axis0, CoordinateSystemAxis axis1)
properties
- Set of properties. Should contains at least "name"
.axis0
- The first axis.axis1
- The second 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.