Advanced Geometry

Anyone know of a set of reusable code that implements advanced geometry calculations?
I hate rewriting this stuff - especially considering my lack of math training.

Specifically (today) I’m looking for calculation of tetrahedron volume and surface area.

write it once… and save it to be re-used later

I think he mean re-invent the wheel, “rewriting” things that someone else has already worked out. :slight_smile:

I just found this in my back pocket.

Must have made sitting uncomfortable … :wink:

That won’t work for an irregular tetrahedron, but thanks for the sample code!

If only you’d mentioned that the tetrahedron in question was irregular in your original post. Then I would have also included a link to some fiber pills.