#include <spConvexPolyhedron.hpp>
List of all members.
Detailed Description
template<typename T, s32 PlaneCount>
class sp::scene::ConvexPolyhedron< T, PlaneCount >
A convex polyhedron represents a set of planes (or rather half-spaces) where the plane-normals must point out of the polyhedron.
Constructor & Destructor Documentation
template<typename T, s32 PlaneCount>
template<typename T, s32 PlaneCount>
template<typename T, s32 PlaneCount>
Member Function Documentation
template<typename T, s32 PlaneCount>
Makes an intersection tests with the specified line and this convex polyhedron.
- Parameters:
-
| Line,: | Specifies the line which is to be tested against this convex polyhedron. |
| Intersection,: | Specifies the reference where the resulting intersection line will be stored. |
- Returns:
- True if the intersection test succeeded. Otherwise false.
template<typename T, s32 PlaneCount>
Returns a reference of the specified plane.
template<typename T, s32 PlaneCount>
template<typename T, s32 PlaneCount>
Returns true if the specified box is inside the polyhedron. It is not required that the box is completely inside the polyhedron.
template<typename T, s32 PlaneCount>
Returns true if the specified box (with inverse transformation matrix) is inside the polyhedron. It is not required that the box is completely inside the polyhedron.
template<typename T, s32 PlaneCount>
Returns true if the specified 3D point is inside the polyhedron.
template<typename T, s32 PlaneCount>
template<typename T, s32 PlaneCount>
Member Data Documentation
template<typename T, s32 PlaneCount>
The documentation for this class was generated from the following file: