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

Fix MMP path extraction bug #148

Merged
merged 2 commits into from
Mar 21, 2023

Conversation

MarkGillespie
Copy link
Collaborator

Fix #133. There was a minor logic error in path extraction around manifold mesh boundaries. I sometimes tried to trace back along the virtual boundary loop faces that ManifoldSurfaceMesh uses, which caused some errors. Adding the isBoundaryLoop check to line 123 of exact_geodesics.cpp fixes the bug.

Also modifies TraceGeodesicResult to return the length of the traced path.

@MarkGillespie MarkGillespie merged commit bf115c2 into nmwsharp:master Mar 21, 2023
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.

Exception when traceBack geodesic curve.
1 participant