CGAL 5.4.4 - Classification
CGAL::Classification::Mesh_neighborhood< FaceListGraph > Class Template Reference

#include <CGAL/Classification/Mesh_neighborhood.h>

Definition

Class that generates models of NeighborQuery based on an input mesh.

Template Parameters
FaceListGraphmodel of FaceListGraph.

Classes

class  N_ring_neighbor_query
 Functor that computes the N-ring neighborhood of the face of an input mesh. More...
 
class  One_ring_neighbor_query
 Functor that computes the 1-ring neighborhood of the face of an input mesh. More...
 

Public Types

using face_descriptor = typename boost::graph_traits< FaceListGraph >::face_descriptor
 

Constructor

 Mesh_neighborhood (const FaceListGraph &mesh)
 constructs a neighborhood object based on the input mesh. More...
 

Queries

One_ring_neighbor_query one_ring_neighbor_query () const
 returns a 1-ring neighbor query object.
 
N_ring_neighbor_query n_ring_neighbor_query (const std::size_t n) const
 returns an N-ring neighbor query object.
 

Constructor & Destructor Documentation

◆ Mesh_neighborhood()

template<typename FaceListGraph >
CGAL::Classification::Mesh_neighborhood< FaceListGraph >::Mesh_neighborhood ( const FaceListGraph mesh)

constructs a neighborhood object based on the input mesh.

Parameters
meshinput mesh.