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

Union or intersection: the minimum or the maximum of the operands' values, in order. More...

#include <EBGeometry_Fused.hpp>

Public Member Functions

template<class O , class T >
T evaluate (const O &a_operands, const Vec3T< T > &a_point) const noexcept
 The value.
 
template<class O >
auto box (const O &a_operands) const
 The box: the union, or the intersection, of the operands' boxes.
 

Static Public Member Functions

template<class... Cs>
static constexpr DistanceQuality quality () noexcept
 Distance quality: a bound at best.
 

Detailed Description

template<bool IsUnion>
struct EBGeometry::Fused::CombineOp< IsUnion >

Union or intersection: the minimum or the maximum of the operands' values, in order.

Template Parameters
IsUnionWhether this is a union.

Member Function Documentation

◆ box()

template<bool IsUnion>
template<class O >
auto EBGeometry::Fused::CombineOp< IsUnion >::box ( const O &  a_operands) const
inline

The box: the union, or the intersection, of the operands' boxes.

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

◆ evaluate()

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

The value.

Template Parameters
OOperands type.
TFloating-point precision.
Parameters
[in]a_operandsOperands.
[in]a_pointPoint.
Returns
The value.

◆ quality()

template<bool IsUnion>
template<class... Cs>
static constexpr DistanceQuality EBGeometry::Fused::CombineOp< IsUnion >::quality ( )
inlinestaticconstexprnoexcept

Distance quality: a bound at best.

Template Parameters
CsOperand types.
Returns
The quality.

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