Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] Boolean operations between two polyhedrons with multiple domains?
Chronological Thread
- From: tang <>
- To:
- Subject: Re: [cgal-discuss] Boolean operations between two polyhedrons with multiple domains?
- Date: Sat, 12 Apr 2014 21:16:10 -0700 (PDT)
Hi Sebastien,
Here is an example of one multiple-domain polyhedron (a1.off) subtracting
another polyhedron (a2.off). However, the results is empty. In fact, the
CGAL still think that a1.off is an invalid polyhedron. Could you please help
me to take a look at it and give me some clues on how to work on this issue?
Thanks,
Tang Laoya
// a1.off: a multiple-domain polyhedron
OFF
18 20 0
1 -2 -2
1 0 -2
1 2 -2
-2 -2 -2
-2 0 -2
-2 2 -2
1 -2 0
1 0 0
1 2 0
-2 -2 0
-2 0 0
-2 2 0
1 -2 2
1 0 2
1 2 2
-2 -2 2
-2 0 2
-2 2 2
4 0 1 7 6
4 1 2 8 7
4 6 7 13 12
4 7 8 14 13
4 2 5 11 8
4 8 11 17 14
4 4 10 11 5
4 3 9 10 4
4 9 15 16 10
4 10 16 17 11
4 0 6 9 3
4 6 12 15 9
4 0 3 4 1
4 1 4 5 2
4 12 13 16 15
4 13 14 17 16
4 6 7 10 9 /// these four facets are interfaces of inner 4
sub-domains
4 7 8 11 10
4 7 10 16 13
4 1 4 10 7
// a2.off: a box
OFF
8 6 0
2 1 -1
2 1 1
2 -1 1
2 -1 -1
-1 1 -1
-1 1 1
-1 -1 1
-1 -1 -1
4 0 1 2 3
4 4 7 6 5
4 0 4 5 1
4 1 5 6 2
4 3 2 6 7
4 0 3 7 4
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Boolean-operations-between-two-polyhedrons-with-multiple-domains-tp4659080p4659118.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Boolean operations between two polyhedrons with multiple domains?, tang, 04/06/2014
- Re: [cgal-discuss] Boolean operations between two polyhedrons with multiple domains?, Sebastien Loriot (GeometryFactory), 04/08/2014
- Re: [cgal-discuss] Boolean operations between two polyhedrons with multiple domains?, tang, 04/08/2014
- Re: [cgal-discuss] Boolean operations between two polyhedrons with multiple domains?, tang, 04/13/2014
- Re: [cgal-discuss] Boolean operations between two polyhedrons with multiple domains?, Sebastien Loriot (GeometryFactory), 04/08/2014
Archive powered by MHonArc 2.6.18.