-
Notifications
You must be signed in to change notification settings - Fork 1
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
implement 2D map and basic operations #3
Conversation
this part of the code is very likely to be refactored when real algorithms will be implemented
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think identifiers should be custom types. It can help to know what kind of indirections are stored.
We can change implementation from simple aliasing to more opaque type.
most methods are done, with the exception of sewing operations as they require clear choices on their behavior (e.g. their influence over geometric space)
I replaced Side effect: when the custom types are set as |
there are two known issue of this implementation detailed in the doc: - beta I is a partial permutation => computed cell might be incomplete - return a vec => highly inefficient
implementation of various methods & verification in those methods require beta0 for efficiency purposes
need to complete the reverse operation in case of inconsistent orientation
- split i-sew/unsew into specialized methods - new getters/setters for i-cells identifiers
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work but try to keep PR smaller next time!
this removes the need for a definition in each method using the macro
for better consistency & more additions to API
set TwoMap.vertices as private as a consequence
implement 2D map and basic operations
Implementation of 2D combinatorial maps.
To-Do before merging:
Scope
honeycomb-core
Type of change
Other
...
Necessary follow-up
Mentions
...