omegalib
13.1
|
Represents a convex volume bounded by planes. More...
#include <PlaneBoundedVolume.h>
Public Types | |
typedef std::vector< Plane > | PlaneList |
Public Member Functions | |
PlaneBoundedVolume () | |
PlaneBoundedVolume (PlaneSide theOutside) | |
Constructor, determines which side is deemed to be 'outside'. More... | |
bool | intersects (const AlignedBox3 &box) const |
Intersection test with AABB. More... | |
bool | intersects (const Sphere &sphere) const |
Intersection test with Sphere. More... | |
std::pair< bool, real > | intersects (const Ray &ray) |
Intersection test with a Ray. More... | |
Public Attributes | |
PlaneList | planes |
Publicly accessible plane list, you can modify this direct. More... | |
PlaneSide | outside |
Represents a convex volume bounded by planes.
typedef std::vector<Plane > omicron::PlaneBoundedVolume::PlaneList |
|
inline |
|
inline |
Constructor, determines which side is deemed to be 'outside'.
|
inline |
Intersection test with AABB.
|
inline |
Intersection test with Sphere.
Intersection test with a Ray.
PlaneSide omicron::PlaneBoundedVolume::outside |
PlaneList omicron::PlaneBoundedVolume::planes |
Publicly accessible plane list, you can modify this direct.