Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Re: [Arr_polyline_traits_2] Unhandled precondition

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Re: [Arr_polyline_traits_2] Unhandled precondition


Chronological Thread 
  • From: Efi Fogel <>
  • To:
  • Subject: Re: [cgal-discuss] Re: [Arr_polyline_traits_2] Unhandled precondition
  • Date: Sat, 20 Apr 2013 20:51:50 +0300

On Thu, Apr 18, 2013 at 12:41 PM, Tapadi <> wrote:
Hello,

The object I give to the push_back() method is a Point_2. I notice you push
a Segment_2... Are the two possible, or am I doing something wrong?

It is possible to push_back a segment into an X_monotone_curve_2 and it's possible to push back a point into a non-empty Polyline_2.

You are right about your observation regarding the precondition.
I will add a statement that generates an assertion when a point is added to an empty polyline.
Thanks for the note.


Thanks for your answer,
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-tp4657203p4657219.html
Sent from the cgal-discuss mailing list archive at Nabble.com.

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss





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





Archive powered by MHonArc 2.6.18.

Top of Page