Volume of a 3D closed mesh car object

后端 未结 4 577
甜味超标
甜味超标 2021-01-13 10:07

I have a 3D closed mesh car object having a surface made up triangles. I want to calculate its volume, center of volume and inertia tensor.

Could you help me

<
4条回答
  •  滥情空心
    2021-01-13 10:59

    From numerical point of view, what you are trying to achieve is quite simple and can be reduced to calculating few quadratures. Wikipedia will provide needed information about maths behind it.

    If you are looking for out-of-the-box volume calculation, take a look at this entry. As of inertia -- shape is not enough, as you also need distribution of mass.

提交回复
热议问题