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

A Big effort to create a conforming c++ version #2

Merged
merged 11 commits into from
Jul 21, 2023
Merged

Conversation

bhathaway
Copy link
Owner

While originally I had intended to leave the python as is, in the course of attempting it, I found that factoring the python helped the effort considerably. I've found this very instructive, as more evidence that interfaces must always require good behavior from both sides for best maintenance.

bhathaway added 11 commits July 19, 2023 20:19
Even got some pybind11 going so that I can eventually use
the same tests as exist in the python. Potentially could even phase out
the python module code, or leave it as a reference.
I can use "test_vector.py" unaltered, and I'm hopeful that I can
continue that trend for all the python tests until the bindings and
c++ classes are complete.
Tuples are getting in my way.
Took some massaging, but overall I like it better.
This is now much cleaner, which I like.
Deals with converting tuple usage to Point2d
The module still needs the raster function, however.
It doesn't quite work yet in c++. There seem to be gaps of some kind
either related to angle or nudging. Evidence based on adding a new
simple circle test in "test_raster.py".
@bhathaway bhathaway marked this pull request as ready for review July 21, 2023 22:56
@bhathaway bhathaway merged commit c1afc76 into restructure Jul 21, 2023
@bhathaway bhathaway deleted the cpp_addition branch July 21, 2023 22:57
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