|
Ogre Procedural
0.3.0 unstable
Procedural Geometry & Textures for Ogre3D
|
Extends the Ogre::Plane class to be able to compute the intersection between 2 planes. More...
#include <ProceduralGeometryHelpers.h>

Public Types | |
| enum | Side |
Public Member Functions | |
| Plane () | |
| Plane (const Ogre::Vector3 &normal, const Ogre::Vector3 &pos) | |
| Contructor with arguments. More... | |
| Plane (Ogre::Real a, Ogre::Real b, Ogre::Real c, Ogre::Real d) | |
| bool | intersect (const Plane &other, Line &outputLine) const |
| Checks whether 2 planes intersect and compute intersecting line if it is the case. More... | |
| Real | getDistance (const Vector3 &rkPoint) const |
| Side | getSide (const AxisAlignedBox &box) const |
| Side | getSide (const Vector3 ¢re, const Vector3 &halfSize) const |
| Side | getSide (const Vector3 &rkPoint) const |
| Real | normalise (void) |
| bool | operator!= (const Plane &rhs) const |
| Plane | operator- () const |
| bool | operator== (const Plane &rhs) const |
| Vector3 | projectVector (const Vector3 &v) const |
| void | redefine (const Vector3 &p0, const Vector3 &p1, const Vector3 &p2) |
| void | redefine (const Vector3 &rkNormal, const Vector3 &rkPoint) |
Public Attributes | |
| BOTH_SIDE | |
| NEGATIVE_SIDE | |
| NO_SIDE | |
| POSITIVE_SIDE | |
| Real | d |
| Vector3 | normal |
Extends the Ogre::Plane class to be able to compute the intersection between 2 planes.
| Procedural::Plane::Plane | ( | ) |
| Procedural::Plane::Plane | ( | const Ogre::Vector3 & | normal, |
| const Ogre::Vector3 & | pos | ||
| ) |
Contructor with arguments.
| Procedural::Plane::Plane | ( | Ogre::Real | a, |
| Ogre::Real | b, | ||
| Ogre::Real | c, | ||
| Ogre::Real | d | ||
| ) |
Checks whether 2 planes intersect and compute intersecting line if it is the case.
| other | the other plane with which to check for intersection |
| outputLine | the intersecting line, if planes actually intersect |
1.8.17