Remove some assertions, as they must not pop-up, since they are
used by Cartesian_converter/Homogeneous_converter, where we
absolutely must not throw.
TODO : find a way to keep the assertion while having the
converters still work. (should types come with their
own conversions, like they all have .bbox() ?)
This commit is contained in:
@@ -1955,8 +1955,9 @@ namespace CartesianKernelFunctors {
|
||||
Iso_rectangle_2
|
||||
operator()(const Point_2& p, const Point_2& q, int) const
|
||||
{
|
||||
CGAL_kernel_assertion(p.x()<=q.x());
|
||||
CGAL_kernel_assertion(p.y()<=q.y());
|
||||
// I have to remove the assertions, because of Cartesian_converter.
|
||||
// CGAL_kernel_assertion(p.x()<=q.x());
|
||||
// CGAL_kernel_assertion(p.y()<=q.y());
|
||||
return Rep(p, q, 0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user