Subject: CGAL users discussion list
List archive
- From: Tapadi <>
- To:
- Subject: [cgal-discuss] [Arr_polyline_traits_2] Unhandled precondition
- Date: Mon, 15 Apr 2013 08:15:17 -0700 (PDT)
Hello all,
The method CGAL::Arr_polyline_traits_2<SegmentTraits>::Curve_2::push_back
has a precondition: the Curve_2 object has to be non empty. If push_back is
called
while the Curve_2 is empty, it causes a segmentation fault.
I use this configuration:
typedef CGAL::Exact_predicates_exact_constructions_kernel Kernel;
typedef CGAL::Arr_segment_traits_2<Kernel>
Segment_traits;
typedef CGAL::Arr_polyline_traits_2<Segment_traits> Traits;
typedef Traits::Curve_2
Polyline_2;
Does the problem occur only in my case ? Should it be a CGAL::precondition
violation
instead of a segfault?
Anyway, thanks for the work done for the whole Arrangement_2 package. It is
really
helping me a lot.
Best regards,
Hugo Loi
PhD student at Inria - Maverick Team
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Arr-polyline-traits-2-Unhandled-precondition-tp4657203.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] [Arr_polyline_traits_2] Unhandled precondition, Tapadi, 04/15/2013
- Re: [cgal-discuss] [Arr_polyline_traits_2] Unhandled precondition, Efi Fogel, 04/17/2013
- <Possible follow-up(s)>
- Re: [cgal-discuss] [Arr_polyline_traits_2] Unhandled precondition, ??????????, 04/17/2013
- [cgal-discuss] Re: [Arr_polyline_traits_2] Unhandled precondition, Tapadi, 04/18/2013
- Re: [cgal-discuss] Re: [Arr_polyline_traits_2] Unhandled precondition, Efi Fogel, 04/20/2013
- [cgal-discuss] Re: [Arr_polyline_traits_2] Unhandled precondition, Tapadi, 04/20/2013
- Re: [cgal-discuss] Re: [Arr_polyline_traits_2] Unhandled precondition, Efi Fogel, 04/20/2013
- [cgal-discuss] Re: [Arr_polyline_traits_2] Unhandled precondition, Tapadi, 04/18/2013
Archive powered by MHonArc 2.6.18.