/** * Constructs a provider with default parameters. */ public GeographicOffsets() { super(3, 3, PARAMETERS, new GeographicOffsets[4]); redimensioned[0] = new GeographicOffsets2D(redimensioned); redimensioned[1] = new GeographicOffsets(2, 3, PARAMETERS, redimensioned); redimensioned[2] = new GeographicOffsets(3, 2, PARAMETERS, redimensioned); redimensioned[3] = this; }
/** * Constructs a provider with default parameters. */ public GeographicOffsets() { super(3, 3, PARAMETERS, new GeographicOffsets[4]); redimensioned[0] = new GeographicOffsets2D(redimensioned); redimensioned[1] = new GeographicOffsets(2, 3, PARAMETERS, redimensioned); redimensioned[2] = new GeographicOffsets(3, 2, PARAMETERS, redimensioned); redimensioned[3] = this; }
/** * Tests {@code GeographicOffsets2D.createMathTransform(…)}. * This test uses the sample point given in §2.4.4.3 of EPSG guide (April 2015). * * @throws FactoryException should never happen. * @throws TransformException should never happen. */ @Test public void testGeographicOffsets2D() throws FactoryException, TransformException { testCreateMathTransform(new GeographicOffsets()); }