/** * Constructs the provider. */ public GeocentricTranslation3D() { this(3, 3, new GeocentricAffineBetweenGeographic[4]); redimensioned[0] = new GeocentricTranslation2D( redimensioned); redimensioned[1] = new GeocentricTranslation3D(2, 3, redimensioned); redimensioned[2] = new GeocentricTranslation3D(3, 2, redimensioned); redimensioned[3] = this; }
/** * Constructs the provider. */ public GeocentricTranslation3D() { this(3, 3, new GeocentricAffineBetweenGeographic[4]); redimensioned[0] = new GeocentricTranslation2D( redimensioned); redimensioned[1] = new GeocentricTranslation3D(2, 3, redimensioned); redimensioned[2] = new GeocentricTranslation3D(3, 2, redimensioned); redimensioned[3] = this; }
/** * Tests Well Known Text formatting of a two-dimensional transform. * The main point of this test is to verify that Geographic 2D/3D conversions have been * inserted before and after the transform, and that Geographic/Geocentric conversions * have been replaced by Bursa-Wolf parameters for formatting purpose. * * @throws FactoryException if an error occurred while creating the transform. */ @Test @DependsOnMethod("testWKT3D") public void testWKT2D() throws FactoryException { create(new GeocentricTranslation2D()); verifyWKT2D(); }