|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.grogra.vecmath.geom.VolumeBase
de.grogra.vecmath.geom.CompoundVolume
de.grogra.vecmath.geom.UnionBase
public abstract class UnionBase
This abstract class is the base class for unions of volumes.
Field Summary |
---|
Fields inherited from class de.grogra.vecmath.geom.CompoundVolume |
---|
volumes |
Constructor Summary | |
---|---|
UnionBase()
|
Method Summary | |
---|---|
boolean |
contains(Tuple3d point,
boolean open)
Determines if the given point lies within this object. |
void |
getExtent(Tuple3d min,
Tuple3d max,
Variables temp)
Computes the extent of this volume, i.e., an axis-aligned bounding box between min and max . |
Methods inherited from class de.grogra.vecmath.geom.CompoundVolume |
---|
boxContainsBoundary, computeNormal, computeTangents, computeUV |
Methods inherited from class de.grogra.vecmath.geom.VolumeBase |
---|
addConvexIntersections, getId, operator$and, operator$com, operator$or, operator$sub, setId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.grogra.vecmath.geom.Volume |
---|
computeIntersections |
Constructor Detail |
---|
public UnionBase()
Method Detail |
---|
public boolean contains(Tuple3d point, boolean open)
Volume
point
lies within this object.
If open
is true
, the interior of the volume
is considered (the largest open set contained in the volume,
i.e., excluding the boundary), otherwise the closure of the volume.
point
- a point in global world coordinatesopen
- consider open or closed set
true
iff point
is an element of the setpublic void getExtent(Tuple3d min, Tuple3d max, Variables temp)
Volume
min
and max
.
min
- minimum coordinates of bounding box are placed in heremax
- maximum coordinates of bounding box are placed in heretemp
- has to be provided by the invoker, may be used in implementations
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |