Area of a polygon- using numerical integration

AI Thread Summary
To calculate the area of an irregular polygon using numerical integration techniques, one effective method is to decompose the polygon into triangles by connecting adjacent corners. It's essential to ensure that the lines drawn do not intersect any edges and remain within the polygon, especially for non-convex shapes. Another approach involves polygon filling using scanlines, which can be explored in specific reference materials. While decomposing into triangles is intuitive, it can present practical challenges. For precise calculations, utilizing vertex coordinates and established formulas can be beneficial.
atee
Messages
1
Reaction score
0
Hi,

I need to calculate area of an irregular polygon which can be of any complex shape numerically i.e. using numerical integration techniques.

Please can anyone suggest any reference material / best way of going about this efficiently?

Akash
 
Mathematics news on Phys.org
The most accurate method will be to divide the polygon into triangles.

You can choose any corner, and try to eliminate it by drawing a line between the adjacent corners.
Since the polygon isn't convex, you need to check.
-that the line drawn is on the inside of the polygon
-that the line doesn't intersect any of the edges.

It gets harder if the border of the polygon consists of more than one loop.

Another idea is to look at polygon filling using scanlines, for example here:

http://ezekiel.vancouver.wsu.edu/~cs442/lectures/raster/polyfill/poly.pdf
 
Decomposing a general polygon into triangles is intuitive, but it can be problematic in practice.

If you know the coordinates of the vertices of a general polygon, this article has formulas for calculating the area and centroid:

http://en.wikipedia.org/wiki/Polygon
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
Back
Top