@Test public void testGetParameterValues() { ParameterValueGroup pvg = transform.getParameterValues(); assertEquals(pvg.getDescriptor(), NADCONTransform.Provider.PARAMETERS); assertEquals(pvg.values().size(), 2); Object value = pvg.parameter("Latitude difference file").getValue(); assertTrue(value instanceof URI); assertEquals(value.toString(), STPAUL_LAS); value = pvg.parameter("Longitude difference file").getValue(); assertTrue(value instanceof URI); assertEquals(value.toString(), STPAUL_LOS); }
@Override public ParameterValueGroup getParameterValues() { final ParameterValue lat_diff_file = new Parameter(Provider.LAT_DIFF_FILE); lat_diff_file.setValue(latGridName); final ParameterValue long_diff_file = new Parameter(Provider.LONG_DIFF_FILE); long_diff_file.setValue(longGridName); return new ParameterGroup( getParameterDescriptors(), new GeneralParameterValue[] {lat_diff_file, long_diff_file}); }
NADCONTransform extends AbstractMathTransform implements MathTransform2D, Serializable { @Override public ParameterValueGroup getParameterValues() { final ParameterValue lat_diff_file = new Parameter(Provider.LAT_DIFF_FILE); lat_diff_file.setValue(latGridName); final ParameterValue long_diff_file = new Parameter(Provider.LONG_DIFF_FILE); long_diff_file.setValue(longGridName); return new ParameterGroup( getParameterDescriptors(), new GeneralParameterValue[] {lat_diff_file, long_diff_file}); } }
NADCONTransform extends AbstractMathTransform implements MathTransform2D, Serializable { @Override public ParameterValueGroup getParameterValues() { final ParameterValue lat_diff_file = new Parameter(Provider.LAT_DIFF_FILE); lat_diff_file.setValue(latGridName); final ParameterValue long_diff_file = new Parameter(Provider.LONG_DIFF_FILE); long_diff_file.setValue(longGridName); return new ParameterGroup( getParameterDescriptors(), new GeneralParameterValue[] {lat_diff_file, long_diff_file}); } NADCONTransform(final URI latGridName, final URI longGridName); }
NADCONTransform extends AbstractMathTransform implements MathTransform2D, Serializable { @Override public ParameterValueGroup getParameterValues() { final ParameterValue lat_diff_file = new Parameter(Provider.LAT_DIFF_FILE); lat_diff_file.setValue(latGridName); final ParameterValue long_diff_file = new Parameter(Provider.LONG_DIFF_FILE); long_diff_file.setValue(longGridName); return new ParameterGroup( getParameterDescriptors(), new GeneralParameterValue[] {lat_diff_file, long_diff_file}); } NADCONTransform(final URI latGridName, final URI longGridName); ParameterDescriptorGroup getParameterDescriptors(); @Override ParameterValueGroup getParameterValues(); int getSourceDimensions(); int getTargetDimensions(); void transform(
            final double[] srcPts, int srcOff, final double[] dstPts, int dstOff, int numPts); void inverseTransform(
            final double[] srcPts, int srcOff, final double[] dstPts, int dstOff, int numPts); @Override synchronized MathTransform2D inverse(); @Override int hashCode(); @Override boolean equals(Object object); @SuppressWarnings("PMD.CloseResource") static void main(String[] args); }
NADCONTransform extends AbstractMathTransform implements MathTransform2D, Serializable { @Override public ParameterValueGroup getParameterValues() { final ParameterValue lat_diff_file = new Parameter(Provider.LAT_DIFF_FILE); lat_diff_file.setValue(latGridName); final ParameterValue long_diff_file = new Parameter(Provider.LONG_DIFF_FILE); long_diff_file.setValue(longGridName); return new ParameterGroup( getParameterDescriptors(), new GeneralParameterValue[] {lat_diff_file, long_diff_file}); } NADCONTransform(final URI latGridName, final URI longGridName); ParameterDescriptorGroup getParameterDescriptors(); @Override ParameterValueGroup getParameterValues(); int getSourceDimensions(); int getTargetDimensions(); void transform(
            final double[] srcPts, int srcOff, final double[] dstPts, int dstOff, int numPts); void inverseTransform(
            final double[] srcPts, int srcOff, final double[] dstPts, int dstOff, int numPts); @Override synchronized MathTransform2D inverse(); @Override int hashCode(); @Override boolean equals(Object object); @SuppressWarnings("PMD.CloseResource") static void main(String[] args);  }