|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.tudelft.simulation.language.d2.Shape
public final class Shape
Shape utilities.
(c) copyright 2002-2005 Delft University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl/language
License of use: Lesser General Public License (LGPL)
, no warranty
| Method Summary | |
|---|---|
static boolean |
contains(java.awt.geom.Rectangle2D r1,
java.awt.geom.Rectangle2D r2)
is r1 completely in r2. |
static boolean |
intersects(java.awt.geom.Rectangle2D r1,
java.awt.geom.Rectangle2D r2)
|
static boolean |
overlaps(java.awt.geom.Rectangle2D extent,
java.awt.geom.Rectangle2D shape)
overlaps extent and shape. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean overlaps(java.awt.geom.Rectangle2D extent,
java.awt.geom.Rectangle2D shape)
extent - the extentshape - the shape
public static boolean intersects(java.awt.geom.Rectangle2D r1,
java.awt.geom.Rectangle2D r2)
r1 - the first rectangler2 - the second rectangle
public static boolean contains(java.awt.geom.Rectangle2D r1,
java.awt.geom.Rectangle2D r2)
r1 - the first rectangler2 - the second rectangle
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||