CGAL 5.1 - dD Spatial Searching
Splitter Class Reference

#include <Concepts/Splitter.h>

Definition

Types

The parameters aspect_ratio and bucket_size define the way in which \(k\) - \(d\) tree is constructed.

typedef unspecified_type FT
 Number type. More...
 
typedef unspecified_type Separator
 Separator. More...
 
typedef unspecified_type Container
 Typedef to an instantiation of CGAL::Point_container<Traits>. More...
 

Operations

FT aspect_ratio () const
 Returns the maximal ratio between the largest and smallest side of a cell allowed for fair splitting. More...
 
unsigned int bucket_size () const
 Returns the bucket size of the leaf nodes. More...
 
void operator() (Separator &sep, Container &c0, Container &c1) const
 Sets up sep and splits points of c0 into c0 and c1 using sep. More...
 

Member Typedef Documentation

◆ Container

typedef unspecified_type Splitter::Container

Typedef to an instantiation of CGAL::Point_container<Traits>.

◆ FT

typedef unspecified_type Splitter::FT

Number type.

◆ Separator

typedef unspecified_type Splitter::Separator

Separator.

Member Function Documentation

◆ aspect_ratio()

FT Splitter::aspect_ratio ( ) const

Returns the maximal ratio between the largest and smallest side of a cell allowed for fair splitting.

◆ bucket_size()

unsigned int Splitter::bucket_size ( ) const

Returns the bucket size of the leaf nodes.

◆ operator()()

void Splitter::operator() ( Separator sep,
Container c0,
Container c1 
) const

Sets up sep and splits points of c0 into c0 and c1 using sep.

Container c0 should contain at least two points and c1 must be empty.