MEPP2 Project
Functions
CGAL::Euler Namespace Reference

Functions

boost::graph_traits< FEVV::DataStructures::AIF::AIFMesh >::edge_descriptor add_edge (typename boost::graph_traits< FEVV::DataStructures::AIF::AIFMesh >::vertex_descriptor s, typename boost::graph_traits< FEVV::DataStructures::AIF::AIFMesh >::vertex_descriptor t, FEVV::DataStructures::AIF::AIFMesh &g)
 
template<typename VertexRange >
boost::graph_traits< FEVV::DataStructures::AIF::AIFMesh >::face_descriptor add_face (const VertexRange &vr, FEVV::DataStructures::AIF::AIFMesh &g)
 

Function Documentation

◆ add_edge()

boost::graph_traits< FEVV::DataStructures::AIF::AIFMesh >::edge_descriptor CGAL::Euler::add_edge ( typename boost::graph_traits< FEVV::DataStructures::AIF::AIFMesh >::vertex_descriptor  s,
typename boost::graph_traits< FEVV::DataStructures::AIF::AIFMesh >::vertex_descriptor  t,
FEVV::DataStructures::AIF::AIFMesh g 
)
inline

adds and returns the edge e connecting s and t halfedge(e, g) has s as source and t as target

Definition at line 1079 of file Graph_traits_aif.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ add_face()

template<typename VertexRange >
boost::graph_traits< FEVV::DataStructures::AIF::AIFMesh >::face_descriptor CGAL::Euler::add_face ( const VertexRange &  vr,
FEVV::DataStructures::AIF::AIFMesh g 
)

adds a new face defined by a range of vertices (identified by their descriptors, boost::graph_traits<Graph>::vertex_descriptor). For each pair of consecutive vertices, the corresponding halfedge is added in g if new, and its connectivity is updated otherwise. The face can be added only at the boundary of g, or as a new connected component.

Precondition
vr contains at least 3 vertices
Returns
the added face descriptor, or boost::graph_traits<Graph>::null_face() if the face could not be added.

Definition at line 1104 of file Graph_traits_aif.h.

Here is the call graph for this function:
Here is the caller graph for this function: