Skip to content

Commit

Permalink
Add Sphere typedef
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonCampolattaro committed Jul 15, 2020
1 parent e542203 commit eead9b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Octree/include/CGAL/Octree.h
Expand Up @@ -121,6 +121,7 @@ class Octree {

typedef typename Kernel::Vector_3 Vector;
typedef typename Kernel::Iso_cuboid_3 Iso_cuboid;
typedef typename Kernel::Sphere_3 Sphere;
typedef typename PointRange::iterator Range_iterator;
typedef typename std::iterator_traits<Range_iterator>::value_type Range_type;

Expand Down Expand Up @@ -428,7 +429,7 @@ class Octree {
reassign_points(node, node.value().begin(), node.value().end(), center);
}

bool do_intersect(const Node &node, typename Kernel::Sphere_3 sphere) const {
bool do_intersect(const Node &node, Sphere sphere) const {

// Create a cubic bounding box from the node

Expand Down

0 comments on commit eead9b6

Please sign in to comment.