Skip to content

[TASK] added Polygon get_self_intersection_lines() function, to find out... - #1

Open
kmcs wants to merge 1 commit into
calvinmetcalf:masterfrom
kmcs:master
Open

[TASK] added Polygon get_self_intersection_lines() function, to find out...#1
kmcs wants to merge 1 commit into
calvinmetcalf:masterfrom
kmcs:master

Conversation

@kmcs

@kmcs kmcs commented Apr 28, 2015

Copy link
Copy Markdown

... after simple_polygon() test, which lines from the polygon have the self-intersection.

…out after simple_polygon() test, which lines from the polygon have the self-intersection.
Comment thread lib/polygon.js

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is no need for a getter here, you can just access self_intersection_lines

@calvinmetcalf

Copy link
Copy Markdown
Owner

not sure this is the best way to do it, a different method called is_complex or something that either returns the array or false might be a better idea as it can give ALL the self intersecting lines not just the first that it hits

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.

2 participants