Brankonymous's blog

By Brankonymous, history, 6 months ago, In English,

Does anyone know any source material or code, when given n coordinate points, you need to calculate area of given non-convex polygone.

 
 
 
 
  • Vote: I like it
  • -8
  • Vote: I do not like it

»
6 months ago, # |
  Vote: I like it +11 Vote: I do not like it

You can use algorithm for triangution polygon and then sum up areas of all triangles.

»
6 months ago, # |
  Vote: I like it +5 Vote: I do not like it

as long as the polygon is simple you can use the shoelace formula