|
EBGeometry
Compact, header-only C++ library for fast evaluation of signed distance functions
|
Smooth union or intersection: a smooth minimum (maximum) of the two smallest (largest) values. 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: as a union or intersection's, a union's grown by how far the blend can move its surface out (s/4 polynomial, s ln 2 exponential). | |
Static Public Member Functions | |
| template<class... Cs> | |
| static constexpr DistanceQuality | quality () noexcept |
| Distance quality: a bound at best. | |
Public Attributes | |
| T | m_smooth |
| Smoothing length. | |
| bool | m_exponential |
| Whether the blend is exponential (BlendKind::Exponential) rather than polynomial. | |
Smooth union or intersection: a smooth minimum (maximum) of the two smallest (largest) values.
| T | Floating-point precision. |
| IsUnion | Whether this is a union. |
|
inline |
The box: as a union or intersection's, a union's grown by how far the blend can move its surface out (s/4 polynomial, s ln 2 exponential).
| 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 at best.
| Cs | Operand types. |