Skip to Content.
Sympa Menu

cgal-discuss - RE: [cgal-discuss] 3D Arrangement of planes using Nef Polyhedra

Subject: CGAL users discussion list

List archive

RE: [cgal-discuss] 3D Arrangement of planes using Nef Polyhedra


Chronological Thread 
  • From: Bear <>
  • To:
  • Subject: RE: [cgal-discuss] 3D Arrangement of planes using Nef Polyhedra
  • Date: Sat, 29 Aug 2015 10:15:27 -0700 (PDT)
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=None ; spf=None
  • Ironport-phdr: 9a23:s5WuWBDTXXVYxfwONGAZUyQJP3N1i/DPJgcQr6AfoPdwSPT5rsbcNUDSrc9gkEXOFd2CrakU0KyI4+u5ADVIyK3CmU5BWaQEbwUCh8QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnYsExnyfTB4Ov7yUtaLyZ/njKbsq9aKOlwArQH+SI0xBS3+lR/WuMgSjNkqAYcK4TyNnEF1ff9Lz3hjP1OZkkW0zM6x+Jl+73YY4Kp5pIYTGZj8ZLkyGLxEECw9YSdy/9zurRCFTA2V53JaXH9RiQtNGwGC7Rf0WdD6vSL+8+Z8wyKHJtalcLYvRD7377t3UE2vzywIPjp8/GDMgdFrl+QK/EPx/UI5xdKSZoifPv5zOKjaeJQGSG9ZWs9NWmtnC4a4VIYVEe4MIaBas5GqolIFtxzrAACnHuTY1D5FmXLsk6w2huUnCh3P2hAXH84LtD3Spd//MKpfCsm4yaDJyXPFZvZSlz3084WddBkrq/WBG7R5dM6Xz0AqGhjdh16dssrPNiiU3cIEtmWA9+NrWKepgmQtrww3vDmi2YEzh4OPmo8Q0lTN6Sg/5o8/L9m1bkd+bMW8GZBd8ieTPYFyT4U8Qmx3/jk3wPsatJujeCEWxdIBwBLSTfWCfpOQ6xnuGuyLLD50j2h4fbik0hC17Umu29rnS8Ov20xLpCdfiZDKv3oH0xGeseGKT/J8+gGn0DOLkgHV8f1NJ1wDmK/SKpo6i7g5nJAXvAmYNyLzkUTyyqmfc0Fh4eWu59PmZK76r5mAAIJxgwD6e6InkMa7DKljGwULVmmfv+K10bmwwEviXb8fjuEqivue95vVLMBeqq+iCBJOycByt0fvVWng1ohem3ANJlZIPhmAis/1NlTWJPnkALCZilGoqzpx2fTLIvvjHo2aK3HIirC0YLBm9kRHwxAyx91o7YNjAbYNLbz1XUP84YCGUEZga1f6yOHrBYBM195CUF3eH53BGvrekVOM7OQVJ82JOZQblA+nDfoI99vCqy8dpXJGWKuIgb0VWS2eHNEzcHmeNHHji9NEHWYRtRclV8TrjkeDWHhdfSWcRaU5sxs2AZjuWY2FVoGqhrOpwTukE5tKayZADgbfQj/Ta4yYVqJUO2qpKch7n2lcWA==

Hi Sebastien,

 

Thanks. But I do not know how to cut cube with a plane and/or several planes into several cells. It seems the linear_cell_complex does not have those functions.

 

Best

 

From: Sebastien Loriot (GeometryFactory) [via cgal-discuss] [mailto:ml-node+[hidden email]]
Sent: Friday, August 28, 2015 7:33 AM
To: Xiong, B (ITC) <[hidden email]>
Subject: Re: 3D Arrangement of planes using Nef Polyhedra

 

On 08/25/2015 08:42 PM, Bear wrote:


> 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.
>


I don't think it's possible to do what you want.
 From here:
http://doc.cgal.org/latest/Nef_3/classCGAL_1_1Nef__polyhedron__3.html

"A 3D Nef polyhedron is a subset of the 3-dimensional space that is the
result of forming complements and intersections starting from a finite
set H of 3-dimensional halfspaces."

In you case you are looking for a decomposition of the 3D space. Maybe
you should have a look at the linear complex to see whether it can fit
you needs (in particular you won't be able to have infinite cells):
http://doc.cgal.org/latest/Linear_cell_complex/index.html

Sebastien.


> 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.
>



--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss




If you reply to this email, your message will be added to the discussion below:

http://cgal-discuss.949826.n4.nabble.com/3D-Arrangement-of-planes-using-Nef-Polyhedra-tp4661103p4661111.html

To start a new topic under cgal-discuss, email [hidden email]
To unsubscribe from 3D Arrangement of planes using Nef Polyhedra, click here.
NAML



View this message in context: RE: 3D Arrangement of planes using Nef Polyhedra
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.18.

Top of Page