If the transform is invertible, this method returns the value of pt
in the following code snippet:
double sx = (sourcePt.getX() + 0.5F)/postScaleX; double sy = (sourcePt.getY() + 0.5F)/postScaleY; Point2D pt = (Point2D)sourcePt.clone(); pt.setLocation((invc1 + invc2*sx + invc3*sy)/preScaleX - 0.5F, (invc4 + invc5*sx + invc6*sy)/preScaleY - 0.5F);where
invc*
are the inverse transform coefficients. If the transform is not invertible, null
is returned.
@param sourcePt the position in source image coordinatesto map to destination image coordinates.
@return a Point2D
of the same class assourcePt
or null> if the transform is not invertible.
@throws IllegalArgumentException if destPt
isnull
.
@since JAI 1.1.2
|
|