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

Annotation drawing improvements #821

Open
2 of 3 tasks
manthey opened this issue May 22, 2018 · 2 comments
Open
2 of 3 tasks

Annotation drawing improvements #821

manthey opened this issue May 22, 2018 · 2 comments

Comments

@manthey
Copy link
Contributor

manthey commented May 22, 2018

  • Allow continuous (freehand) drawing for polygons
  • Optionally prevent polygons and lines from self-crossing during creation.
    This could be accomplished by disallowing points that would self cross or by creating vertices at the crossing point(s) so that the polygon can be uncrossed. Disallowing points that lead to self-crossing is probably more obvious, but it might not be obvious why you can't close a polygon if only the closure leads to self-crossing.
  • Use rdpSimplify in continuous drawing mode to remove nearly colinear points.
@manthey
Copy link
Contributor Author

manthey commented Jun 21, 2022

The polygon boolean operations largely address this. We probably should self-union polygon annotations on close.

Update: Added in #1236.

@manthey
Copy link
Contributor Author

manthey commented Jun 30, 2022

Actual colinear points will be removed by the polybool union operation.

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

No branches or pull requests

1 participant