Used locate_impl(p, ...) instead of locate(p, ...) in case p is on the boundary of the parameter space.

This commit is contained in:
Efi Fogel 2024-09-09 13:16:47 +03:00
parent eac5679444
commit 977b7906b9
1 changed files with 1 additions and 2 deletions

View File

@ -591,8 +591,7 @@ public:
Comparison_result dir = cmp_seg_endpts(xcv[0]);
// Locate the subcurve on the polycurve xcv that contains p.
std::size_t i = m_poly_traits.locate(xcv, p);
auto i = m_poly_traits.locate_impl(xcv, p, All_sides_oblivious_category());
CGAL_precondition(i != Polycurve_traits_2::INVALID_INDEX);
// Clear the output curves.