Skip to content

Commit

Permalink
Make member variables private, with only const access
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonCampolattaro committed Jul 29, 2020
1 parent 47f90ae commit d24931b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -1029,7 +1029,7 @@ class Efficient_RANSAC {
const Cell *cell = stack.top();
stack.pop();

FT width = octree->m_width / (1 << (cell->level));
FT width = octree->width() / (1 << (cell->level));

FT diag = CGAL::sqrt(FT(3) * width * width) + epsilon;

Expand Down
Expand Up @@ -444,7 +444,7 @@ class Octree : public PointAccessor {
}
}

std::size_t maxLevel() { return m_max_level; }
std::size_t maxLevel() const { return m_max_level; }

const Bbox_3 &boundingBox() const { return m_bBox; }

Expand Down

0 comments on commit d24931b

Please sign in to comment.