\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.12 - 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

Public Types

typedef Point_set_neighborhood::Point value_type
 

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.