Wildmeshing Toolkit
triangle_areas.hpp File Reference
#include <Eigen/Core>
Include dependency graph for triangle_areas.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 wmtk
 
 wmtk::utils
 

Functions

template<typename ADerived , typename BDerived , typename CDerived >
auto wmtk::utils::triangle_3d_area (const Eigen::MatrixBase< ADerived > &a, const Eigen::MatrixBase< BDerived > &b, const Eigen::MatrixBase< CDerived > &c) -> typename ADerived::Scalar
 
template<typename ADerived , typename BDerived , typename CDerived >
auto wmtk::utils::triangle_signed_2d_area (const Eigen::MatrixBase< ADerived > &a, const Eigen::MatrixBase< BDerived > &b, const Eigen::MatrixBase< CDerived > &c) -> typename ADerived::Scalar
 
template<typename ADerived , typename BDerived , typename CDerived >
auto wmtk::utils::triangle_unsigned_2d_area (const Eigen::MatrixBase< ADerived > &a, const Eigen::MatrixBase< BDerived > &b, const Eigen::MatrixBase< CDerived > &c) -> typename ADerived::Scalar