hemocell
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
geom::Union Class Reference

The union of multiple domain functionals. This domain functional builds the union of any number of domain functionals (derived from plb::DomainFunctional3D). The union of these domains considers the region where any of the included domains returns true. More...

#include <geometry.h>

Inheritance diagram for geom::Union:
Inheritance graph
[legend]
Collaboration diagram for geom::Union:
Collaboration graph
[legend]

Public Member Functions

 Union (std::initializer_list< std::reference_wrapper< plb::DomainFunctional3D > > domains)
 
bool operator() (plb::plint x, plb::plint y, plb::plint z) const override
 Return true if any of the included domains is true.
 
Unionclone () const override
 

Private Attributes

std::vector< std::reference_wrapper< plb::DomainFunctional3D > > domains
 

Detailed Description

The union of multiple domain functionals. This domain functional builds the union of any number of domain functionals (derived from plb::DomainFunctional3D). The union of these domains considers the region where any of the included domains returns true.

Constructor & Destructor Documentation

◆ Union()

geom::Union::Union ( std::initializer_list< std::reference_wrapper< plb::DomainFunctional3D > >  domains)
inline

Member Function Documentation

◆ clone()

Union * geom::Union::clone ( ) const
inlineoverride

◆ operator()()

bool geom::Union::operator() ( plb::plint  x,
plb::plint  y,
plb::plint  z 
) const
inlineoverride

Return true if any of the included domains is true.

Member Data Documentation

◆ domains

std::vector<std::reference_wrapper<plb::DomainFunctional3D> > geom::Union::domains
private