MEPP2 Project
Namespaces | Functions
similarity.hpp File Reference
#include <boost/graph/graph_traits.hpp>
#include "FEVV/Operators/AIF/topology_predicates.hpp"
#include <vector>
#include <set>
Include dependency graph for similarity.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 MutableFaceIncidentGraph >
static void FEVV::Operators::replace_similar_edges (typename boost::graph_traits< MutableFaceIncidentGraph >::face_descriptor face, const typename boost::graph_traits< MutableFaceIncidentGraph >::edge_descriptor old_edge, const typename boost::graph_traits< MutableFaceIncidentGraph >::edge_descriptor new_edge, MutableFaceIncidentGraph &g)
 Replace the old_edge incident edge of face by the new_edge if old_edge and new_edge were similar/parallel edges. More...
 
template<typename MutableFaceIncidentGraph >
static void FEVV::Operators::merge_similar_edges (typename boost::graph_traits< MutableFaceIncidentGraph >::edge_descriptor e_to_keep, typename boost::graph_traits< MutableFaceIncidentGraph >::edge_descriptor e_to_remove, MutableFaceIncidentGraph &g)
 For all faces incident to e_to_remove, if e_to_keep and e_to_remove were similar/parallel edges then these faces are made incident to e_to_keep by replacing e_to_remove by e_to_keep among their incident edges. Then each face is added to e_to_keep' incident faces. More...
 
template<typename MutableFaceIncidentGraph >
static void FEVV::Operators::resolve_similar_incident_edges (typename boost::graph_traits< MutableFaceIncidentGraph >::vertex_descriptor v_to_keep, MutableFaceIncidentGraph &g)
 Remove/resolve similar/parallel edges for all incident edges of v_to_keep vertex. More...
 
template<typename MutableFaceIncidentGraph >
static void FEVV::Operators::resolve_similar_incident_faces (typename boost::graph_traits< MutableFaceIncidentGraph >::vertex_descriptor v_to_keep, MutableFaceIncidentGraph &g, bool take_into_account_face_rientation=false)
 Remove/resolve similar faces for all incident faces of v_to_keep vertex. More...
 
template<typename MutableFaceIncidentGraph >
static std::vector< std::pair< typename boost::graph_traits< MutableFaceIncidentGraph >::face_descriptor, bool > > FEVV::Operators::resolve_similar_incident_faces (typename boost::graph_traits< MutableFaceIncidentGraph >::vertex_descriptor v_to_keep, MutableFaceIncidentGraph &g, const std::set< typename boost::graph_traits< MutableFaceIncidentGraph >::face_descriptor > &faces_to_preserve_range, bool take_into_account_face_rientation)
 Remove/resolve similar faces for all incident faces of v_to_keep vertex. More...