SegmentsIntersect for PointD? #655
trufanov-nok
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I would like to test a line defined by 2 points if it crossing any of my PathD polygon border. Currently I forked a SegmentsIntersect() method and adapted it for PointD type as it's not a templated method and expects a Point64 instead. And I iterating all borders with:
Is this a best approach with current Clipper2 API? Perhaps I didn't noticed some other methods?
If no, why not to add a templated version of SegmentsIntersect to the lib?
Beta Was this translation helpful? Give feedback.
All reactions