Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Assertion in arrangement_2

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Assertion in arrangement_2


Chronological Thread 
  • From: Efraim Fogel <>
  • To:
  • Subject: Re: [cgal-discuss] Assertion in arrangement_2
  • Date: Wed, 28 Feb 2007 19:06:45 +0200


wrote:

Hi

I get an assertion when I try to build an arrangement with a lot of lines:

CGAL error: precondition violation!
Expr: Segment_assertions::_assert_is_point_on (p, cv, Has_exact_division()) &&
compare_xy(cv.left(), p) == SMALLER && compare_xy(cv.right(), p) == LARGER
File: /Users/jegeblad/CGAL_Install/include/CGAL/Arr_segment_traits_2.h
Line: 730
Abort trap


Does anyone know what could cause this problem? Could it be a floating-point
problem?

You must use an exact rational number type to ensure robustness.

Best - Jens




--
____ _ ____ _
/_____/_) o /__________ __ //
(____ ( ( ( (_/ (_/-(-'_(/
_/




Archive powered by MHonArc 2.6.16.

Top of Page