Hermes
|
Public Member Functions | |
Plane () | |
default_color constructor | |
Plane (normal3 n, real_t o) | |
Plane (normal3 n, point3 p) | |
point3 | closestPoint (const point3 &p) const |
vec3 | project (const vec3 &v) const |
projects v on plane More... | |
vec3 | reflect (const vec3 &v) const |
reflects v fron plane More... | |
bool | onNormalSide (const point3 &p) const |
Static Public Member Functions | |
static Plane | XY (bool invert_normal=false) |
static Plane | XZ (bool invert_normal=false) |
static Plane | YZ (bool invert_normal=false) |
Public Attributes | |
normal3 | normal |
real_t | offset |
Friends | |
std::ostream & | operator<< (std::ostream &os, const Plane &p) |
Implements the equation normal X = offset.
Constructor
n | [in] normal |
o | [in] offset |
projects v on plane
v |
reflects v fron plane
v |
|
inlinestatic |
invert_normal |
|
inlinestatic |
invert_normal |
|
inlinestatic |
invert_normal |