Hollowing operator.
More...
|
| SDFThickSurface2 (SDFNode2 *, const double &) |
| Create a hollowing node. More...
|
|
virtual | ~SDFThickSurface2 () |
| Destructor.
|
|
virtual double | Signed (const Vector2 &) const |
| Compute the signed distance. More...
|
|
int | Memory () const |
| Return the size of a sub-tree. More...
|
|
virtual SDFNode2 * | Copy () const |
| Deep copy.
|
|
| SDFUnary2 (SDFNode2 *) |
| Create an unary planar node. More...
|
|
virtual | ~SDFUnary2 () |
| Destroy the sub-tree.
|
|
virtual double | K () const |
| Return the Lipschitz constant of the node. More...
|
|
virtual int | Nodes () const |
| Compute the number of nodes in the sub-tree. More...
|
|
| SDFNode2 () |
| Create a generic node. More...
|
|
virtual | ~SDFNode2 () |
| Destructor.
|
|
Box2 | GetBox () const |
| Return the bounding box of the node.
|
|
|
double | th |
| Thickness.
|
|
SDFNode2 * | e = nullptr |
| Sub-tree.
|
|
Box2 | box |
| Box bounding the surface.
|
|
double | k |
| Lipschitz constant.
|
|
|
static constexpr double | Epsilon = 0.01 |
| Small constant used for bounding volumes.
|
|
Hollowing operator.
- Author
- Lucie Fournier
◆ SDFThickSurface2()
SDFThickSurface2::SDFThickSurface2 |
( |
SDFNode2 * |
n, |
|
|
const double & |
t |
|
) |
| |
|
explicit |
Create a hollowing node.
- Parameters
-
◆ Memory()
int SDFThickSurface2::Memory |
( |
| ) |
const |
|
virtual |
Return the size of a sub-tree.
Reimplemented from SDFNode2.
◆ Signed()
double SDFThickSurface2::Signed |
( |
const Vector2 & |
p | ) |
const |
|
virtual |
Compute the signed distance.
- Parameters
-
This operator preserves the Euclidean distance.
Reimplemented from SDFUnary2.