|
CGAL 5.1 - Shape Detection
|
#include <Concepts/NeighborQuery.h>
A concept that describes the set of methods used by the CGAL::Shape_detection::Region_growing to access neighbors of an item.
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... | |
| 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.