Automatic backups, patching, replication, and failover. Focus on your app, not your database.
Cloud SQL handles your database ops end to end, so you can focus on your app.
Try Free
MongoDB Atlas runs apps anywhere
Deploy in 115+ regions with the modern database for every enterprise.
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Calculates Volume, Surface Area & Centroid of a Closed Triangular Mesh
...Tetrahedrons with back facing triangles are added and those with forward facing triangles are subtracted yielding the object volume.
A detailed description of the process is presented in the ObjectVolumeTutorial.doc document as well as program logic and results.
A key component in the program is a subroutine that calculates the volume of a tetrahedron. Four sets of equations were tested and to my surprise all four produced similar results in accuracy and timing.