| org.geotools.referencing.cs.AbstractCS org.geotools.referencing.cs.DefaultAffineCS
All known Subclasses: org.geotools.referencing.cs.DefaultCartesianCS,
DefaultAffineCS | public class DefaultAffineCS extends AbstractCS implements AffineCS(Code) | | A two- or three-dimensional coordinate system with straight axes that are not necessarily
orthogonal. An
AffineCS shall have two or three
.
since: 2.1 version: $Id: DefaultAffineCS.java 24683 2007-03-06 06:02:15Z desruisseaux $ author: Martin Desruisseaux See Also: DefaultCartesianCS |
Constructor Summary | |
public | DefaultAffineCS(AffineCS cs) Constructs a new coordinate system with the same values than the specified one.
This copy constructor provides a way to wrap an arbitrary implementation into a
Geotools one or a user-defined one (as a subclass), usually in order to leverage
some implementation-specific API. | public | DefaultAffineCS(String name, CoordinateSystemAxis axis0, CoordinateSystemAxis axis1) Constructs a two-dimensional coordinate system from a name. | public | DefaultAffineCS(String name, CoordinateSystemAxis axis0, CoordinateSystemAxis axis1, CoordinateSystemAxis axis2) Constructs a three-dimensional coordinate system from a name. | public | DefaultAffineCS(Map properties, CoordinateSystemAxis axis0, CoordinateSystemAxis axis1) Constructs a two-dimensional coordinate system from a set of properties.
The properties map is given unchanged to the
.
Parameters: properties - Set of properties. | public | DefaultAffineCS(Map properties, CoordinateSystemAxis axis0, CoordinateSystemAxis axis1, CoordinateSystemAxis axis2) Constructs a three-dimensional coordinate system from a set of properties.
The properties map is given unchanged to the superclass constructor.
Parameters: properties - Set of properties. | | DefaultAffineCS(Map properties, CoordinateSystemAxis[] axis) For
DefaultAffineCS.usingUnit and
PredefinedCS.rightHanded usage only. |
Method Summary | |
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
.
In addition, this method also accepts
Unit.ONE , which is used for coordinates in a
grid. |
DefaultAffineCS | public DefaultAffineCS(AffineCS cs)(Code) | | Constructs a new coordinate system with the same values than the specified one.
This copy constructor provides a way to wrap an arbitrary implementation into a
Geotools one or a user-defined one (as a subclass), usually in order to leverage
some implementation-specific API. This constructor performs a shallow copy,
i.e. the properties are not cloned.
since: 2.2 |
DefaultAffineCS | public DefaultAffineCS(String name, CoordinateSystemAxis axis0, CoordinateSystemAxis axis1)(Code) | | Constructs a two-dimensional coordinate system from a name.
Parameters: name - The coordinate system name. Parameters: axis0 - The first axis. Parameters: axis1 - The second axis. |
DefaultAffineCS | public DefaultAffineCS(String name, CoordinateSystemAxis axis0, CoordinateSystemAxis axis1, CoordinateSystemAxis axis2)(Code) | | Constructs a three-dimensional coordinate system from a name.
Parameters: name - The coordinate system name. Parameters: axis0 - The first axis. Parameters: axis1 - The second axis. Parameters: axis2 - The third axis. |
DefaultAffineCS | public DefaultAffineCS(Map properties, CoordinateSystemAxis axis0, CoordinateSystemAxis axis1)(Code) | | Constructs a two-dimensional coordinate system from a set of properties.
The properties map is given unchanged to the
.
Parameters: properties - Set of properties. Should contains at least "name" . Parameters: axis0 - The first axis. Parameters: axis1 - The second axis. |
DefaultAffineCS | public DefaultAffineCS(Map properties, CoordinateSystemAxis axis0, CoordinateSystemAxis axis1, CoordinateSystemAxis axis2)(Code) | | Constructs a three-dimensional coordinate system from a set of properties.
The properties map is given unchanged to the superclass constructor.
Parameters: properties - Set of properties. Should contains at least "name" . Parameters: axis0 - The first axis. Parameters: axis1 - The second axis. Parameters: axis2 - The third axis. |
isCompatibleDirection | protected boolean isCompatibleDirection(AxisDirection direction)(Code) | | Returns
true if the specified axis direction is allowed for this coordinate
system. The default implementation accepts all directions except temporal ones (i.e.
AxisDirection.FUTURE FUTURE and
AxisDirection.PAST PAST ).
|
isCompatibleUnit | protected boolean isCompatibleUnit(AxisDirection direction, Unit unit)(Code) | | Returns
true if the specified unit is compatible with
.
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.
since: 2.2 |
|
|