Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <IcePlane.h>
Public Member Functions | |
inline_ | Plane () |
Constructor. More... | |
inline_ | Plane (float nx, float ny, float nz, float d) |
Constructor from a normal and a distance. More... | |
inline_ | Plane (const Point &p, const Point &n) |
Constructor from a point on the plane and a normal. More... | |
inline_ | Plane (const Point &p0, const Point &p1, const Point &p2) |
Constructor from three points. More... | |
inline_ | Plane (const Point &_n, float _d) |
Constructor from a normal and a distance. More... | |
inline_ | Plane (const Plane &plane) |
Copy constructor. More... | |
inline_ | ~Plane () |
Destructor. More... | |
inline_ Plane & | Zero () |
inline_ Plane & | Set (float nx, float ny, float nz, float _d) |
inline_ Plane & | Set (const Point &p, const Point &_n) |
Plane & | Set (const Point &p0, const Point &p1, const Point &p2) |
inline_ float | Distance (const Point &p) const |
inline_ bool | Belongs (const Point &p) const |
inline_ void | Normalize () |
inline_ | operator Point () const |
inline_ | operator HPoint () const |
inline_ Plane | operator* (const Matrix4x4 &m) const |
inline_ Plane & | operator*= (const Matrix4x4 &m) |
Public Attributes | |
Point | n |
The normal to the plane. More... | |
float | d |
The distance from the origin. More... | |
|
inline |
Constructor from a normal and a distance.
Definition at line 23 of file IcePlane.h.
|
inline |
|
inline |
Definition at line 57 of file IcePlane.h.
Definition at line 61 of file IcePlane.h.
float Plane::d |
The distance from the origin.
Definition at line 54 of file IcePlane.h.
Point Plane::n |
The normal to the plane.
Definition at line 53 of file IcePlane.h.