Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] How to find center of mass and principal inertial

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] How to find center of mass and principal inertial


Chronological Thread 
  • From: Pierre Alliez <>
  • To:
  • Subject: Re: [cgal-discuss] How to find center of mass and principal inertial
  • Date: Wed, 25 Mar 2009 12:52:35 +0100
  • Organization: INRIA

hi Samay,

check the covariance matrix and centroid computation of the PCA component. if you can decompose you polyhedron into a set of tets this will work as the inertia matrix is trivially deduced from the covariance matrix.
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


Samay Kumar a écrit :
Hello friends,

I wanted to find Center of Mass and Principal axis of 3D object defined in .obj (wavefront). I read that CGAL works with .off file but I think it's not that big deal converting .obj data structure to .off.

So, what I want is to recover center of mass and principal inertial axis of such polyhedron model. Can CGAL help me with this problem?

Waiting for someone's reply.

Thanks in advance,
Samay




Archive powered by MHonArc 2.6.16.

Top of Page