org.deegree.cs.transformations
Class TransformationSubstitutionTest

java.lang.Object
  extended by org.deegree.cs.transformations.TransformationSubstitutionTest
All Implemented Interfaces:
CRSDefines

public class TransformationSubstitutionTest
extends Object
implements CRSDefines

Tests the substitution of transformations.

Version:
$Revision: 31365 $, $Date: 2011-07-27 08:38:32 +0200 (Wed, 27 Jul 2011) $
Author:
Rutger Bezema, last edited by: $Author: lbuesching $

Field Summary
 
Fields inherited from interface org.deegree.cs.transformations.CRSDefines
axis_degree, axis_geocentric, axis_lat_lon, axis_projection, axis_y_x, datum_6171, datum_6258, datum_6289, datum_6314, DEGREE_EPSILON, ellipsoid_7004, ellipsoid_7019, EPSILON_D, EPSILON_M, geocentric_4964, geocentric_dummy, geographic_4258, geographic_4258_lat_lon, geographic_4289, geographic_4289_lat_lon, geographic_4314, geographic_4314_lat_lon, heightAxis, METER_EPSILON, projected_25832, projected_25832_lat_lon, projected_25832_yx, projected_28992, projected_28992_lat_lon, projected_28992_yx, projected_31467, projected_31467_lat_lon, projected_31467_yx, projection_25832, projection_25832_lat_lon, projection_28992, projection_28992_lat_lon, projection_31467, projection_31467_lat_lon, wgs_1188, wgs_1672, wgs_1777
 
Constructor Summary
TransformationSubstitutionTest()
           
 
Method Summary
 void oneFitsAll()
          Tests if the Substitute of the automated transformation chain is totally replaced by the given 'single' transformation.
 void substituteHelmertWithNTv2()
          Test if the substitute of usage of the helmert transformation chain can be replaced by a NTv2Transformation.
 void substituteHelmertWithNTv2GeographicLatLon_AxisXY()
          Test if the substitute of usage of the helmert transformation chain can be replaced by a NTv2Transformation.
 void substituteHypotheticalLeftConcat()
          Test if the first three transformations of the 'a' transformation are found while replacing the last 3.
 void substituteHypotheticalMiddleConcat()
          Test if the first three transformations of the 'a' transformation are found while replacing the last 3.
 void substituteHypotheticalRightConcat()
          Test if the last three transformations of the 'a' transformation are found while replacing the first 3.
 void substituteInverseProjection()
          Test if the substitute of the first (inverse) projection works.
 void substituteNTv2WithHelmert()
          Test if the substitute of usage of the helmert transformation chain can be replaced by a NTv2Transformation.
 void substituteProjection()
          Test if the substitute of the last projection works.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransformationSubstitutionTest

public TransformationSubstitutionTest()
Method Detail

oneFitsAll

public void oneFitsAll()
                throws IllegalArgumentException,
                       TransformationException
Tests if the Substitute of the automated transformation chain is totally replaced by the given 'single' transformation.

Throws:
IllegalArgumentException
TransformationException

substituteInverseProjection

public void substituteInverseProjection()
                                 throws IllegalArgumentException,
                                        TransformationException
Test if the substitute of the first (inverse) projection works.

Throws:
IllegalArgumentException
TransformationException

substituteProjection

public void substituteProjection()
                          throws IllegalArgumentException,
                                 TransformationException
Test if the substitute of the last projection works.

Throws:
IllegalArgumentException
TransformationException

substituteHelmertWithNTv2

public void substituteHelmertWithNTv2()
                               throws IllegalArgumentException,
                                      TransformationException
Test if the substitute of usage of the helmert transformation chain can be replaced by a NTv2Transformation.

Throws:
IllegalArgumentException
TransformationException

substituteHelmertWithNTv2GeographicLatLon_AxisXY

public void substituteHelmertWithNTv2GeographicLatLon_AxisXY()
                                                      throws IllegalArgumentException,
                                                             TransformationException
Test if the substitute of usage of the helmert transformation chain can be replaced by a NTv2Transformation.

Throws:
IllegalArgumentException
TransformationException

substituteNTv2WithHelmert

public void substituteNTv2WithHelmert()
                               throws IllegalArgumentException,
                                      TransformationException
Test if the substitute of usage of the helmert transformation chain can be replaced by a NTv2Transformation.

Throws:
IllegalArgumentException
TransformationException

substituteHypotheticalRightConcat

public void substituteHypotheticalRightConcat()
                                       throws IllegalArgumentException,
                                              TransformationException
Test if the last three transformations of the 'a' transformation are found while replacing the first 3.

Throws:
IllegalArgumentException
TransformationException

substituteHypotheticalLeftConcat

public void substituteHypotheticalLeftConcat()
                                      throws IllegalArgumentException,
                                             TransformationException
Test if the first three transformations of the 'a' transformation are found while replacing the last 3.

Throws:
IllegalArgumentException
TransformationException

substituteHypotheticalMiddleConcat

public void substituteHypotheticalMiddleConcat()
                                        throws IllegalArgumentException,
                                               TransformationException
Test if the first three transformations of the 'a' transformation are found while replacing the last 3.

Throws:
IllegalArgumentException
TransformationException


Copyright © 2011. All Rights Reserved.