Standardise check_has_on parameter name

This commit is contained in:
Giles Bathgate 2022-03-20 10:44:16 +00:00
parent 42aa3c3c87
commit 99e8bece4c
1 changed files with 2 additions and 2 deletions

View File

@ -132,14 +132,14 @@ class SNC_intersection {
static bool does_intersect_internally( const Ray_3& ray, static bool does_intersect_internally( const Ray_3& ray,
Halffacet_const_handle f, Halffacet_const_handle f,
Point_3& p, Point_3& p,
bool checkHasOn = true) { bool check_has_on = true) {
CGAL_NEF_TRACEN("-> Intersection facet - ray"); CGAL_NEF_TRACEN("-> Intersection facet - ray");
Plane_3 h( f->plane()); Plane_3 h( f->plane());
CGAL_NEF_TRACEN("-> facet's plane: " << h); CGAL_NEF_TRACEN("-> facet's plane: " << h);
CGAL_NEF_TRACEN("-> a point on the plane: " << h.point()); CGAL_NEF_TRACEN("-> a point on the plane: " << h.point());
CGAL_NEF_TRACEN("-> ray: " << ray); CGAL_NEF_TRACEN("-> ray: " << ray);
CGAL_assertion(!ray.is_degenerate()); CGAL_assertion(!ray.is_degenerate());
if(checkHasOn) { if(check_has_on) {
if(h.has_on(ray.source())) if(h.has_on(ray.source()))
return false; return false;
} else } else