Subject: CGAL users discussion list
List archive
- From: Bear <>
- To:
- Subject: [cgal-discuss] 3D Arrangement of planes using Nef Polyhedra
- Date: Tue, 25 Aug 2015 11:42:36 -0700 (PDT)
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=None ; spf=None
- Ironport-phdr: 9a23:yj4bTRHBN2h5PuI7rUNo0p1GYnF86YWxBRYc798ds5kLTJ75o8qwAkXT6L1XgUPTWs2DsrQf27GQ7vGrCTNIyK3CmU5BWaQEbwUCh8QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnYsExnyfTB4Ov7yUtaLyZ/njKbvqtaDPE1hv3mUX/BbFF2OtwLft80b08NJC50a7V/3mEZOYPlc3mhyJFiezF7W78a0+4N/oWwL46pyv/hpCvurOv1gBfwDVGxnYCgJ45jguhDHCAeO/XABSX4+kxxSAgGD4gupcI32t37Qu+NnkH2Qe933SrY7cSm+8KptVBKujiNRZG1xy33elsEl1fETmxmmvREqmNaMbQ==
Hello,
I want to have 3D arrangement of planes using Nef_Polyhedron_3. For example,
I want to cross one plane with one 3D cubic, then the cubic will be
partitioned into two volumes, and all volumes can be visited. One possible
way is intersection the cubic Nef_Polyhedron with the plane. See following
example. I have tried all three Intersection_mode, CLOSED_HALFSPACE,
OPEN_HALFSPACE, PLANE_ONLY. However, the intersection results are all the
same, the same one with the input cubic Nef_polyhedron.
Another option is to construct half plane Nef_Polyhedron to do intersection.
However, the three Boolean operation, intersection, difference, and union,
can only result in one volume.
See attachments for codes. Please help me to do 3D arrangement of planes.
Maybe there is some other ways to do that. Or I need to add more Boolean
operations to Nef_Polyhedron. If so, please give me some suggestions to how
to improve codes.
Thanks in advance.
test_nef_intersection_nef.cpp
<http://cgal-discuss.949826.n4.nabble.com/file/n4661101/test_nef_intersection_nef.cpp>
test_nef_intersection_plane.cpp
<http://cgal-discuss.949826.n4.nabble.com/file/n4661101/test_nef_intersection_plane.cpp>
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/3D-Arrangement-of-planes-using-Nef-Polyhedra-tp4661103.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] 3D Arrangement of planes using Nef Polyhedra, Bear, 08/25/2015
- Re: [cgal-discuss] 3D Arrangement of planes using Nef Polyhedra, Bear, 08/25/2015
- Re: [cgal-discuss] 3D Arrangement of planes using Nef Polyhedra, Sebastien Loriot (GeometryFactory), 08/28/2015
- RE: [cgal-discuss] 3D Arrangement of planes using Nef Polyhedra, Bear, 08/29/2015
Archive powered by MHonArc 2.6.18.