16 #error no need to expose this header to Swig
20 #ifndef BORNAGAIN_DEVICE_DETECTOR_SIMULATIONAREAITERATOR_H
21 #define BORNAGAIN_DEVICE_DETECTOR_SIMULATIONAREAITERATOR_H
61 return !(*
this == right);
An iterator for SimulationArea.
size_t detectorIndex() const
size_t elementIndex() const
size_t nextIndex(size_t currentIndex)
const SimulationArea * m_area
SimulationAreaIterator(const SimulationArea *area, size_t start_at_index)
SimulationAreaIterator & operator++()
prefix increment
bool operator!=(const SimulationAreaIterator &other) const
size_t m_index
global index in detector plane defined by its axes
bool operator==(const SimulationAreaIterator &other) const
size_t m_element_index
sequential number for SimulationElementVector
Holds iteration logic over active detector channels in the presence of masked areas and RegionOfInter...