Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Re: bugs of Boolean operations in CGAL 4.2 beta and 4.1?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Re: bugs of Boolean operations in CGAL 4.2 beta and 4.1?


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Re: bugs of Boolean operations in CGAL 4.2 beta and 4.1?
  • Date: Fri, 15 Mar 2013 06:57:32 +0100
  • Organization: GeometryFactory

I don't have time to look at such a large example.
You need to reduce it at the level of Nef.

Take CGAL::Simple_cartesian<CGAL::Gmpq> as kernel to generate OFF files
to have an exact representation of your input.
Then read them back in a small example doing only the loading an the
boolean operations.


Sebastien.






On 03/14/2013 04:36 PM, tang wrote:
Dear Dr. Loriot,

Thank you very much for your kindly reply. My original case is much more
complex than this example. I have already reduced the code to let it be able
to reproduce the problem. If I replace more code with the data, the problem
can't be reproduced.

In my problem, there are 5 steps:
1) create a cylinder (cyl0.off);
2) create a slot (slot.off);
3) substract a slot from the cylinder (cyl1.off);
4) create a oblique slot (slot2.off);
5) union the substracted cylinder with the oblique slot (cyl2.off).

I have attached the updated code and generated OFF files. Could you please
help me to take a look at it and point out the problem in the code (I don't
know whether the problem is lead by my code or not).

Thanks,
Zhanghong Tang

booleantest.zip
<http://cgal-discuss.949826.n4.nabble.com/file/n4656958/booleantest.zip>




--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/bugs-of-Boolean-operations-in-CGAL-4-2-beta-and-4-1-tp4656931p4656958.html
Sent from the cgal-discuss mailing list archive at Nabble.com.





Archive powered by MHonArc 2.6.18.

Top of Page