\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.12.1 - Classification
CGAL::Classification::Point_set_neighborhood< GeomTraits, PointRange, PointMap >::Sphere_neighbor_query Class Reference

#include <CGAL/Classification/Point_set_neighborhood.h>

Definition

Functor that computes the neighborhood of an input point defined as the points lying in a sphere of fixed radius centered at the input point.

Is Model Of:
CGAL::Classification::NeighborQuery

Public Types

typedef Point_set_neighborhood::Point value_type
 

Public Member Functions

 Sphere_neighbor_query (const Point_set_neighborhood &neighborhood, float radius)
 Constructs a range neighbor query object. More...
 

Constructor & Destructor Documentation

◆ Sphere_neighbor_query()

template<typename GeomTraits , typename PointRange , typename PointMap >
CGAL::Classification::Point_set_neighborhood< GeomTraits, PointRange, PointMap >::Sphere_neighbor_query::Sphere_neighbor_query ( const Point_set_neighborhood neighborhood,
float  radius 
)

Constructs a range neighbor query object.

Parameters
neighborhoodpoint set neighborhood object.
radiusradius of the neighbor query sphere.