\( \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 5.0.4 - Shape Detection
NeighborQuery Concept Reference

Definition

Public Member Functions

void operator() (const std::size_t query_index, std::vector< std::size_t > &neighbors)
 fills neighbors with the indices of all items, which are connected to the item with the index query_index. More...
 

Member Function Documentation

◆ operator()()

void NeighborQuery::operator() ( const std::size_t  query_index,
std::vector< std::size_t > &  neighbors 
)

fills neighbors with the indices of all items, which are connected to the item with the index query_index.

CGAL::Shape_detection::Region_growing calls this function each time when a new query item is selected.