|
EBGeometry
Compact, header-only C++ library for fast evaluation of signed distance functions
|
Offset (v - r) or annulus (|v| - delta). 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 max(0, r) or max(0, delta). | |
Static Public Member Functions | |
| template<class C > | |
| static constexpr DistanceQuality | quality () noexcept |
| Distance quality. An annulus keeps the operand's; an offset is a bound at best, since a negative offset (an erosion) is only a bound, whatever the operand. | |
Public Attributes | |
| T | m_amount |
| The offset r, or the half-thickness delta. | |
Offset (v - r) or annulus (|v| - delta).
| T | Floating-point precision. |
| IsAnnulus | Whether this is an annulus. |
|
inline |
The box: the operand's, grown by max(0, r) or max(0, delta).
| O | Operands type. |
| [in] | a_operands | Operands. |
|
inlinenoexcept |
The value.
| O | Operands type. |
| [in] | a_operands | Operands. |
| [in] | a_point | Point. |
|
inlinestaticconstexprnoexcept |
Distance quality. An annulus keeps the operand's; an offset is a bound at best, since a negative offset (an erosion) is only a bound, whatever the operand.
| C | Operand type. |