Convenience class to enable range based for loops over grid points.
Usage:
#include <SCIterator.h>
Public Types | |
using | iterator = SCIterator |
using | value_type = iterator::value_type |
Public Member Functions | |
SCGrid (const AABB &domain, const Vector3< real_t > &pointOfReference, const real_t spacing) | |
SCGrid (const AABB &domain, const Vector3< real_t > &pointOfReference, const Vector3< real_t > &spacing) | |
begin iterator More... | |
SCIterator | begin () |
SCIterator | begin () const |
SCIterator | cbegin () const |
SCIterator | end () |
SCIterator | end () const |
SCIterator | cend () const |
Private Attributes | |
AABB | domain_ |
Vector3< real_t > | pointOfReference_ |
Vector3< real_t > | spacing_ |
|
inline |
domain | volume were lattice points will be returned |
pointOfReference | point somewhere in the world which fixes the lattice |
spacing | spacing between grid points in x, y and z direction |
|
inline |
begin iterator
domain | volume were lattice points will be returned |
pointOfReference | point somewhere in the world which fixes the lattice |
spacing | spacing between grid points in x, y and z direction |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |