Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] precondition_fail on Polygon_set_2::join(const Polygon_2& pgn)
Chronological Thread
- From: Ben Supnik <>
- To:
- Subject: Re: [cgal-discuss] precondition_fail on Polygon_set_2::join(const Polygon_2& pgn)
- Date: Fri, 19 Mar 2010 11:14:06 -0400
Yes - boolean polygon ops require exact constructions.
cheers
ben
Remi wrote:
In a loop I'm adding simple polygons (triangles) to an empty polygon
set - all of them have counterclockwise orientation. However at some
point (let's say at 400th triangle) I get a failure at this line:
CGAL_multiset_precondition (comp_f(object, nodeP->object) != LARGER);
of the method:
template <class Type, class Compare, typename Allocator>
typename Multiset<Type, Compare, Allocator>::iterator
Multiset<Type, Compare, Allocator>::insert_before (iterator position,
const Type& object)
I have no idea what this means and what is the cause :( Could it be
caused by using CGAL::Exact_predicates_inexact_constructions_kernel ?
--
Scenery Home Page: http://scenery.x-plane.com/
Scenery blog: http://xplanescenery.blogspot.com/
Plugin SDK: http://www.xsquawkbox.net/xpsdk/
X-Plane Wiki: http://wiki.x-plane.com/
Scenery mailing list:
Developer mailing list:
- [cgal-discuss] precondition_fail on Polygon_set_2::join(const Polygon_2& pgn), Remi, 03/19/2010
- Re: [cgal-discuss] precondition_fail on Polygon_set_2::join(const Polygon_2& pgn), Ben Supnik, 03/19/2010
Archive powered by MHonArc 2.6.16.