| MADNESS
    version 0.9
    | 
The interface for a signed distance function (sdf). More...
#include <sdf_domainmask.h>
| Public Member Functions | |
| virtual double | sdf (const Vector< double, NDIM > &x) const =0 | 
| Returns the signed distance from the surface,.  More... | |
| virtual Vector< double, NDIM > | grad_sdf (const Vector< double, NDIM > &x) const =0 | 
| Returns the gradient of the signed distance from the surface (i.e., dsdf(x)/dx[i] )  More... | |
| virtual | ~SignedDFInterface () | 
The interface for a signed distance function (sdf).
A class implementing this interface will need to provide the sdf given a point in coordinate space, and also the gradient of the sdf at this point.
NDIM is the dimensionality of the coordinate space. 
| 
 | inlinevirtual | 
| 
 | pure virtual | 
Returns the gradient of the signed distance from the surface (i.e., dsdf(x)/dx[i] ) 
| [in] | x | The coordinate | 
| 
 | pure virtual | 
Returns the signed distance from the surface,.
inside''Negative isoutside''| [in] | x | The coordinate | 
Referenced by TipMolecule::operator()().
 1.8.8
 1.8.8