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: Wed, 29 May 2013 06:40:21 -0700 (PDT)

Hi again,

Indeed a linear interpolation is way better than the constant approximation,
though the formulas are a bit trickier to implement.

Instead of "value of the density at triangle's center" x "area of the
triangle", you can compute the volume between 1. the triangle whose each
vertice receives a z-coordinate equal to its density value and 2. the z = 0
plane.

Note that you can in all cases gain precision with the max area condition
and the derivative computation.

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-tp4657579p4657627.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.18.

Top of Page