mirror of https://github.com/CGAL/cgal
Fix a small issue with the Octree definition
This commit is contained in:
parent
d169adb98b
commit
4681f17ca8
|
|
@ -119,7 +119,6 @@ template <typename K>
|
||||||
struct Orthtree_traits_base_for_dimension<K, Dimension_tag<3>> {
|
struct Orthtree_traits_base_for_dimension<K, Dimension_tag<3>> {
|
||||||
/// \name Types
|
/// \name Types
|
||||||
/// @{
|
/// @{
|
||||||
using GeomTraits = K;
|
|
||||||
using Dimension = Dimension_tag<3>;
|
using Dimension = Dimension_tag<3>;
|
||||||
using FT = typename K::FT;
|
using FT = typename K::FT;
|
||||||
using Point_d = typename K::Point_3;
|
using Point_d = typename K::Point_3;
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,7 @@ class RANSAC_octree {
|
||||||
typedef std::vector<std::size_t> Input_range;
|
typedef std::vector<std::size_t> Input_range;
|
||||||
typedef Random_index_access_property_map<Input_iterator, Point_map> Indexed_point_map;
|
typedef Random_index_access_property_map<Input_iterator, Point_map> Indexed_point_map;
|
||||||
|
|
||||||
typedef Orthtree_traits_point_3<typename Traits_base<Traits>::type, Input_range, Indexed_point_map> OTraits;
|
typedef Orthtree_traits_point<typename Traits_base<Traits>::type, Input_range, Indexed_point_map, Dimension_tag<3>> OTraits;
|
||||||
|
|
||||||
typedef CGAL::Orthtree<OTraits> Octree;
|
typedef CGAL::Orthtree<OTraits> Octree;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue