Hermes
|
Public Member Functions | |
ImplicitPlane2D () | |
default_color constructor | |
ImplicitPlane2D (normal2 n, real_t o) | |
ImplicitPlane2D (point2 p, normal2 n) | |
vec2 | project (const vec2 &v) const |
projects v on plane More... | |
vec2 | reflect (const vec2 &v) const |
reflects v fron plane More... | |
point2 | closestPoint (const point2 &p) const override |
normal2 | closestNormal (const point2 &p) const override |
bbox2 | boundingBox () const override |
void | closestIntersection (const Ray2 &r, CurveRayIntersection *i) const override |
double | signedDistance (const point2 &p) const override |
Public Member Functions inherited from hermes::CurveInterface | |
virtual bool | intersects (const Ray2 &r) const |
virtual real_t | closestDistance (const point2 &p) const |
Public Attributes | |
normal2 | normal |
real_t | offset |
Friends | |
std::ostream & | operator<< (std::ostream &os, const ImplicitPlane2D &p) |
Implements the equation normal X = offset.
Constructor
n | [in] normal |
o | [in] offset |
projects v on plane
v |
reflects v fron plane
v |