Menu

Can I creare an area with “holes”?

Anonymous
2021-09-13
2021-09-14
  • Anonymous

    Anonymous - 2021-09-13

    in defining a polygon area, can i create one with "holes"?

     
  • Charles Karney

    Charles Karney - 2021-09-13

    It's easy:

    List all the points for the outer polygon taking care to "close it" by
    repeating the starting point at the end; then list the points for each
    hole (again closing them).

    Be sure to list the points for the outer polygon in a counter-clockwise
    order and the points for the holes in a clockwise sense.

    That's it!

     
  • Charles Karney

    Charles Karney - 2021-09-14

    It goes without saying that you should check your method by computing the areas of the outer polygon and the holes separately.

     

Anonymous
Anonymous

Add attachments
Cancel