|
EBGeometry
Compact, header-only C++ library for fast evaluation of signed distance functions
|
Mollification: the operand convolved with a bump kernel sampled on a grid (CSGOps::mollify()). More...
#include <EBGeometry_Fused.hpp>
Public Member Functions | |
| template<class O > | |
| T | evaluate (const O &a_operands, const Vec3T< T > &a_point) const noexcept |
| The value. | |
| template<class O > | |
| BoundingVolumes::AABBT< T > | box (const O &a_operands) const |
| The box: the operand's, grown by sqrt(3) r (the operand's own if there is nothing to average). | |
Static Public Member Functions | |
| template<class C > | |
| static constexpr DistanceQuality | quality () noexcept |
| Distance quality: a bound, unless the operand is not a distance. | |
Public Attributes | |
| CSGOps::MollifyGrid< T > | m_grid |
| The tap grid. | |
| bool | m_identity |
| Whether there is nothing to average over (one sample per axis, or a zero distance). | |
Mollification: the operand convolved with a bump kernel sampled on a grid (CSGOps::mollify()).
With one sample per axis, or a zero distance, the value is the operand's, as Mollify() in the expression builder returns the operand itself.
| T | Floating-point precision. |
|
inline |
The box: the operand's, grown by sqrt(3) r (the operand's own if there is nothing to average).
| O | Operands type. |
| [in] | a_operands | Operands. |
|
inlinenoexcept |
The value.
| O | Operands type. |
| [in] | a_operands | Operands. |
| [in] | a_point | Point. |
|
inlinestaticconstexprnoexcept |
Distance quality: a bound, unless the operand is not a distance.
| C | Operand type. |