Menu

polygon_selection

Marián Zubák
Attachments
step1.png (15374 bytes)
step2.png (15405 bytes)
step3.png (15135 bytes)
step4.png (15708 bytes)
step5.png (16171 bytes)
step6.png (15828 bytes)

Polygon selection

Polygon selection use simple but efficient algorithm to create polygon with minimum mouse clicks. There is not necessary to start with some point and then add points in one direction until shape is closed. This is using and improved logic to automatically join closest points to create a polygon shape. If a lines are crossing after adding a point, just drag and move point to another position or delete it by right click.

Mouse actions and buttons used:

  • left click to add point
  • right click to remove point
  • drag point to new position with left button pressed

Sometimes there can be connected points which will create a crossing of lines, but don't be afraid, it is just because there is less points as is necessary. In that case just add new point to position where you need it and polygon will be recalculated.

  1. add first four points in any order
  2. add next point to make more curved bottom part, it will make crossed lines, but it is not a problem
  3. add next point on the other side to remove crossed lines, remember that nearest distance between points is a rule for connecting points
  4. add another point
  5. add next point to make bottom part of area
  6. add next two points to finish polygon area

Related

Wiki: selection

MongoDB Logo MongoDB