|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.scilab.forge.scirenderer.implementation.g2d.motor.BoundingBox
public class BoundingBox
Constructor Summary | |
---|---|
BoundingBox(double minX,
double maxX,
double minY,
double maxY,
double minZ,
double maxZ)
Default constructor |
Method Summary | |
---|---|
static BoundingBox |
getBoundingBox(AbstractDrawable3DObject object)
Get the bounding box of an object |
boolean |
isIntersecting(BoundingBox box)
|
boolean |
isStrictlyIntersecting(BoundingBox box)
|
java.lang.String |
toString()
|
int |
xCompare(BoundingBox box)
Get the relative x-position of this bounding-box and of the box |
int |
yCompare(BoundingBox box)
Get the relative y-position of this bounding-box and of the box |
int |
zCompare(BoundingBox box)
Get the relative z-position of this bounding-box and of the box |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BoundingBox(double minX, double maxX, double minY, double maxY, double minZ, double maxZ)
minX
- the minimal XmaxX
- the maximal XminY
- the minimal YmaxY
- the maximal YminZ
- the minimal ZmaxZ
- the maximal ZMethod Detail |
---|
public int xCompare(BoundingBox box)
box
- a BoundingBox
public int yCompare(BoundingBox box)
box
- a BoundingBox
public int zCompare(BoundingBox box)
box
- a BoundingBox
public boolean isIntersecting(BoundingBox box)
box
- a BoundingBox
public boolean isStrictlyIntersecting(BoundingBox box)
box
- a BoundingBox
public static BoundingBox getBoundingBox(AbstractDrawable3DObject object)
object
- a 3D object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |