Facebook Twitter YouTube

class Box3D

Defined in:  TSBox.h
The Box3D class encapsulates a 3D aligned bounding box.
Definition

class Box3D : public Range<Point3D>

Member Functions
Box3D::Calculate Calculates a bounding box for a set of vertices.
Box3D::Contains Returns a boolean value indicating whether an aligned box contains a point.
Box3D::Intersection Returns a boolean value indicating whether two aligned boxes intersect.
Constructor

Box3D(const Point3D& pmin, const Point3D& pmax);

Parameters
pmin The point at the minimum corner of the bounding box.
pmax The point at the maximum corner of the bounding box.
Description
The Box3D class encapsulates the 3D aligned bounding box whose minimum and maximum extents are specified by the pmin and pmax parameters.
Base Classes
Range<Point3D> An aligned box is implemented as a range of points.
See Also

Box2D