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

The boolean intersection of a number of domain functionals. This creates the boolean intersection between the provided domains. The intersection returns true when all of the domains are true. More...

#include <geometry.h>

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

Public Member Functions

 Intersection (std::initializer_list< std::reference_wrapper< plb::DomainFunctional3D > > domains)
 
bool operator() (plb::plint x, plb::plint y, plb::plint z) const override
 Returns true only if all domains are true.
 
Intersectionclone () const override
 

Private Attributes

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

Detailed Description

The boolean intersection of a number of domain functionals. This creates the boolean intersection between the provided domains. The intersection returns true when all of the domains are true.

NOTE: when no domains are provided, the intersection always returns true.

Constructor & Destructor Documentation

◆ Intersection()

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

Member Function Documentation

◆ clone()

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

◆ operator()()

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

Returns true only if all domains are true.

Member Data Documentation

◆ domains

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