You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: