EBGeometry
Compact, header-only C++ library for fast evaluation of signed distance functions
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
EBGeometry::Fused::BlurOp< T > Struct Template Reference

Blur: a weighted average of the operand's values at 27 points (CSGOps::blur()). 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) d.
 

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::BlurWeights< T > m_weights
 Blur distance and weights.
 

Detailed Description

template<class T>
struct EBGeometry::Fused::BlurOp< T >

Blur: a weighted average of the operand's values at 27 points (CSGOps::blur()).

Template Parameters
TFloating-point precision.

Member Function Documentation

◆ box()

template<class T >
template<class O >
BoundingVolumes::AABBT< T > EBGeometry::Fused::BlurOp< T >::box ( const O &  a_operands) const
inline

The box: the operand's, grown by sqrt(3) d.

Template Parameters
OOperands type.
Parameters
[in]a_operandsOperands.
Returns
The box.

◆ evaluate()

template<class T >
template<class O >
T EBGeometry::Fused::BlurOp< T >::evaluate ( const O &  a_operands,
const Vec3T< T > &  a_point 
) const
inlinenoexcept

The value.

Template Parameters
OOperands type.
Parameters
[in]a_operandsOperands.
[in]a_pointPoint.
Returns
The value.

◆ quality()

template<class T >
template<class C >
static constexpr DistanceQuality EBGeometry::Fused::BlurOp< T >::quality ( )
inlinestaticconstexprnoexcept

Distance quality: a bound, unless the operand is not a distance.

Template Parameters
COperand type.
Returns
The quality.

The documentation for this struct was generated from the following file: