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

CGAL 6.1.2 - Classification

Loading...
Searching...
No Matches
List of all members | Classes | Public Types
CGAL::Classification::Mesh_neighborhood< FaceListGraph > Class Template Reference
Reference Manual » Mesh Classification

`#include <CGAL/Classification/Mesh_neighborhood.h>`

## Definition

template<typename FaceListGraph>
class CGAL::Classification::Mesh_neighborhood< FaceListGraph >

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

Template Parameters

  FaceListGraph | model 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.

## 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

  mesh | input mesh.