@Test public void testArrayOverwrite() { int srcOff = 0; int dstOff = 2; int numPts = 2; float[] overWriteTestArray = srcFloat2.clone(); molodenski00.transform(overWriteTestArray, srcOff, overWriteTestArray, dstOff, numPts); int dim = 2; for (int i=0; i<numPts; i++) { assertEquals(srcFloat2[srcOff+dim*i ], overWriteTestArray[dstOff+dim*i ], 1E-6); assertEquals(srcFloat2[srcOff+dim*i+1], overWriteTestArray[dstOff+dim*i+1], 1E-6); } }
public void transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts) { transform(null, srcPts, srcOff, null, dstPts, dstOff, numPts); assert !(target3D && srcPts!=dstPts && (maxError(null, srcPts, srcOff, null, dstPts, dstOff, numPts)) > EPS); }
MolodenskiTransform extends AbstractMathTransform implements Serializable { public void transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts) { transform(null, srcPts, srcOff, null, dstPts, dstOff, numPts); assert !(target3D && srcPts!=dstPts && (maxError(null, srcPts, srcOff, null, dstPts, dstOff, numPts)) > EPS); } }
MolodenskiTransform extends AbstractMathTransform implements Serializable { public void transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts) { transform(null, srcPts, srcOff, null, dstPts, dstOff, numPts); assert !(target3D && srcPts!=dstPts && (maxError(null, srcPts, srcOff, null, dstPts, dstOff, numPts)) > EPS); } MolodenskiTransform(final boolean abridged,
                               final double  a, final double  b, final boolean source3D,
                               final double ta, final double tb, final boolean target3D,
                               final double dx, final double dy, final double  dz); }
MolodenskiTransform extends AbstractMathTransform implements Serializable { public void transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts) { transform(null, srcPts, srcOff, null, dstPts, dstOff, numPts); assert !(target3D && srcPts!=dstPts && (maxError(null, srcPts, srcOff, null, dstPts, dstOff, numPts)) > EPS); } MolodenskiTransform(final boolean abridged,
                               final double  a, final double  b, final boolean source3D,
                               final double ta, final double tb, final boolean target3D,
                               final double dx, final double dy, final double  dz); @Override ParameterDescriptorGroup getParameterDescriptors(); @Override ParameterValueGroup getParameterValues(); int getSourceDimensions(); final int getTargetDimensions(); void transform(double[] srcPts, int srcOff,
                          double[] dstPts, int dstOff, int numPts); @Override void transform(final float[] srcPts, int srcOff,
                          final float[] dstPts, int dstOff, int numPts); @Override boolean isIdentity(); @Override MathTransform inverse(); @Override final int hashCode(); @Override final boolean equals(final Object object); }
MolodenskiTransform extends AbstractMathTransform implements Serializable { public void transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts) { transform(null, srcPts, srcOff, null, dstPts, dstOff, numPts); assert !(target3D && srcPts!=dstPts && (maxError(null, srcPts, srcOff, null, dstPts, dstOff, numPts)) > EPS); } MolodenskiTransform(final boolean abridged,
                               final double  a, final double  b, final boolean source3D,
                               final double ta, final double tb, final boolean target3D,
                               final double dx, final double dy, final double  dz); @Override ParameterDescriptorGroup getParameterDescriptors(); @Override ParameterValueGroup getParameterValues(); int getSourceDimensions(); final int getTargetDimensions(); void transform(double[] srcPts, int srcOff,
                          double[] dstPts, int dstOff, int numPts); @Override void transform(final float[] srcPts, int srcOff,
                          final float[] dstPts, int dstOff, int numPts); @Override boolean isIdentity(); @Override MathTransform inverse(); @Override final int hashCode(); @Override final boolean equals(final Object object);  }