|
Volume Cartographer 2.28.0
|
Mesh mathematical operations. More...
Functions | |
| template<typename T , std::enable_if_t< std::is_floating_point< T >::value, bool > = true> | |
| T | TriangleArea (T a, T b, T c) |
| Calculate the area of a triangle given its side lengths. More... | |
| double | SurfaceArea (const ITKMesh::Pointer &mesh) |
| Calculate the surface area of an ITKMesh. | |
Mesh mathematical operations.
| T volcart::meshmath::TriangleArea | ( | T | a, |
| T | b, | ||
| T | c | ||
| ) |
Calculate the area of a triangle given its side lengths.
Uses a version of Heron's formula that is stable for small angles.
Definition at line 26 of file MeshMath.hpp.