cgal/Packages/Spatial_searching/doc_tex/Spatial_searching_ref/Splitter.tex

71 lines
2.3 KiB
TeX
Executable File

% +------------------------------------------------------------------------+
% | Reference manual page: Splitter.tex
% +------------------------------------------------------------------------+
% | 1.07.2001 Johan W.H. Tangelder
% | Package: ASPAS
% |
\RCSdef{\RCSSplitterRev}{$Revision$}
\RCSdefDate{\RCSSplitterDate}{$Date$}
% |
%%RefPage: end of header, begin of main body
% +------------------------------------------------------------------------+
\begin{ccRefConcept}{Splitter}
%% \ccHtmlCrossLink{} %% add further rules for cross referencing links
%% \ccHtmlIndexC[concept]{} %% add further index entries
\begin{ccAdvanced}
\ccDefinition
The concept \ccRefName\ defines the requirements for a function object class implementing a splitting rule.
\ccTypes
\ccNestedType{FT;}{Number type.}
\ccNestedType{Container;}{Point container.}
\ccNestedType{Separator;}{Separator.}
\ccCreationVariable{s} %% choose variable name
The parameters \ccc{aspect_ratio} and \ccc{bucket_size}
define the way in which $k$-$d$ tree is constructed.
\ccOperations
\ccMethod{
void operator()(Separator& s, Container& c0, Container& c1);}
{Modifies the separator $s$,
and splits \ccc{c0} into \ccc{c0} and \ccc{c1},
using the splitting dimension and the splitting value of the modified separator.
}
\ccMethod{FT aspect_ratio();}{Returns the maximal ratio between the largest and smallest side
of a cell allowed for fair splitting.}
\ccMethod{unsigned int bucket_size();} {Returns the bucket size of the leaf nodes.}
\ccHasModels
\ccc{CGAL::Fair<Traits, PointContainer, SpatialSeparator>}, \\
\ccc{CGAL::Median_of_rectangle<Traits, PointContainer, SpatialSeparator>}, \\
\ccc{CGAL::Median_of_max_spread<Traits, PointContainer, SpatialSeparator>}, \\
\ccc{CGAL::Midpoint_of_rectangle<Traits, PointContainer, SpatialSeparator>}, \\
\ccc{CGAL::Midpoint_of_max_spread<Traits, PointContainer, SpatialSeparator>}, \\
\ccc{CGAL::Sliding_fair<Traits, PointContainer, SpatialSeparator>}, \\
\ccc{CGAL::Sliding_midpoint<Traits, PointContainer, SpatialSeparator>.}
\end{ccAdvanced}
\end{ccRefConcept}
% +------------------------------------------------------------------------+
%%RefPage: end of main body, begin of footer
% EOF
% +------------------------------------------------------------------------+