If you do not want to yourMatrixchange
Matrix inverseCopy = new Matrix();
if(yourMatrix.invert(inverseCopy)){
inverseCopy.mapPoints(transformedPoint);
//Now transformedPoint is reverted to original state.
}
If you want to yourMatrixchange
if(yourMatrix.invert(null)){
yourMatrix.mapPoints(transformedPoint);
//Now transformedPoint is reverted to original state.
}
matrix.invert()returns falseif matrixcannot be inverted. If your matrixcannot be inverted, there is no way to return your points to their original state.