/** Tests if a specified {@link Point2D} is inside the boundary of the <code>Shape</code>. */ public boolean contains(final Point2D p) { try { return shape.contains(inverseTransform(p, point)); } catch (NoninvertibleTransformException exception) { exceptionOccured(exception, "contains"); return false; } }
/** * Tests if a specified {@link Point2D} is inside the boundary of the * <code>Shape</code>. */ public boolean contains(final Point2D p) { try { return shape.contains(inverseTransform(p, point)); } catch (NoninvertibleTransformException exception) { exceptionOccured(exception, "contains"); return false; } }
/** * Tests if a specified {@link Point2D} is inside the boundary of the * <code>Shape</code>. */ public boolean contains(final Point2D p) { try { return shape.contains(inverseTransform(p, point)); } catch (NoninvertibleTransformException exception) { exceptionOccured(exception, "contains"); return false; } }