/** * Returns the inverse transform Tx' of this transform Tx, which * maps coordinates transformed by Tx back * to their original coordinates. * In other words, Tx'(Tx(p)) = p = Tx(Tx'(p)). * <p> * If this transform maps all coordinates onto a point or a line * then it will not have an inverse, since coordinates that do * not lie on the destination point or line will not have an inverse * mapping. * The <code>getDeterminant</code> method can be used to determine if this * transform has no inverse, in which case an exception will be * thrown if the <code>invert</code> method is called. * @see #getDeterminant * @exception GeometryException if the matrix cannot be inverted. * @return a new Transform */ public final Transform getInverse() throws GeometryException { if (Math.abs(m_jso.getDeterminant()) <= Double.MIN_VALUE) { throw new GeometryException("Can't invert this matrix - determinant is near 0"); } return new Transform(m_jso.getInverse()); }
/** * Returns the inverse transform Tx' of this transform Tx, which * maps coordinates transformed by Tx back * to their original coordinates. * In other words, Tx'(Tx(p)) = p = Tx(Tx'(p)). * <p> * If this transform maps all coordinates onto a point or a line * then it will not have an inverse, since coordinates that do * not lie on the destination point or line will not have an inverse * mapping. * The <code>getDeterminant</code> method can be used to determine if this * transform has no inverse, in which case an exception will be * thrown if the <code>invert</code> method is called. * @see #getDeterminant * @exception GeometryException if the matrix cannot be inverted. * @return a new Transform */ public final Transform getInverse() throws GeometryException { if (Math.abs(m_jso.getDeterminant()) <= Double.MIN_VALUE) { throw new GeometryException("Can't invert this matrix - determinant is near 0"); } return new Transform(m_jso.getInverse()); }
/** * Returns the inverse transform Tx' of this transform Tx, which * maps coordinates transformed by Tx back * to their original coordinates. * In other words, Tx'(Tx(p)) = p = Tx(Tx'(p)). * <p> * If this transform maps all coordinates onto a point or a line * then it will not have an inverse, since coordinates that do * not lie on the destination point or line will not have an inverse * mapping. * The <code>getDeterminant</code> method can be used to determine if this * transform has no inverse, in which case an exception will be * thrown if the <code>invert</code> method is called. * @see #getDeterminant * @exception GeometryException if the matrix cannot be inverted. * @return a new Transform */ public final Transform getInverse() throws GeometryException { if (Math.abs(m_jso.getDeterminant()) <= Double.MIN_VALUE) { throw new GeometryException("Can't invert this matrix - determinant is near 0"); } return new Transform(m_jso.getInverse()); }
/** * Returns the inverse transform Tx' of this transform Tx, which * maps coordinates transformed by Tx back * to their original coordinates. * In other words, Tx'(Tx(p)) = p = Tx(Tx'(p)). * <p> * If this transform maps all coordinates onto a point or a line * then it will not have an inverse, since coordinates that do * not lie on the destination point or line will not have an inverse * mapping. * The <code>getDeterminant</code> method can be used to determine if this * transform has no inverse, in which case an exception will be * thrown if the <code>invert</code> method is called. * @see #getDeterminant * @exception GeometryException if the matrix cannot be inverted. * @return a new Transform */ public final Transform getInverse() throws GeometryException { if (Math.abs(m_jso.getDeterminant()) <= Double.MIN_VALUE) { throw new GeometryException("Can't invert this matrix - determinant is near 0"); } return new Transform(m_jso.getInverse()); }