LOOS  v2.3.2
loos::ZSliceSelector Struct Reference

Predicate for selecting atoms in a specific range of z values. More...

#include <Selectors.hpp>

Inheritance diagram for loos::ZSliceSelector:
Collaboration diagram for loos::ZSliceSelector:

Public Member Functions

 ZSliceSelector (const greal min, const greal max)
 
bool operator() (const pAtom &pa) const
 

Public Attributes

greal _min
 
greal _max
 

Detailed Description

Predicate for selecting atoms in a specific range of z values.

Definition at line 92 of file Selectors.hpp.

Member Function Documentation

bool loos::ZSliceSelector::operator() ( const pAtom &  atom) const
virtual

Predicate function for selecting atoms. If true, then the passed Atom is selected for an operation (or addition to a new group). If false, then the passed Atom is skipped.

Implements loos::AtomSelector.

Definition at line 137 of file Selectors.cpp.


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