MEPP2 Project
Namespaces | Functions
triangles.hpp File Reference
#include <boost/graph/graph_traits.hpp>
#include <boost/graph/properties.hpp>
#include "FEVV/Wrappings/Geometry_traits.h"
#include "FEVV/Operators/Geometry/AngleOperations.hpp"
#include "FEVV/Tools/Math/MatrixOperations.hpp"
Include dependency graph for triangles.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 FEVV
 Interfaces for plugins These interfaces will be used for different plugins.
 
 FEVV::Operators
 
 FEVV::Operators::Geometry
 

Functions

template<typename GeometryTraits >
GeometryTraits::Point FEVV::Operators::Geometry::triangle_barycenter (const typename GeometryTraits::Point &a, const typename GeometryTraits::Point &b, const typename GeometryTraits::Point &c, const GeometryTraits &)
 Compute the barycenter/mean position of a triangle (given by 3 points). More...
 
template<typename GeometryTraits >
double FEVV::Operators::Geometry::triangle_perimeter (const typename GeometryTraits::Point &a, const typename GeometryTraits::Point &b, const typename GeometryTraits::Point &c, const GeometryTraits &gt)
 Compute the perimeter of a triangle (given by 3 points). More...
 
template<typename GeometryTraits >
GeometryTraits::Vector FEVV::Operators::Geometry::triangle_normal_unnormalized (const typename GeometryTraits::Point &a, const typename GeometryTraits::Point &b, const typename GeometryTraits::Point &c, const GeometryTraits &gt)
 Compute the unnormalized normal of a triangle (given by 3 points). More...
 
template<typename GeometryTraits >
double FEVV::Operators::Geometry::triangle_area (const typename GeometryTraits::Point &a, const typename GeometryTraits::Point &b, const typename GeometryTraits::Point &c, const GeometryTraits &gt)
 Compute the area of a triangle (given by 3 points). More...
 
template<typename FaceGraph , typename GeometryTraits = FEVV::Geometry_traits< FaceGraph >>
double FEVV::Operators::Geometry::triangle_shape_potential (const typename GeometryTraits::Point &a, const typename GeometryTraits::Point &b, const typename GeometryTraits::Point &c, const double prohib_energy, const GeometryTraits &gt)
 Compute the shape potential of a triangle (given by 3 points). Triangle "equilateralness" measure. More...