Subject: CGAL users discussion list
List archive
- 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.
- [cgal-discuss] Area of convex polygons with non-constant density, liudaisuda, 05/26/2013
- [cgal-discuss] Re: Area of convex polygons with non-constant density, Tapadi, 05/26/2013
- [cgal-discuss] Re: Area of convex polygons with non-constant density, liudaisuda, 05/27/2013
- Re: [cgal-discuss] Re: Area of convex polygons with non-constant density, Andreas Fabri, 05/27/2013
- [cgal-discuss] Re: Area of convex polygons with non-constant density, Tapadi, 05/27/2013
- [cgal-discuss] Re: Area of convex polygons with non-constant density, liudaisuda, 05/27/2013
- [cgal-discuss] Re: Area of convex polygons with non-constant density, liudaisuda, 05/27/2013
- Re: [cgal-discuss] Re: Area of convex polygons with non-constant density, 杨成林, 05/27/2013
- Re: [cgal-discuss] Re: Area of convex polygons with non-constant density, Haibo Chen, 05/27/2013
- Re: [cgal-discuss] Re: Area of convex polygons with non-constant density, Andreas Fabri, 05/27/2013
- [cgal-discuss] Re: Area of convex polygons with non-constant density, Tapadi, 05/27/2013
- [cgal-discuss] Re: Area of convex polygons with non-constant density, liudaisuda, 05/28/2013
- Re: [cgal-discuss] Re: Area of convex polygons with non-constant density, 杨成林, 05/27/2013
- [cgal-discuss] Re: Area of convex polygons with non-constant density, Tapadi, 05/27/2013
- Re: [cgal-discuss] Re: Area of convex polygons with non-constant density, Andreas Fabri, 05/27/2013
- [cgal-discuss] Re: Area of convex polygons with non-constant density, liudaisuda, 05/27/2013
- [cgal-discuss] Re: Area of convex polygons with non-constant density, Tapadi, 05/26/2013
Archive powered by MHonArc 2.6.18.