Calculation of volume from mesh

Feel free to ask any question here
Post Reply
Ingsayyad
Posts: 97
Joined: Fri Oct 25, 2013 9:17 am

Calculation of volume from mesh

Post by Ingsayyad »

I have two mesh objects. I need to get change in volume.
1-I can get their difference. Now question is that is there method to convert this diffrence into volume.
2-Can I simply get volume from mesh. Then I can calculte Delta_Volume=Volume1-Volume2
3- Can I convert mesh into solid. So, that I can do further in Autocad.
Anysolution
Attachments
Volume.JPG
Volume.JPG (96.85 KiB) Viewed 4286 times
daniel
Site Admin
Posts: 7710
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Calculation of volume from mesh

Post by daniel »

I've just added a method to compute the volume of a mesh. However, the result is only valid if the mesh is closed (what you call a 'solid' I guess?).

For the records I used the following method:
http://research.microsoft.com/en-us/um/ ... aZhang.pdf

I'll try to see later if we can extend this algorithm to deduce the volume of displaced material (i.e. a mesh with an associated scalar field) but I'm far from sure ...
Daniel, CloudCompare admin
Post Reply