Hello - is there a ULP to measure the area of a polygon? I need the area to calculate the capacitance of a PCB capacitor.
Regards
Harry
Hello - is there a ULP to measure the area of a polygon? I need the area to calculate the capacitance of a PCB capacitor.
Regards
Harry
"Harry Percy" skrev i nyhetsmeldingen:
642734460.11404466101111.JavaMail.jive@flcspu-csapp-01.premierfarnell.com
...
Hello - is there a ULP to measure the area of a polygon? I need the area
to calculate the capacitance of a PCB capacitor.
It should'nt be hard to write one using this formula with the polygon's
contours() loop member.
http://www.mathsisfun.com/geometry/area-irregular-polygons.html
Remember to subtract the holes. The contours() gives you access to the
holes too.
Also be aware If the opposite pole of the fill has holes underneath. Thats a
bit harder to calculate, but not impossible.
"Harry Percy" skrev i nyhetsmeldingen:
642734460.11404466101111.JavaMail.jive@flcspu-csapp-01.premierfarnell.com
...
Hello - is there a ULP to measure the area of a polygon? I need the area
to calculate the capacitance of a PCB capacitor.
It should'nt be hard to write one using this formula with the polygon's
contours() loop member.
http://www.mathsisfun.com/geometry/area-irregular-polygons.html
Remember to subtract the holes. The contours() gives you access to the
holes too.
Also be aware If the opposite pole of the fill has holes underneath. Thats a
bit harder to calculate, but not impossible.
Thank you - yes thats a clever way to look at the problem.
Harry