I am using toxiclibs to read and display STL files. I wonder if the library already contains code to calculate the volume of a closed Mesh, or if anyone is probably willing to share some code, which accomplishes this.
I have a rough idea to implement the algorithm, but was hoping that it already was done.