diff --git a/Isosurfacing_3/include/CGAL/Isosurfacing_3/internal/Explicit_cartesian_grid_domain.h b/Isosurfacing_3/include/CGAL/Isosurfacing_3/internal/Explicit_cartesian_grid_domain.h index ec8e8049104..4e5e020dc5e 100644 --- a/Isosurfacing_3/include/CGAL/Isosurfacing_3/internal/Explicit_cartesian_grid_domain.h +++ b/Isosurfacing_3/include/CGAL/Isosurfacing_3/internal/Explicit_cartesian_grid_domain.h @@ -28,6 +28,7 @@ class Explicit_cartesian_grid_domain_with_gradient Gradient_> { public: typedef GeomTraits Geom_traits; + typedef typename Geom_traits::Vector_3 Vector; typedef Grid_topology Topology; typedef Cartesian_grid_geometry Geometry; @@ -48,6 +49,13 @@ private: template class Explicit_cartesian_grid_domain : public Explicit_cartesian_grid_domain_with_gradient> { +public: + typedef GeomTraits Geom_traits; + typedef typename Geom_traits::Vector_3 Vector; + + typedef Cartesian_grid_3 Function; + typedef Zero_gradient Gradient; + public: Explicit_cartesian_grid_domain(const std::size_t size_i, const std::size_t size_j, const std::size_t size_k, const Vector& offset, const Vector& spacing, const Function& grid) diff --git a/Isosurfacing_3/include/CGAL/Isosurfacing_3/internal/Implicit_cartesian_grid_domain.h b/Isosurfacing_3/include/CGAL/Isosurfacing_3/internal/Implicit_cartesian_grid_domain.h index 637b43bb029..75c033d0f40 100644 --- a/Isosurfacing_3/include/CGAL/Isosurfacing_3/internal/Implicit_cartesian_grid_domain.h +++ b/Isosurfacing_3/include/CGAL/Isosurfacing_3/internal/Implicit_cartesian_grid_domain.h @@ -57,6 +57,13 @@ private: template class Implicit_cartesian_grid_domain : public Implicit_cartesian_grid_domain_with_gradient> { +public: + typedef GeomTraits Geom_traits; + typedef typename Geom_traits::Vector_3 Vector; + + typedef Function_ Function_with_point; + typedef Zero_gradient Gradient; + public: Implicit_cartesian_grid_domain(const std::size_t size_i, const std::size_t size_j, const std::size_t size_k, const Vector& offset, const Vector& spacing, const Function_with_point& func) diff --git a/Isosurfacing_3/include/CGAL/Isosurfacing_3/internal/Implicit_octree_domain.h b/Isosurfacing_3/include/CGAL/Isosurfacing_3/internal/Implicit_octree_domain.h index 03b74759686..403361093f8 100644 --- a/Isosurfacing_3/include/CGAL/Isosurfacing_3/internal/Implicit_octree_domain.h +++ b/Isosurfacing_3/include/CGAL/Isosurfacing_3/internal/Implicit_octree_domain.h @@ -53,6 +53,12 @@ private: template class Implicit_octree_domain : public Implicit_octree_domain_with_gradient> { +public: + typedef GeomTraits Geom_traits; + typedef Octree_wrapper Octree; + typedef Function_ Function_with_point; + typedef Zero_gradient Gradient; + public: Implicit_octree_domain(const Octree& octree, const Function_with_point& func) : Implicit_cartesian_grid_domain_with_gradient(octree, func, grad) {}