Volume Enclosed by a Triangulated Surface

August 11, 2009 by Luigi Giaccari · 4 Comments
Filed under: CAD, Computational Geometry, Geometry 
VN:F [1.8.8_1072]
Rating: 0 (from 0 votes)
VN:F [1.8.8_1072]
Rating: 10.0/10 (1 vote cast)

Surface Volume

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

VN:F [1.8.8_1072]
Rating: 10.0/10 (1 vote cast)
VN:F [1.8.8_1072]
Rating: 0 (from 0 votes)

Popularity: 4% [?]

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • Live
  • PDF
  • Technorati
  • Twitter
  • Yahoo! Bookmarks
  • Add to favorites
  • email
  • MySpace
  • RSS