|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.jreality.geometry.BoundingBoxUtility
public class BoundingBoxUtility
A set of static methods for calculating rectangular bounding boxes in euclidean space
Constructor Summary | |
---|---|
BoundingBoxUtility()
|
Method Summary | |
---|---|
static Rectangle3D |
calculateBoundingBox(double[][] verts)
Calculate the bounding box of the vertices verts. |
static Rectangle3D |
calculateBoundingBox(double[] initialMatrix,
SceneGraphComponent sgc)
Calculate the bounding box assuming that the scene graph is first transformed by the matrix initialMatrix |
static Rectangle3D |
calculateBoundingBox(PointSet ps)
|
static Rectangle3D |
calculateBoundingBox(SceneGraphComponent sgc)
|
static Rectangle3D |
calculateBoundingBox(Sphere sph)
|
static Rectangle3D |
calculateChildrenBoundingBox(SceneGraphComponent sgc)
Calculate the bounding box for the scene graph tooted at sgc but do not apply the transformation, if any, attached to sgc. |
static Rectangle3D |
removeZeroExtends(Rectangle3D r)
Adds a small value to a dimension of zero extend |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BoundingBoxUtility()
Method Detail |
---|
public static Rectangle3D calculateBoundingBox(double[] initialMatrix, SceneGraphComponent sgc)
tmp
- sgc
-
public static Rectangle3D calculateBoundingBox(double[][] verts)
verts
-
Pn
for details.public static Rectangle3D calculateBoundingBox(PointSet ps)
public static Rectangle3D calculateBoundingBox(SceneGraphComponent sgc)
public static Rectangle3D calculateBoundingBox(Sphere sph)
public static Rectangle3D calculateChildrenBoundingBox(SceneGraphComponent sgc)
sgc
-
public static Rectangle3D removeZeroExtends(Rectangle3D r)
r
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |