CGAL 5.3.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
See also
Point_set_neighborhood

Public Types

using value_type = typename Point_set_neighborhood::Point
 

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.