CGAL 6.0.1 - Spatial Sorting
Loading...
Searching...
No Matches
CGAL::Hilbert_policy< Tag > Struct Template Reference

#include <CGAL/Hilbert_policy_tags.h>

Definition

template<typename Tag>
struct CGAL::Hilbert_policy< Tag >

Hilbert_policy is a policy class which can be used to parameterize a strategy policy in order to specify the strategy for spatial sorting.

Hilbert_policy<Median> or Hilbert_policy<Middle> can be passed as parameter to hilbert_sort() to choose the sorting policy.

Template Parameters
Tagmust be either Median or Middle.
Is model of
DefaultConstructible
CopyConstructible
See also
Median
Middle
Hilbert_sort_median_policy
Hilbert_sort_middle_policy
Examples
Spatial_sorting/hilbert_policies.cpp, Spatial_sorting/sp_sort_using_property_map_2.cpp, Spatial_sorting/sp_sort_using_property_map_3.cpp, and Spatial_sorting/sp_sort_using_property_map_d.cpp.