Subject: CGAL users discussion list
List archive
- From: Gita Das <>
- To:
- Subject: [cgal-discuss] CGAL error: assertion violation!
- Date: Thu, 23 Oct 2008 10:27:47 +1100
- Priority: normal
Hallo CGAL Users,
I was trying to use the CGAL library for boolean operations on 2D polygons.
Both polygons (P and Q) are simple, CCW and the computed areas look
fine. However, while using intersection I get the following error:
"CGAL error: assertion violation!
Expr: s != ZERO
File:
/home/gitad/Projects/ITK/practice/carotidmesh/trunk/CGAL-Boolean/CGAL-3.3.1/include/CGAL/predicates/kernel_ftC2.h
Line: 140
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct NULL not valid
Aborted"
A portion of my code:
typedef CGAL::Cartesian<Number_type> Kernel;
......
Polygon_set_2 S;
S.insert (P);
S.intersection (Q);
Any help would be greatly appreciated.
--
Gita Das, PhD
Department of Medicine (Neurosciences)
Monash University
Australia
- [cgal-discuss] CGAL error: assertion violation!, Gita Das, 10/23/2008
- Re: [cgal-discuss] CGAL error: assertion violation!, Bernd Gaertner, 10/23/2008
- [cgal-discuss] Re:CGAL error: assertion violation!, Gita Das, 10/27/2008
- [cgal-discuss] AW: CGAL error: assertion violation!, Gärtner Bernd, 10/27/2008
Archive powered by MHonArc 2.6.16.