This is the documentation for Enlighten.

class Enlighten PrecompVolumeQueryBox

class Enlighten::PrecompVolumeQueryBox

    └>Enlighten::IPrecompVolumeQuery

An example implementation of IPrecompVolumeQuery which defines a region of 3D space as a set of boxes.

Functions

Name Description
AddBoundingBox(const Geo::GeoBoundingBox &)

Adds an axis-aligned bounding box to this query.

GetBoundingBox()

Returns the world space bounds of the entire volume.

GetBoundingBox()

Returns the world space bounds of the entire volume.

IntersectsBoundingBox(const Geo::GeoBoundingBox &)

Returns true if the specified box intersects the volume.

IntersectsBoundingBox(const Geo::GeoBoundingBox &)

Returns true if the specified box intersects the volume.

TestBox(const Geo::GeoBoundingBox &)

Returns a classification of the way the specified box intersects the volume.


void Enlighten::PrecompVolumeQueryBox::AddBoundingBox


public: void AddBoundingBox
(
    const Geo::GeoBoundingBox & box
)


Adds an axis-aligned bounding box to this query.


virtual Geo::GeoBoundingBox Enlighten::PrecompVolumeQueryBox::GetBoundingBox


public: virtual Geo::GeoBoundingBox GetBoundingBox() const


Returns the world space bounds of the entire volume.


virtual Geo::GeoBoundingBox Enlighten::IPrecompVolumeQuery::GetBoundingBox


public: Geo::GeoBoundingBox GetBoundingBox() const


Returns the world space bounds of the entire volume.


virtual bool Enlighten::PrecompVolumeQueryBox::IntersectsBoundingBox


public: virtual bool IntersectsBoundingBox
(
    const Geo::GeoBoundingBox & box
) const


Returns true if the specified box intersects the volume.


virtual bool Enlighten::IPrecompVolumeQuery::IntersectsBoundingBox


public: bool IntersectsBoundingBox
(
    const Geo::GeoBoundingBox & box
) const


Returns true if the specified box intersects the volume.


virtual VolumeQueryResult Enlighten::IPrecompVolumeQuery::TestBox


public: virtual VolumeQueryResult TestBox
(
    const Geo::GeoBoundingBox & box
) const


Returns a classification of the way the specified box intersects the volume.