2D Arrangement crashes - 4.12

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

2D Arrangement crashes - 4.12

Dinesh
I have a crash going on at following statement

Numbered_segment(Segment(Point(NFNKernel::FT(itr.second->LeftCoord().x), NFNKernel::FT(itr.second->LeftCoord().y)), Point(NFNKernel::FT(itr.second->MidCoord().x), NFNKernel::FT(itr.second->MidCoord().y)))


where type of x and y are double.

typedef CGAL::Exact_predicates_exact_constructions_kernel NFNKernel;

typedef CGAL::Arr_segment_traits_2<NFNKernel> Traits;


typedef Traits::Point_2 Point;


typedef Traits::X_monotone_curve_2 Segment;


typedef CGAL::Arrangement_2<Traits> Arrangement;


typedef Arrangement::Vertex_handle Vertex_handle;


typedef Arrangement::Halfedge_handle Halfedge_handle;


typedef Arrangement::Face_handle Face_handle;


typedef Arrangement::Vertex_const_handle Vertex_const_handle;


typedef Arrangement::Halfedge_const_handle Halfedge_const_handle;


typedef CGAL::Arr_consolidated_curve_data_traits_2<Traits, size_t> Data_traits;


typedef Data_traits::Curve_2 Numbered_segment;


typedef CGAL::Arrangement_2<Data_traits> Numbered_arr;

Attached figure shows the stack trace

Any help appreciated




Arr.png (64K) Download Attachment