CGAL 6.2 - Classification: CGAL::Classification::NeighborQuery Concept Reference

CGAL 6.2 - Classification

Loading...
Searching...
No Matches
List of all members | Public Types | Public Member Functions
CGAL::Classification::NeighborQuery Concept Reference
Reference Manual » Concepts

## Definition

Concept describing a neighbor query used for classification.

Has models
  `CGAL::Classification::Point_set_neighborhood::K_neighbor_query`
  `CGAL::Classification::Point_set_neighborhood::Sphere_neighbor_query`
  `CGAL::Classification::Mesh_neighborhood::One_ring_neighbor_query`
  `CGAL::Classification::Mesh_neighborhood::N_ring_neighbor_query`

## Public Types
typedef unspecified_type | value_type
| Type of the data that is classified.

## Public Member Functions
template<typename OutputIterator >
OutputIterator | operator() (const value_type &query, OutputIterator output) const
| puts in `output` the indices of the neighbors of `query`.

## Member Function Documentation

## ◆ operator()()

template<typename OutputIterator >

OutputIterator CGAL::Classification::NeighborQuery::operator() | ( | const value_type & | query,
|  | OutputIterator | output
| ) |  | const

puts in `output` the indices of the neighbors of `query`.

Template Parameters

  OutputIterator | An output iterator accepting `std::size_t` values.