This pull request introduces the following enhancements to the HeightMap class:
Addition of Iterator class:
Implemented an Iterator class within HeightMap to enable traversal of the height 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 height data.
This pull request introduces the following enhancements to the
HeightMap
class:Addition of
Iterator
class:Iterator
class withinHeightMap
to enable traversal of the height 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: