CGAL 5.6.1 - Shape Detection
NeighborQuery Concept Reference

Definition

Public Types

typedef unspecified_type Item
 The reference type to the elements of the input range, e.g., a const_iterator of the input range.
 

Public Member Functions

void operator() (Item query_index, std::vector< Item > &neighbors)
 fills neighbors with the Items of all items, which are connected to the Item query. More...
 

Member Function Documentation

◆ operator()()

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

fills neighbors with the Items of all items, which are connected to the Item query.

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