CGAL 6.0 - Shape Regularization
Loading...
Searching...
No Matches
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
Segments::Delaunay_neighbor_query_2

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.
 

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.