Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Fast arrangement sub-section swap

Subject: CGAL users discussion list

List archive

[cgal-discuss] Fast arrangement sub-section swap


Chronological Thread 
  • From: Ben Supnik <>
  • To:
  • Subject: [cgal-discuss] Fast arrangement sub-section swap
  • Date: Fri, 17 Oct 2008 15:23:26 -0400

Hi Y'all,

I am porting GIS code to CGAL's arrangement_2 class, using this:

CGAL::Filtered_kernel<CGAL::Simple_cartesian<NT> >

as my kernel and

CGAL::Gps_segment_traits_2<kernel>

for my Arrangement traits.

As I go around inserting edges into my kernel, eventually I hit a precondition failure somewhere in the interior of CGAL::insert_curve.

If I am using the "unassuming" insertion routines (e.g. insert_curve and not insert_non_intersecting_curve) should there ever be a precondition failure during insert? Can I simply insert a ton of ugly, poorly placed line segments and expect the arrangement to maintian correct topology and organization?

If I cannot just insert data, what restrictions are there on the data I insert?

cheers
Ben



Archive powered by MHonArc 2.6.16.

Top of Page