-
Notifications
You must be signed in to change notification settings - Fork 47
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
added surface self-intersection test as well as second derivatives of surface aspect ratio #401
added surface self-intersection test as well as second derivatives of surface aspect ratio #401
Conversation
… surface aspect ratio, minor radius, major radius, and mean cross sectional area of a surface
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #401 +/- ##
==========================================
+ Coverage 91.56% 91.64% +0.08%
==========================================
Files 74 74
Lines 12762 12987 +225
==========================================
+ Hits 11685 11902 +217
- Misses 1077 1085 +8
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
I think |
…lf-intersection check
This PR introduces a surface self-intersection test, and second derivatives of the surface aspect ratio with respect to the surface degrees of freedom.
The algorithm that checks for surface self-intersection first computes a surface cross section at a given cylindrical angle phi. Then, approximating the cross section as a piecewise linear polyline, the Bentley-Ottmann algorithm is used to check if any line segments overlap one another.
The second derivatives of surface aspect ratio are useful if being used as a surface label in the BoozerLS algorithm.