de.grogra.vecmath.geom
public abstract class UnionBase extends CompoundVolume
volumes| Constructor and Description |
|---|
UnionBase() |
| Modifier and Type | Method and Description |
|---|---|
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. |
boxContainsBoundary, computeNormal, computeTangents, computeUVaddConvexIntersections, getId, operator$and, operator$com, operator$or, operator$sub, setIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomputeIntersectionspublic boolean contains(Tuple3d point, boolean open)
Volumepoint 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 settrue iff point is an element of the setpublic void getExtent(Tuple3d min, Tuple3d max, Variables temp)
Volumemin 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