CGAL 5.4.2 - Shape Regularization
CGAL::Shape_regularization::NeighborQuery Concept Reference

Definition

A concept that describes the set of methods used by the class QP_regularization to access neighbors of a geometric object being regularized.

Has Models:

Public Member Functions

void operator() (const std::size_t query_index, std::vector< std::size_t > &neighbors)
 fills in neighbors with indices of all geometric objects, which are direct neighbors of the object with the index query_index. More...
 

Member Function Documentation

◆ operator()()

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

fills in neighbors with indices of all geometric objects, which are direct neighbors of the object with the index query_index.

QP_regularization calls this method once for each object from the input range.