This pull request introduces the following enhancements to the Chunk class:
Addition of Iterator class:
Implemented an Iterator class within Chunk to enable traversal of the 3D block data using standard iterator patterns.
Added the begin() and end() methods to support range-based loops and iterator-based algorithms.
Doxygen-style documentation:
Documented the Iterator class, including all its methods (operator*, operator->, operator++ (prefix and postfix), operator==, operator!=), as well as the begin() and end() methods.
Provided clear descriptions of the iterator's functionality and the purpose of each method.
Test Cases:
Tests include verifying iteration over the Chunk data.
This pull request introduces the following enhancements to the
Chunk
class:Addition of
Iterator
class:Chunk
to enable traversal of the 3D block data using standard iterator patterns.begin()
andend()
methods to support range-based loops and iterator-based algorithms.Doxygen-style documentation:
Iterator
class, including all its methods (operator*
,operator->
,operator++
(prefix and postfix),operator==
,operator!=
), as well as thebegin()
andend()
methods.Test Cases:
Fix getter: