PLaSK library
|
Iterator over plane CHANGE_DIR_SLOWER, CHANGE_DIR_FASTER (an index if the remain coordinate is constant). More...
#include <plask/mesh/rectangular_masked3d.hpp>
Public Member Functions | |
BoundaryIteratorImpl (const RectangularMaskedMeshBase< 3 > &mesh, Vec< 3, std::size_t > index, std::size_t indexSlowerEnd, std::size_t indexFasterEnd) | |
void | increment () override |
Iterate to next value. | |
bool | equal (const plask::BoundaryNodeSetImpl::IteratorImpl &other) const override |
std::size_t | dereference () const override |
std::unique_ptr< plask::BoundaryNodeSetImpl::IteratorImpl > | clone () const override |
Clone this iterator. | |
Public Member Functions inherited from plask::PolymorphicForwardIteratorImpl< ValueT, ReferenceT > | |
virtual | ~PolymorphicForwardIteratorImpl () |
Virtual destructor, do nothing. | |
virtual bool | equal (const PolymorphicForwardIteratorImpl &other) const =0 |
Check if this is equal to other . | |
Public Attributes | |
const RectangularMaskedMeshBase< 3 > & | mesh |
Vec< 3, std::size_t > | index |
current indexes | |
const std::size_t | indexFasterBegin |
past the last index of change direction | |
const std::size_t | indexFasterEnd |
const std::size_t | indexSlowerEnd |
Additional Inherited Members | |
Public Types inherited from plask::PolymorphicForwardIteratorImpl< ValueT, ReferenceT > | |
typedef ValueT | value_type |
Type of objects pointed by the iterator. | |
typedef ReferenceT | reference |
Type to represent a reference to an object pointed by the iterator. | |
Iterator over plane CHANGE_DIR_SLOWER, CHANGE_DIR_FASTER (an index if the remain coordinate is constant).
Each increment() changes CHANGE_DIR_FASTER index.
Common code for: left, right, bottom, top boundaries.
Definition at line 654 of file rectangular_masked3d.hpp.
|
inline |
Definition at line 674 of file rectangular_masked3d.hpp.
|
inlineoverridevirtual |
Clone this iterator.
*this
, allocated with new operator (caller is responsible for deleting it) Implements plask::PolymorphicForwardIteratorImpl< ValueT, ReferenceT >.
Definition at line 696 of file rectangular_masked3d.hpp.
|
inlineoverridevirtual |
Implements plask::PolymorphicForwardIteratorImpl< ValueT, ReferenceT >.
Definition at line 692 of file rectangular_masked3d.hpp.
|
inlineoverride |
Definition at line 688 of file rectangular_masked3d.hpp.
|
inlineoverridevirtual |
Iterate to next value.
Implements plask::PolymorphicForwardIteratorImpl< ValueT, ReferenceT >.
Definition at line 682 of file rectangular_masked3d.hpp.
Vec<3, std::size_t> plask::RectangularMaskedMesh3D::BoundaryIteratorImpl< CHANGE_DIR_SLOWER, CHANGE_DIR_FASTER >::index |
current indexes
Definition at line 659 of file rectangular_masked3d.hpp.
const std::size_t plask::RectangularMaskedMesh3D::BoundaryIteratorImpl< CHANGE_DIR_SLOWER, CHANGE_DIR_FASTER >::indexFasterBegin |
past the last index of change direction
Definition at line 662 of file rectangular_masked3d.hpp.
const std::size_t plask::RectangularMaskedMesh3D::BoundaryIteratorImpl< CHANGE_DIR_SLOWER, CHANGE_DIR_FASTER >::indexFasterEnd |
Definition at line 662 of file rectangular_masked3d.hpp.
const std::size_t plask::RectangularMaskedMesh3D::BoundaryIteratorImpl< CHANGE_DIR_SLOWER, CHANGE_DIR_FASTER >::indexSlowerEnd |
Definition at line 662 of file rectangular_masked3d.hpp.
const RectangularMaskedMeshBase<3>& plask::RectangularMaskedMesh3D::BoundaryIteratorImpl< CHANGE_DIR_SLOWER, CHANGE_DIR_FASTER >::mesh |
Definition at line 656 of file rectangular_masked3d.hpp.