Hermes
hermes::ImplicitSphere Class Referencefinal
+ Inheritance diagram for hermes::ImplicitSphere:

Public Member Functions

 ImplicitSphere (point3 center, real_t radius)
 
point3 closestPoint (const point3 &p) const override
 
normal3 closestNormal (const point3 &p) const override
 
bbox3 boundingBox () const override
 
void closestIntersection (const Ray3 &r, SurfaceRayIntersection *i) const override
 
double signedDistance (const point3 &p) const override
 
- Public Member Functions inherited from hermes::SurfaceInterface
virtual bool intersects (const Ray3 &r) const
 
virtual double closestDistance (const point3 &p) const
 

Public Attributes

point3 c
 
real_t r
 

The documentation for this class was generated from the following file: