Volume Enclosed by a Triangulated Surface
Gets the Volume enclosed by the surface defined by p,t,tnorm. The surface must be closed and manifold, there is no check for this.
The algorithm compute the volume of 3 tetraedrons for each triangle. The normals orientation define the sign of volume, it is just a numerical integration.
Input:
- p: nx3 array containing 3D set of points
- t: triangles ids referring to p array. First point flagged as one.
- tnorm: outwards triangles normals orientation
Output:
- V: the Volume enclosed by the surface
For bugs,infos: giaccariluigi@msn.com
Download Now
Popularity: 4% [?]


















































