|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.tudelft.simulation.language.d3.BoundsUtil
public final class BoundsUtil
A BoundsUtil.
(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(DirectedPoint center,
Bounds bounds,
Point3d point)
|
static Rectangle2D |
getIntersect(DirectedPoint center,
Bounds bounds,
double zValue)
computes the intersect of bounds with the zValue |
static Bounds |
transform(Bounds bounds,
DirectedPoint point)
rotates and translates to a directed point |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Rectangle2D getIntersect(DirectedPoint center,
Bounds bounds,
double zValue)
bounds - the boundscenter - thezValue - the zValue
public static Bounds transform(Bounds bounds,
DirectedPoint point)
point - the pointbounds - the bounds
public static boolean contains(DirectedPoint center,
Bounds bounds,
Point3d point)
center - the center of the boundsbounds - the boundspoint - the point
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||