#include <CDVolume.h>
|
| Plane (const Math::Point<> &n_) |
|
virtual SHAPE_TYPE | getType () const |
|
virtual float | getDist (const Math::Point<> &thisCenter_, const Math::Matrix3x3 &thisRot_, const Shape *otherShape_, const Math::Point<> &otherCenter_, const Math::Matrix3x3 &otherRot_) const |
|
float | getDist (const Math::Point<> &thisP_, const Math::Point<> &otherP_) const |
|
AXIS_ALIGNMENT | getAxisAlignment () const |
|
| Shape (const float &boundingRadius_=0.0f) |
|
virtual | ~Shape () |
|
virtual bool | getFirstIntersection (const Math::Point<> &thisCenter_, const Math::Matrix3x3 &thisRot_, const Math::Point<> &thisVel_, const Shape *otherShape_, const Math::Point<> &otherCenter_, const Math::Matrix3x3 &otherRot_, const Math::Point<> &otherVel_, HitInfo &hitInfo_) const |
|
virtual bool | getClosestRayIntersection (const Math::Point<> &thisCenter_, const Math::Matrix3x3 &thisRot_, const Math::Point<> &rayOrigin_, const Math::Point<> &rayDir_, Math::Point<> &hitPos_, float &t_, Math::Point<> &hitNormal_) const |
|
virtual void | scale (const Math::Point<> &factor_) |
|
Enumerator |
---|
NONE |
|
NEG_X |
|
POS_X |
|
NEG_Y |
|
POS_Y |
|
NEG_Z |
|
POS_Z |
|
OpenSkyNet::CD::Plane::Plane |
( |
const Math::Point<> & |
n_ | ) |
|
|
inline |
NOTE: If any part of the other shape lies on the side opposite the plane's normal, then this method returns the farthest negative dist. NOTE: This method assumes all rotations for boxes are identity matrices (so are axis-aligned boxes).
Reimplemented from OpenSkyNet::CD::Shape.
virtual SHAPE_TYPE OpenSkyNet::CD::Plane::getType |
( |
| ) |
const |
|
inlinevirtual |
The documentation for this struct was generated from the following file: