Subject: CGAL users discussion list
List archive
- From: Pierre Alliez <>
- To:
- Subject: Re: [cgal-discuss] Volume and moment of inertia of Polyhedron
- Date: Wed, 25 Mar 2009 12:43:30 +0100
- Organization: INRIA
hi Atul,
if you can decompose your polyhedron into a set of tetrahedra - then you can use the internal function of the PCA component - which computes the covariance matrix of such set. the inertia matrix is then trivially deduced from it.
if you can suggest a nice API for this type of need I may think of adding this function into a future release.
Pierre
Pierre Alliez
INRIA Sophia Antipolis - Mediterranee Project-team GEOMETRICA http://www-sop.inria.fr/members/Pierre.Alliez/
Tel: +33 4 92 38 76 77
Fax: +33 4 97 15 53 95
Atul Thakur a écrit :
Hi All,
I need to find out volume and mass moment of inertia of given
polyhedrons. I looked for cgal methods doing that but could not find
any directly.
If there is no such method existing I can write mine. Just want to
check if there is some method hiding somewhere.
Another thing is area moment of inertia of 2D polygons that I need to
find. For that also I couldn't find any method.
thanks,
-Atul
- [cgal-discuss] Volume and moment of inertia of Polyhedron, Atul Thakur, 03/19/2009
- Re: [cgal-discuss] Volume and moment of inertia of Po lyhedron, Peter Hachenberger, 03/20/2009
- Re: [cgal-discuss] Volume and moment of inertia of Polyhedron, Pierre Alliez, 03/25/2009
Archive powered by MHonArc 2.6.16.