|
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree.model.csct.cs.Info
org.deegree.model.csct.ct.CoordinateTransformation
public class CoordinateTransformation
Describes a coordinate transformation. A coordinate transformation class establishes an
association between a source and a target coordinate reference system, and provides a
MathTransform
for transforming coordinates in the source coordinate reference system to
coordinates in the target coordinate reference system. These coordinate systems can be ground or
image coordinates. In general mathematics, "transformation" is the general term for mappings
between coordinate systems (see tensor analysis).
For a ground coordinate point, if the transformation depends only on mathematically derived
parameters (as in a cartographic projection), then this is an ISO conversion. If the
transformation depends on empirically derived parameters (as in datum transformations), then this
is an ISO transformation.
Field Summary | |
---|---|
(package private) CoordinateTransformation |
inverse
The inverse transform. |
protected MathTransform |
transform
The underlying math transform, or null if it doesn't has been constructed yet. |
Constructor Summary | |
---|---|
CoordinateTransformation(String name,
CoordinateSystem sourceCS,
CoordinateSystem targetCS,
TransformType type,
MathTransform transform)
Construct a coordinate transformation. |
Method Summary | |
---|---|
boolean |
equals(Object object)
Compares the specified object with this coordinate transformation for equality. |
MathTransform |
getMathTransform()
Gets the math transform. |
String |
getName()
Gets the name of this coordinate transformation. |
CoordinateSystem |
getSourceCS()
Gets the source coordinate system. |
CoordinateSystem |
getTargetCS()
Gets the target coordinate system. |
TransformType |
getTransformType()
Gets the semantic type of transform. |
int |
hashCode()
Returns a hash value for this coordinate transformation. |
CoordinateTransformation |
inverse()
Returns the inverse transform of this object. |
Methods inherited from class org.deegree.model.csct.cs.Info |
---|
ensureNonNull, getAbbreviation, getAlias, getAuthority, getAuthorityCode, getRemarks, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected MathTransform transform
null
if it doesn't has been constructed yet.
If null
, then subclass must initialize this field the first
time getMathTransform()
is invoked.
transient CoordinateTransformation inverse
Constructor Detail |
---|
public CoordinateTransformation(String name, CoordinateSystem sourceCS, CoordinateSystem targetCS, TransformType type, MathTransform transform)
name
- The coordinate transformation name, or null
for an automatically
generated name.sourceCS
- The source coordinate system.targetCS
- The destination coordinate system.type
- The transform type.transform
- The math transform. This argument is allowed to be null
only if
this constructor is invoked from within a subclass constructor. In this case, the
subclass must construct a math transform no later than the first
time getMathTransform()
is invoked.Method Detail |
---|
public String getName()
getName
in class Info
locale
- The desired locale, or null
for the default locale.
public CoordinateSystem getSourceCS()
public CoordinateSystem getTargetCS()
public TransformType getTransformType()
public MathTransform getMathTransform()
public CoordinateTransformation inverse() throws NoninvertibleTransformException
NoninvertibleTransformException
public int hashCode()
hashCode
in class Info
public boolean equals(Object object)
equals
in class Info
object
-
|
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net