Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] precondition_fail on Polygon_set_2::join(const Polygon_2& pgn)

Subject: CGAL users discussion list

List archive

[cgal-discuss] precondition_fail on Polygon_set_2::join(const Polygon_2& pgn)


Chronological Thread 
  • From: Remi <>
  • To:
  • Subject: [cgal-discuss] precondition_fail on Polygon_set_2::join(const Polygon_2& pgn)
  • Date: Fri, 19 Mar 2010 15:26:10 +0100
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=IvU3XwGbaFJbQyzk36QZKu94bnqDAWUqJV06qO2AvDfcDS9ciUAV5SovqpsyMXhxtp pH+EaPqJUseED3kfILiSs2lzqmK3Mxcdb7HkUVGdZfCRMeNq/e5UImdHeOklVHS8/iHe BJE9iI6eCCujH2hsbLwv5YEumRx97hR4c3mjE=

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 ?



Archive powered by MHonArc 2.6.16.

Top of Page