deegree 2.1 (2007/11/08 09:57 build-328-official)

org.deegree.model.csct.ct
Class TransverseMercatorProjection

java.lang.Object
  extended by org.deegree.model.csct.ct.AbstractMathTransform
      extended by org.deegree.model.csct.ct.MapProjection
          extended by org.deegree.model.csct.ct.CylindricalProjection
              extended by org.deegree.model.csct.ct.TransverseMercatorProjection
All Implemented Interfaces:
MathTransform, MathTransform2D

final class TransverseMercatorProjection
extends CylindricalProjection

Projections de Mercator tranverses Universelle et Modifi�e. Il s'agit de la projection Mercator cylindrique, mais dans lequel le cylindre a subit une rotation de 90�. Au lieu d'�tre tangeant � l'�quateur (ou � une autre latitude standard), le cylindre de la projection tranverse est tangeant � un m�ridien central. Les d�formation deviennent de plus en plus importantes � mesure que l'on s'�loigne du m�ridien central. Cette projection est appropri�e pour les r�gions qui s'�tendent d'avantage dans le sens nord-sud que dans le sens est-ouest. R�f�rence: John P. Snyder (Map Projections - A Working Manual, U.S. Geological Survey Professional Paper 1395, 1987)

Version:
1.0
Author:
Andr� Gosselin, Martin Desruisseaux

Nested Class Summary
(package private) static class TransverseMercatorProjection.Provider
          Informations about a TransverseMercatorProjection.
 
Field Summary
 
Fields inherited from class org.deegree.model.csct.ct.MapProjection
a, b, centralLatitude, centralMeridian, e, EPS, es, false_easting, false_northing, isSpherical, TOL
 
Constructor Summary
protected TransverseMercatorProjection(Projection parameters)
          Construct a new map projection from the suplied parameters.
protected TransverseMercatorProjection(Projection parameters, boolean modified)
          Construct a new map projection from the suplied parameters.
 
Method Summary
 boolean equals(Object object)
          Compares the specified object with this map projection for equality.
 String getName()
          Returns a human readable name localized for the specified locale.
 int hashCode()
          Returns a hash value for this projection.
protected  Point2D inverseTransform(double x, double y, Point2D ptDst)
          Transforms the specified (x,y) coordinate and stores the result in ptDst.
(package private)  void toString(StringBuffer buffer)
          Impl�mentation de la partie entre crochets de la cha�ne retourn�e par MapProjection.toString().
protected  Point2D transform(double x, double y, Point2D ptDst)
          Transforms the specified (x,y) coordinate and stores the result in ptDst.
 
Methods inherited from class org.deegree.model.csct.ct.MapProjection
cphi2, createTransformedShape, getDimSource, getDimTarget, inverse, inverseTransform, inverseTransform, inverseTransform, isIdentity, latitudeToRadians, longitudeToRadians, msfn, toString, transform, transform, transform, tsfn
 
Methods inherited from class org.deegree.model.csct.ct.AbstractMathTransform
addParameter, addParameter, createTransformedShape, derivative, derivative, paramMT, transform
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.deegree.model.csct.ct.MathTransform2D
derivative
 
Methods inherited from interface org.deegree.model.csct.ct.MathTransform
derivative, transform
 

Constructor Detail

TransverseMercatorProjection

protected TransverseMercatorProjection(Projection parameters)
                                throws MissingParameterException
Construct a new map projection from the suplied parameters. Projection will default to Universal Transverse Mercator (UTM).

Parameters:
parameters - The parameter values in standard units.
Throws:
MissingParameterException - if a mandatory parameter is missing.

TransverseMercatorProjection

protected TransverseMercatorProjection(Projection parameters,
                                       boolean modified)
                                throws MissingParameterException
Construct a new map projection from the suplied parameters.

Parameters:
parameters - The parameter values in standard units.
modified - true for MTM, false for UTM.
Throws:
MissingParameterException - if a mandatory parameter is missing.
Method Detail

getName

public String getName()
Returns a human readable name localized for the specified locale.

Specified by:
getName in class MapProjection
Returns:
The transform name localized in the specified locale if possible, or null if no name is available in any locale.

transform

protected Point2D transform(double x,
                            double y,
                            Point2D ptDst)
                     throws TransformException
Transforms the specified (x,y) coordinate and stores the result in ptDst.

Specified by:
transform in class MapProjection
Parameters:
x - The longitude of the coordinate, in radians.
y - The latitude of the coordinate, in radians.
ptDst - the specified coordinate point that stores the result of transforming ptSrc, or null. Ordinates will be in metres.
Returns:
the coordinate point after transforming ptSrc and stroring the result in ptDst.
Throws:
TransformException - if the point can't be transformed.

inverseTransform

protected Point2D inverseTransform(double x,
                                   double y,
                                   Point2D ptDst)
                            throws TransformException
Transforms the specified (x,y) coordinate and stores the result in ptDst.

Specified by:
inverseTransform in class MapProjection
Parameters:
x - The longitude of the coordinate, in metres.
y - The latitude of the coordinate, in metres.
ptDst - the specified coordinate point that stores the result of transforming ptSrc, or null. Ordinates will be in radians.
Returns:
the coordinate point after transforming ptSrc and stroring the result in ptDst.
Throws:
TransformException - if the point can't be transformed.

hashCode

public int hashCode()
Returns a hash value for this projection.

Overrides:
hashCode in class MapProjection

equals

public boolean equals(Object object)
Compares the specified object with this map projection for equality.

Overrides:
equals in class MapProjection

toString

void toString(StringBuffer buffer)
Impl�mentation de la partie entre crochets de la cha�ne retourn�e par MapProjection.toString().

Overrides:
toString in class MapProjection

deegree 2.1 (2007/11/08 09:57 build-328-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net