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

The operands of a node, with the location their pool-resident ones resolve against. More...

#include <EBGeometry_Fused.hpp>

Collaboration diagram for EBGeometry::Fused::Detail::Operands< Cs >:
Collaboration graph
[legend]

Public Member Functions

template<size_t I, class T >
T value (const Vec3T< T > &a_point) const noexcept
 Operand I's value at a point.
 
template<size_t I>
auto box () const
 Operand I's bounding box.
 

Public Attributes

const Pack< CSGDetail::Stored< Cs >... > & m_pack
 The operands, as stored.
 
PoolLocation m_location
 The node's location.
 

Static Public Attributes

static constexpr size_t count = sizeof...(Cs)
 Number of operands.
 

Detailed Description

template<class... Cs>
struct EBGeometry::Fused::Detail::Operands< Cs >

The operands of a node, with the location their pool-resident ones resolve against.

Template Parameters
CsOperand types.

Member Function Documentation

◆ box()

template<class... Cs>
template<size_t I>
auto EBGeometry::Fused::Detail::Operands< Cs >::box ( ) const
inline

Operand I's bounding box.

Template Parameters
IOperand index.
Returns
The box.

◆ value()

template<class... Cs>
template<size_t I, class T >
T EBGeometry::Fused::Detail::Operands< Cs >::value ( const Vec3T< T > &  a_point) const
inlinenoexcept

Operand I's value at a point.

Template Parameters
IOperand index.
TFloating-point precision.
Parameters
[in]a_pointPoint.
Returns
The value.

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