MEPP2 Project
Namespaces | Functions
calculate_vertex_normal.hpp File Reference
#include <boost/graph/graph_traits.hpp>
#include <boost/graph/properties.hpp>
#include <CGAL/boost/graph/helpers.h>
#include "FEVV/Wrappings/Geometry_traits.h"
#include "FEVV/Operators/Generic/calculate_face_normal.hpp"
#include <cassert>
Include dependency graph for calculate_vertex_normal.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
 

Functions

template<typename HalfedgeGraph , typename PointMap , typename GeometryTraits >
GeometryTraits::Vector FEVV::Operators::calculate_vertex_normal (typename boost::graph_traits< HalfedgeGraph >::vertex_descriptor v, const HalfedgeGraph &g, const PointMap &pm, const GeometryTraits &gt)
 Computes the unit normal at considered vertex v as the average of the normals of incident faces. More...
 
template<typename HalfedgeGraph , typename PointMap , typename FaceNormalMap , typename GeometryTraits >
GeometryTraits::Vector FEVV::Operators::calculate_vertex_normal (typename boost::graph_traits< HalfedgeGraph >::vertex_descriptor v, const HalfedgeGraph &g, const PointMap &, const FaceNormalMap &fnm, const GeometryTraits &gt)
 Computes the unit normal at considered vertex v as the average of the precomputed normals (provided as argument) of incident faces. More...