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

A domain functional indicating true inside a rectangular box. The BoxDomain functional evaluates to true inside its box, where inclusive edges are considered using plb::contained(). More...

#include <geometry.h>

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

Public Member Functions

 BoxDomain (plb::Box3D box)
 
bool operator() (plb::plint x, plb::plint y, plb::plint z) const override
 Returns true inside the rectangular box (inclusive edges).
 
const plb::Box3D & bounding_box () const
 The relevant bounding box of the BoxDomain functional is known.
 
BoxDomainclone () const override
 

Private Attributes

plb::Box3D box
 

Detailed Description

A domain functional indicating true inside a rectangular box. The BoxDomain functional evaluates to true inside its box, where inclusive edges are considered using plb::contained().

Constructor & Destructor Documentation

◆ BoxDomain()

geom::BoxDomain::BoxDomain ( plb::Box3D  box)
inlineexplicit

Member Function Documentation

◆ bounding_box()

const plb::Box3D & geom::BoxDomain::bounding_box ( ) const
inline

The relevant bounding box of the BoxDomain functional is known.

◆ clone()

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

◆ operator()()

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

Returns true inside the rectangular box (inclusive edges).

Member Data Documentation

◆ box

plb::Box3D geom::BoxDomain::box
private