Subject: CGAL users discussion list
List archive
[cgal-discuss] A bug when using a built-in number type-based kernel with Polygon_set_2 join operation
Chronological Thread
- From: BBB HHH <>
- To: "cgal-discuss lists-sop.inria.fr" <>
- Subject: [cgal-discuss] A bug when using a built-in number type-based kernel with Polygon_set_2 join operation
- Date: Wed, 29 Apr 2009 15:08:36 +0000 (GMT)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.fr; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=MgN8+BkBt1tM+Od3l+UW5bgC2/BOcIHe85JthOLLLhSI3f81z9t6HGXaxaGZD2536DwaCxXqHW3n2WlwqP8RCu2eLUe81b3HD9aSAHQ8Gg19bAbCrdxvecDfW7/8p//BtVjWtwGxViE5LbTdRiRqEKIqLX+6tbhgVimsLsEl2TM=;
Hello,
I am using CGAL 3.4 release with VS2005 SP1 under Windows XP.
I used the join member function of the CGAL::Polygon_set_2<Kernel> class template with an exact Kernel (such as Simple_cartesian<CGAL::Gmpq>), my program works fine. But when i tried to use a built-in number type_based Kernel (i.e. the Kernel Simple_cartesian<double>) i had the following assertion.
CGAL error: precondition violation!
_expression_ : comp_f(object, parentP->object) != SMALLER
File : c:\program files\cgal-3.4\include\cgal\multiset.h
Line : 2128
Explanation:
Refer to the bug-reporting instructions at http://www.cgal.org/bug_report.html
CGAL error: assertion violation!
_expression_ : (m_statusLine.size() == 0)
File : c:\program files\cgal-3.4\include\cgal\sweep_line_2\basic_sweep_line_2_impl.h
Line : 232
Explanation:
Refer to the bug-reporting instructions at http://www.cgal.org/bug_report.html
I want to know if this is a CGAL bug or not and how to resolve it.
Thanks in advance
Hichem Barki
Ph.D. candidate
University of Claude Bernard Lyon1, France
LIRIS Laboratory
I am using CGAL 3.4 release with VS2005 SP1 under Windows XP.
I used the join member function of the CGAL::Polygon_set_2<Kernel> class template with an exact Kernel (such as Simple_cartesian<CGAL::Gmpq>), my program works fine. But when i tried to use a built-in number type_based Kernel (i.e. the Kernel Simple_cartesian<double>) i had the following assertion.
CGAL error: precondition violation!
_expression_ : comp_f(object, parentP->object) != SMALLER
File : c:\program files\cgal-3.4\include\cgal\multiset.h
Line : 2128
Explanation:
Refer to the bug-reporting instructions at http://www.cgal.org/bug_report.html
CGAL error: assertion violation!
_expression_ : (m_statusLine.size() == 0)
File : c:\program files\cgal-3.4\include\cgal\sweep_line_2\basic_sweep_line_2_impl.h
Line : 232
Explanation:
Refer to the bug-reporting instructions at http://www.cgal.org/bug_report.html
I want to know if this is a CGAL bug or not and how to resolve it.
Thanks in advance
Hichem Barki
Ph.D. candidate
University of Claude Bernard Lyon1, France
LIRIS Laboratory
- [cgal-discuss] A bug when using a built-in number type-based kernel with Polygon_set_2 join operation, BBB HHH, 04/29/2009
- Re: [cgal-discuss] A bug when using a built-in number type-based, Sylvain Pion, 04/29/2009
Archive powered by MHonArc 2.6.16.