Package | Description |
---|---|
de.jreality.geometry |
This package contains geometry related utilities.
|
de.jreality.util |
Miscellaneous jReality utilities used in the core packages.
|
de.jreality.writer.u3d |
Modifier and Type | Method and Description |
---|---|
static Rectangle3D |
BoundingBoxUtility.calculateBoundingBox(double[][] verts)
Calculate the bounding box of the vertices verts.
|
static Rectangle3D |
GeometryUtility.calculateBoundingBox(double[][] verts)
Deprecated.
|
static Rectangle3D |
BoundingBoxUtility.calculateBoundingBox(double[] initialMatrix,
SceneGraphComponent sgc)
Calculate the bounding box assuming that the scene graph is first transformed by
the matrix initialMatrix
|
static Rectangle3D |
GeometryUtility.calculateBoundingBox(double[] initialMatrix,
SceneGraphComponent sgc)
Deprecated.
|
static Rectangle3D |
BoundingBoxUtility.calculateBoundingBox(PointSet ps) |
static Rectangle3D |
GeometryUtility.calculateBoundingBox(PointSet ps)
Deprecated.
|
static Rectangle3D |
BoundingBoxUtility.calculateBoundingBox(SceneGraphComponent sgc) |
static Rectangle3D |
GeometryUtility.calculateBoundingBox(SceneGraphComponent sgc)
Deprecated.
|
static Rectangle3D |
BoundingBoxUtility.calculateBoundingBox(Sphere sph) |
static Rectangle3D |
GeometryUtility.calculateBoundingBox(Sphere sph)
Deprecated.
Use
BoundingBoxUtility.calculateBoundingBox(Sphere) instead |
static Rectangle3D |
BoundingBoxUtility.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 |
GeometryUtility.calculateChildrenBoundingBox(SceneGraphComponent sgc)
Deprecated.
|
Rectangle3D |
BoundingBoxTraversal.getBoundingBox()
Convert result into Rectangle3D instance (see
Rectangle3D |
static Rectangle3D |
BoundingBoxTraversal.getBoundingBox(double[] initialMatrix,
SceneGraphComponent sgc) |
static Rectangle3D |
SphereUtility.getSphereBoundingBox()
Return a standard bounding box for a unit sphere.
|
static Rectangle3D |
BoundingBoxUtility.removeZeroExtends(Rectangle3D r)
Adds a small value to a dimension of zero extend
|
Modifier and Type | Method and Description |
---|---|
static Rectangle3D |
BoundingBoxUtility.removeZeroExtends(Rectangle3D r)
Adds a small value to a dimension of zero extend
|
static IndexedFaceSet |
IndexedFaceSetUtility.representAsSceneGraph(IndexedFaceSet exists,
Rectangle3D box)
Update the vertices of an existing IFS to match the state of box.
|
static IndexedFaceSet |
IndexedFaceSetUtility.representAsSceneGraph(Rectangle3D box)
Represent an instance of
Rectangle3D as an instance of IndexedFaceSet . |
Modifier and Type | Field and Description |
---|---|
static Rectangle3D |
Rectangle3D.EMPTY_BOX |
static Rectangle3D |
Rectangle3D.unitCube |
Modifier and Type | Method and Description |
---|---|
Rectangle3D |
Rectangle3D.computeFromVectorList(double[][] vlist)
Receiver configures himself as bounding box of the
vertices in the list vlist.
|
Rectangle3D |
Rectangle3D.transformByMatrix(Rectangle3D target,
double[] aTransform)
Transform a bounding box by a matrix.
|
Rectangle3D |
Rectangle3D.unionWith(Rectangle3D aBound,
Rectangle3D target)
Finds the union of the receiver and aBound, places
result in target and returns it.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Rectangle3D.contains(Rectangle3D b2) |
void |
Rectangle3D.copyInto(Rectangle3D bb) |
Rectangle3D |
Rectangle3D.transformByMatrix(Rectangle3D target,
double[] aTransform)
Transform a bounding box by a matrix.
|
Rectangle3D |
Rectangle3D.unionWith(Rectangle3D aBound,
Rectangle3D target)
Finds the union of the receiver and aBound, places
result in target and returns it.
|
Modifier and Type | Method and Description |
---|---|
static HashMap<Geometry,Rectangle3D> |
U3DSceneUtility.getBoundingBoxes(Collection<Geometry> l) |