CGAL 5.3.1 - Classification
CGAL::Classification::Point_set_neighborhood< GeomTraits, PointRange, PointMap >::K_neighbor_query Class Reference

#include <CGAL/Classification/Point_set_neighborhood.h>

Definition

Functor that computes the neighborhood of an input point with a fixed number of neighbors.

Is Model Of:
CGAL::Classification::NeighborQuery
See also
Point_set_neighborhood

Public Types

using value_type = typename Point_set_neighborhood::Point
 

Public Member Functions

 K_neighbor_query (const Point_set_neighborhood &neighborhood, unsigned int k)
 constructs a K neighbor query object. More...
 

Constructor & Destructor Documentation

◆ K_neighbor_query()

template<typename GeomTraits , typename PointRange , typename PointMap >
CGAL::Classification::Point_set_neighborhood< GeomTraits, PointRange, PointMap >::K_neighbor_query::K_neighbor_query ( const Point_set_neighborhood neighborhood,
unsigned int  k 
)

constructs a K neighbor query object.

Parameters
neighborhoodpoint set neighborhood object.
knumber of neighbors per query.