Orthtree: assert -> CGAL_assertion

This commit is contained in:
Sven Oesau 2024-10-01 10:10:38 +02:00
parent 0a1d294965
commit 463bfcd59e
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ struct Orthtree_traits_polygons : public Orthtree_traits_base<GeomTraits, 3>
Point_d interpolate(FT a, FT b, FT l, const Point_d pa, const Point_d pb) const {
FT f = CGAL::abs((a - l) / (a - b));
assert(f <= 1.0);
CGAL_assertion(f <= 1.0);
return Point_d((1 - f) * pa.x() + f * pb.x(), (1 - f) * pa.y() + f * pb.y(), (1 - f) * pa.z() + f * pb.z());
}