|
OGRE
1.9.0
|
Represents a convex volume bounded by planes. More...
#include <OgrePlaneBoundedVolume.h>
Public Types | |
| typedef vector< Plane >::type | PlaneList |
Public Member Functions | |
| PlaneBoundedVolume () | |
| PlaneBoundedVolume (Plane::Side theOutside) | |
| Constructor, determines which side is deemed to be 'outside'. | |
| bool | intersects (const AxisAlignedBox &box) const |
| Intersection test with AABB. | |
| std::pair< bool, Real > | intersects (const Ray &ray) |
| Intersection test with a Ray. | |
| bool | intersects (const Sphere &sphere) const |
| Intersection test with Sphere. | |
Public Attributes | |
| Plane::Side | outside |
| PlaneList | planes |
| Publicly accessible plane list, you can modify this direct. | |
Represents a convex volume bounded by planes.
Definition at line 49 of file OgrePlaneBoundedVolume.h.
Definition at line 52 of file OgrePlaneBoundedVolume.h.
| Ogre::PlaneBoundedVolume::PlaneBoundedVolume | ( | ) |
Definition at line 57 of file OgrePlaneBoundedVolume.h.
| Ogre::PlaneBoundedVolume::PlaneBoundedVolume | ( | Plane::Side | theOutside | ) |
Constructor, determines which side is deemed to be 'outside'.
Definition at line 59 of file OgrePlaneBoundedVolume.h.
| bool Ogre::PlaneBoundedVolume::intersects | ( | const AxisAlignedBox & | box | ) | const |
Intersection test with AABB.
Definition at line 65 of file OgrePlaneBoundedVolume.h.
References Ogre::Plane::getSide(), and Ogre::SharedPtr< T >::isNull().
Intersection test with a Ray.
Definition at line 121 of file OgrePlaneBoundedVolume.h.
Intersection test with Sphere.
Definition at line 96 of file OgrePlaneBoundedVolume.h.
References Ogre::Plane::getDistance().
| Plane::Side Ogre::PlaneBoundedVolume::outside |
Definition at line 55 of file OgrePlaneBoundedVolume.h.
| PlaneList Ogre::PlaneBoundedVolume::planes |
Publicly accessible plane list, you can modify this direct.
Definition at line 54 of file OgrePlaneBoundedVolume.h.
1.10.0