MEPP2 Project
|
Classes | |
class | Edge_comparator |
class | Spanning_tree_vertex_edge_comparator |
class | Vertex_comparator |
Functions | |
template<> | |
std::list< typename boost::graph_traits< FEVV::DataStructures::AIF::AIFMesh >::vertex_descriptor > | get_adjacent_vertices (typename boost::graph_traits< FEVV::DataStructures::AIF::AIFMesh >::vertex_descriptor v, const FEVV::DataStructures::AIF::AIFMesh &) |
template<> | |
std::list< typename boost::graph_traits< FEVV::DataStructures::AIF::AIFMesh >::vertex_descriptor > | get_not_processed_adjacent_vertices (typename boost::graph_traits< FEVV::DataStructures::AIF::AIFMesh >::vertex_descriptor v, const FEVV::DataStructures::AIF::AIFMesh &g, std::map< typename boost::graph_traits< FEVV::DataStructures::AIF::AIFMesh >::vertex_descriptor, bool > &processed_vertices, typename boost::graph_traits< FEVV::DataStructures::AIF::AIFMesh >::edge_descriptor min_e) |
template<typename Graph , typename PointMap , typename EdgeWeightMap = typename FEVV::Edge_pmap_traits<Graph, typename FEVV::Geometry_traits<Graph>::Scalar >::pmap_type, typename GeometryTraits = FEVV::Geometry_traits<Graph>> | |
static Edge_comparator< Graph, PointMap, EdgeWeightMap, GeometryTraits > | get_edge_comparator (const Graph &g, const PointMap &pm) |
template<typename Graph > | |
std::list< typename boost::graph_traits< Graph >::vertex_descriptor > | get_adjacent_vertices (typename boost::graph_traits< Graph >::vertex_descriptor v, const Graph &g) |
template<typename Graph > | |
std::list< typename boost::graph_traits< Graph >::vertex_descriptor > | get_not_processed_adjacent_vertices (typename boost::graph_traits< Graph >::vertex_descriptor v, const Graph &g, std::map< typename boost::graph_traits< Graph >::vertex_descriptor, bool > &processed_vertices, typename boost::graph_traits< Graph >::edge_descriptor min_e) |
template<typename GeometryTraits > | |
double | neighbor_regularity (const typename GeometryTraits::Point &v_s_pos, const typename GeometryTraits::Point &v_t_pos, const typename GeometryTraits::Point &v_s_t_kept_neighbor_pos, const GeometryTraits >) |
Compute the regularity/priority of a neighbor/adjacent point. To use to identify pivot points. More... | |
template<typename Graph , typename PointMap , typename GeometryTraits = FEVV::Geometry_traits<Graph>> | |
void | stable_sort_adjacent_vertices (const Graph &, const PointMap &pm, typename boost::graph_traits< Graph >::vertex_descriptor, std::list< typename boost::graph_traits< Graph >::vertex_descriptor > &adjacent2v, const typename GeometryTraits::Point &v_s_pos, const typename GeometryTraits::Point &v_t_pos, const GeometryTraits >) |
stable_sort_adjacent_vertices based on true source and target positions More... | |
template<typename Graph , typename PointMap , typename GeometryTraits = FEVV::Geometry_traits<Graph>> | |
void | stable_sort_adjacent_vertices (const Graph &g, const PointMap &pm, typename boost::graph_traits< Graph >::vertex_descriptor v, std::list< typename boost::graph_traits< Graph >::vertex_descriptor > &adjacent2v, const GeometryTraits >) |
template<typename Graph , typename PointMap , typename GeometryTraits = FEVV::Geometry_traits<Graph>> | |
static Spanning_tree_vertex_edge_comparator< Graph, PointMap, GeometryTraits > | get_spanning_tree_comparator (const Graph &g, const PointMap &pm, bool tie_break_detection=true) |
template<typename Graph , typename PointMap , typename GeometryTraits = FEVV::Geometry_traits<Graph>> | |
static Vertex_comparator< Graph, PointMap, GeometryTraits > | get_vertex_comparator (const Graph &g, const PointMap &pm) |
std::list< typename boost::graph_traits<FEVV::DataStructures::AIF::AIFMesh>::vertex_descriptor> FEVV::Comparator::get_adjacent_vertices | ( | typename boost::graph_traits< FEVV::DataStructures::AIF::AIFMesh >::vertex_descriptor | v, |
const FEVV::DataStructures::AIF::AIFMesh & | |||
) |
Definition at line 28 of file Spanning_tree_vertex_edge_comparator.hpp.
std::list< typename boost::graph_traits<Graph>::vertex_descriptor> FEVV::Comparator::get_adjacent_vertices | ( | typename boost::graph_traits< Graph >::vertex_descriptor | v, |
const Graph & | g | ||
) |
Definition at line 32 of file Spanning_tree_vertex_edge_comparator.hpp.
|
static |
Definition at line 237 of file Edge_comparators.hpp.
std::list< typename boost::graph_traits<FEVV::DataStructures::AIF::AIFMesh>::vertex_descriptor> FEVV::Comparator::get_not_processed_adjacent_vertices | ( | typename boost::graph_traits< FEVV::DataStructures::AIF::AIFMesh >::vertex_descriptor | v, |
const FEVV::DataStructures::AIF::AIFMesh & | g, | ||
std::map< typename boost::graph_traits< FEVV::DataStructures::AIF::AIFMesh >::vertex_descriptor, bool > & | processed_vertices, | ||
typename boost::graph_traits< FEVV::DataStructures::AIF::AIFMesh >::edge_descriptor | min_e | ||
) |
Definition at line 38 of file Spanning_tree_vertex_edge_comparator.hpp.
std::list< typename boost::graph_traits<Graph>::vertex_descriptor > FEVV::Comparator::get_not_processed_adjacent_vertices | ( | typename boost::graph_traits< Graph >::vertex_descriptor | v, |
const Graph & | g, | ||
std::map< typename boost::graph_traits< Graph >::vertex_descriptor, bool > & | processed_vertices, | ||
typename boost::graph_traits< Graph >::edge_descriptor | min_e | ||
) |
Definition at line 49 of file Spanning_tree_vertex_edge_comparator.hpp.
|
static |
Definition at line 663 of file Spanning_tree_vertex_edge_comparator.hpp.
|
static |
Definition at line 114 of file Vertex_comparators.hpp.
double FEVV::Comparator::neighbor_regularity | ( | const typename GeometryTraits::Point & | v_s_pos, |
const typename GeometryTraits::Point & | v_t_pos, | ||
const typename GeometryTraits::Point & | v_s_t_kept_neighbor_pos, | ||
const GeometryTraits & | gt | ||
) |
Compute the regularity/priority of a neighbor/adjacent point. To use to identify pivot points.
GeometryTraits | The geometric kernel. |
[in] | v_s_pos | The first point. |
[in] | v_t_pos | The second point. |
[in] | v_s_t_kept_neighbor_pos | The neighbor point. |
gt | The geometry trait object. |
Definition at line 114 of file Spanning_tree_vertex_edge_comparator.hpp.
void FEVV::Comparator::stable_sort_adjacent_vertices | ( | const Graph & | , |
const PointMap & | pm, | ||
typename boost::graph_traits< Graph >::vertex_descriptor | , | ||
std::list< typename boost::graph_traits< Graph >::vertex_descriptor > & | adjacent2v, | ||
const typename GeometryTraits::Point & | v_s_pos, | ||
const typename GeometryTraits::Point & | v_t_pos, | ||
const GeometryTraits & | gt | ||
) |
stable_sort_adjacent_vertices based on true source and target positions
v_s_pos | provides adjacent2v in the canonical order |
Definition at line 149 of file Spanning_tree_vertex_edge_comparator.hpp.
void FEVV::Comparator::stable_sort_adjacent_vertices | ( | const Graph & | g, |
const PointMap & | pm, | ||
typename boost::graph_traits< Graph >::vertex_descriptor | v, | ||
std::list< typename boost::graph_traits< Graph >::vertex_descriptor > & | adjacent2v, | ||
const GeometryTraits & | gt | ||
) |
stable_sort_adjacent_vertices based on the distance to the bisector plane cutting the segment connecting the two furthest vertices in the one-ring neighborhood of v.
gt | provides adjacent2v in the canonical order |
Definition at line 178 of file Spanning_tree_vertex_edge_comparator.hpp.