public final class BoundsUtil extends Object
(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
Modifier and Type | Method and Description |
---|---|
static boolean |
contains(DirectedPoint center,
javax.media.j3d.Bounds bounds,
javax.vecmath.Point3d point) |
static Rectangle2D |
getIntersect(DirectedPoint center,
javax.media.j3d.Bounds bounds,
double zValue)
computes the intersect of bounds with the zValue
|
static javax.media.j3d.Bounds |
transform(javax.media.j3d.Bounds bounds,
DirectedPoint point)
rotates and translates to a directed point
|
public static Rectangle2D getIntersect(DirectedPoint center, javax.media.j3d.Bounds bounds, double zValue)
bounds
- the boundscenter
- thezValue
- the zValuepublic static javax.media.j3d.Bounds transform(javax.media.j3d.Bounds bounds, DirectedPoint point)
point
- the pointbounds
- the boundspublic static boolean contains(DirectedPoint center, javax.media.j3d.Bounds bounds, javax.vecmath.Point3d point)
center
- the center of the boundsbounds
- the boundspoint
- the pointCopyright © 2002-2012 Delft University of Technology, the Netherlands. All Rights Reserved.