/** * Returns the concatenation of this transform by the given scale and offset. * This method does not check if a simplification is possible. */ private MathTransform1D concatenate(final double scale, final double offset) { final LinearTransform1D t = LinearTransform1D.create(scale, offset); return t.isIdentity() ? this : new ConcatenatedTransformDirect1D(this, t); }
/** * Returns the concatenation of this transform by the given scale and offset. * This method does not check if a simplification is possible. */ private MathTransform1D concatenate(final double scale, final double offset) { final LinearTransform1D t = LinearTransform1D.create(scale, offset); return t.isIdentity() ? this : new ConcatenatedTransformDirect1D(this, t); }