Subject: CGAL users discussion list
List archive
- From: tang <>
- To:
- Subject: [cgal-discuss] Question about boolean operation
- Date: Wed, 11 Sep 2013 22:58:44 -0700 (PDT)
Dear all,
I'd like to seperate to objects by CGAL's boolean operation. Could anyone
tell me how to do?
Two objects A (for example, a small cylinder) and B (a large box) which are
intersected and I'd like to seperate them (by different materials) for mesh.
I have the following operations:
Acopy=A;
A = (A - B).interior().closure();
B = (B + Acopy).interior().closure();
B = (B - A).interior().closure();
I checked the outputted OFF files of A and B and I found A is just what I
expected. I wish B have the same surface polygons as A in which it contacts
with A for mesh generation (contact objects should have the common polygons
at their interface). However, the outputted B is the same as before and the
polygons at the interface is not consistent.
So how to do to let the output of B is correct?
Thanks,
Zhanghong Tang
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Question-about-boolean-operation-tp4658039.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Question about boolean operation, tang, 09/12/2013
Archive powered by MHonArc 2.6.18.