Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HeightMap iterator #69

Closed

Conversation

nhatdongdang
Copy link
Contributor

This pull request introduces the following enhancements to the HeightMap class:

  1. 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.
  2. 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.
  3. Test Cases:

    • Tests include verifying iteration over the height data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant