|
| Plane (const Vec3 &p1, const Vec3 &p2, const Vec3 &p3) |
| create plane from tree point. More...
|
|
| Plane ( local p1, local p2, local p3) |
| create plane from tree point. More...
|
|
| Plane (const Vec3 &normal, float dist) |
| create plane from normal and dist. More...
|
|
| Plane ( local normal, local dist) |
| create plane from normal and dist. More...
|
|
| Plane (const Vec3 &normal, const Vec3 &point) |
| create plane from normal and a point on plane. More...
|
|
| Plane ( local normal, local point) |
| create plane from normal and a point on plane. More...
|
|
| Plane () |
| create a default plan whose normal is (0, 0, 1), and _dist is 0, xoy plan in fact. More...
|
|
void | initPlane (const Vec3 &p1, const Vec3 &p2, const Vec3 &p3) |
| init plane from tree point. More...
|
|
local | initPlane ( local p1, local p2, local p3) |
| init plane from tree point. More...
|
|
void | initPlane (const Vec3 &normal, float dist) |
| init plane from normal and dist. More...
|
|
void | initPlane (const Vec3 &normal, const Vec3 &point) |
| init plane from normal and a point on plane. More...
|
|
local | initPlane ( local normal, local point) |
| init plane from normal and a point on plane. More...
|
|
float | dist2Plane (const Vec3 &p) const |
| dist to plane, > 0 normal direction More...
|
|
local | dist2Plane ( local p) |
| dist to plane, > 0 normal direction More...
|
|
const Vec3 & | getNormal () const |
| Gets the plane's normal. More...
|
|
float | getDist () const |
| Gets the plane's distance to the origin along its normal. More...
|
|
local | getDist () |
| Gets the plane's distance to the origin along its normal. More...
|
|
PointSide | getSide (const Vec3 &point) const |
| Return the side where the point is. More...
|
|
local | getSide ( local point) |
| Return the side where the point is. More...
|
|