|
MADNESS 0.10.1
|
#include <sdf_shape_3D.h>


Public Member Functions | |
| SDFCube (const double length, const coord_3d ¢er) | |
| Constructor for box. | |
Public Member Functions inherited from madness::SDFBox | |
| SDFBox (const coord_3d &length, const coord_3d ¢er) | |
| Constructor for box. | |
| coord_3d | grad_sdf (const coord_3d &pt) const |
| double | sdf (const coord_3d &pt) const |
| Computes the normal distance. | |
Public Member Functions inherited from madness::SignedDFInterface< 3 > | |
| virtual | ~SignedDFInterface () |
| 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] ) | |
| virtual double | sdf (const Vector< double, NDIM > &x) const=0 |
| Returns the signed distance from the surface,. | |
Additional Inherited Members | |
Protected Attributes inherited from madness::SDFBox | |
| const coord_3d | center |
| the center of the box | |
| const coord_3d | lengths |
| Half the length of each side of the box. | |
A cube (3 dimensions)
|
inline |
Constructor for box.
| length | The length of each side of the cube |
| center | The center of the cube |