Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Re: Area of convex polygons with non-constant density

Subject: CGAL users discussion list

List archive

[cgal-discuss] Re: Area of convex polygons with non-constant density


Chronological Thread 
  • From: Tapadi <>
  • To:
  • Subject: [cgal-discuss] Re: Area of convex polygons with non-constant density
  • Date: Sun, 26 May 2013 14:05:35 -0700 (PDT)

Hi,

An easy approximated solution is to discretize both your polygon and your
density function. Then, you can simply integrate the function over the
polygon. This method works for all density functions, even those without
close form integral.

Exact solutions are much more tricky, depending on the nature of your
density function. If its integral is easy to compute over a triangle, then
apply the method you proposed : divide the polygon into triangles, then
compute and sum all integrals.

That's all my ideas, hope it will help!
Best regards,
Hugo Loi
PhD student at Inria - Maverick team



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Area-of-convex-polygons-with-non-constant-density-tp4657579p4657583.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.18.

Top of Page