CGAL 5.2 - 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.