public class DefaultAffineCS extends AbstractCS implements AffineCS
AffineCS shall have two or three axis.
| Used with CRS type(s) |
|---|
Engineering,
Image
|
DefaultCartesianCS,
Serialized FormEMPTY_ALIAS_ARRAY, EMPTY_IDENTIFIER_ARRAY, IDENTIFIER_COMPARATOR, NAME_COMPARATOR, REMARKS_COMPARATORSINGLE_LINEALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY| Constructor and Description |
|---|
DefaultAffineCS(AffineCS cs)
Constructs a new coordinate system with the same values than the specified one.
|
DefaultAffineCS(Map<String,?> properties,
CoordinateSystemAxis axis0,
CoordinateSystemAxis axis1)
Constructs a two-dimensional coordinate system from a set of properties.
|
DefaultAffineCS(Map<String,?> properties,
CoordinateSystemAxis axis0,
CoordinateSystemAxis axis1,
CoordinateSystemAxis axis2)
Constructs a three-dimensional coordinate system from a set of properties.
|
DefaultAffineCS(String name,
CoordinateSystemAxis axis0,
CoordinateSystemAxis axis1)
Constructs a two-dimensional coordinate system from a name.
|
DefaultAffineCS(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. |
protected boolean |
isCompatibleUnit(AxisDirection direction,
Unit<?> unit)
Returns
true if the specified unit is compatible with meters. |
distance, equals, formatWKT, getAxis, getDimension, hashCode, standard, swapAndScaleAxisasSet, 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, toWKTgetAxis, getDimensiongetAlias, getIdentifiers, getName, getRemarks, toWKTpublic DefaultAffineCS(AffineCS cs)
cs - The coordinate system to copy.public DefaultAffineCS(String name, CoordinateSystemAxis axis0, CoordinateSystemAxis axis1)
name - The coordinate system name.axis0 - The first axis.axis1 - The second axis.public DefaultAffineCS(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 DefaultAffineCS(Map<String,?> properties, CoordinateSystemAxis axis0, CoordinateSystemAxis axis1)
properties - Set of properties. Should contains at least "name".axis0 - The first axis.axis1 - The second axis.public DefaultAffineCS(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 AbstractCSdirection - The direction to test for compatibility.true if the given direction is compatible with this coordinate system.protected boolean isCompatibleUnit(AxisDirection direction, Unit<?> unit)
true if the specified unit is compatible with meters.
In addition, this method also accepts Unit#ONE, which is used for coordinates in a
grid. This method is invoked at construction time for checking units compatibility.isCompatibleUnit in class AbstractCSdirection - The direction of the axis having the given unit.unit - The unit to test for compatibility.true if the given unit is compatible with this coordinate system.Copyright © 1996–2019 Geotools. All rights reserved.