Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] 3D Voronoi fracture
- Date: Mon, 2 Sep 2019 08:51:23 +0200
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:AwjqxRZUC+DceXm34wVTH4z/LSx+4OfEezUN459isYplN5qZrsu8bnLW6fgltlLVR4KTs6sC17OM9fm+CCdZucfJmUtBWaQEbwUCh8QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnYdFRrlKAV6OPn+FJLMgMSrzeCy/IDYbxlViDanbr5+MQu6oR/MusQXhYZuJbs9xgfNr3BVZ+lY2GRkKE6JkR3h/Mmw5plj8ypRu/Il6cFNVLjxcro7Q7JFEjkoKng568L3uxbNSwuP/WYcXX4NkhVUGQjF7Qr1UYn3vyDnq+dywiiaPcnxTbApRTSv6rpgRRH0hCsbMTMy7WfagdFygq1GuhKsvwFxzZDaYI+VN/RwcK3SctwYSmVdUchcTDBBD4GmYocTE+YMM+RVoo/grFUOtxu+AgysCfvhxjFVmHD5xrc10/89EQHHwgMgGc8FvnLTrNXvNacSVvy1x7TMwTvCcfxW3jL955bUchA7ofCCXah/ftbNyUkoDQPEjlCcpYL4ND6SzeQNt2+b7/BhVeKol24rsQRxojy0y8cjj4nGnIMVylTe+Splx4Y1IMS1RUhmatCqF5tQsjuVN4pwQs46RWFnoj01xaYCuZGlZiQF1JMnxxvZZveacIaI+gruWPiNLTp8nn5oe7Kyiwyv/US+yeDwTMa53VlSoiZbiNbAqm0B2hnN5cWJRfZw+1mu2TiO2g/P7+xIPE85mrHHJ5Mk3LI9koQcvEbGEyL3hEr7jaybe0Ak9+Wo9uvqYrDrqYGBOIJ2lg7zNLkllNalDuQiKAcOWnCW+eSi273n+k30WLBKgec3kqndqZzbK8EbqrOgDw9b3Ysu5AyzDzih0NQfknkHKExKdAibgIjuPlHCOPH4DfGhjFSwiDpn2ezKM7n7DpjOLnXPiqrtcah+5kJGxwc+wshT55dOBbEAJPLzVFXxtNvdDhIhKAy0x+HnCM981oMZRWKDGKqZMKfJvF+H4+IgOeiMZIsPtDnhLPgl4ubijWUlll8FYampwZwXZWikHvt4IkWZZX7sjc0cEWgXpQc/Te3qiFiZXj5JfXm+RaM85jchCIKnF4jPXI6tgKaZ1iehApJWfnxGCkyLEXrwa4qEVO0DaCaLLsB8kzwETqSuS5I61RG1rwL60LpmLu/M+iICr57j1d515/fSlR4o7zB0Ad6dgCmxSDR/kWoMAjM3x6tiuldVy1GZ0KE+jeYLO8ZU4qYDaQowPIXAzuF8Q/T1QAPGYp/JZ1uhR9i6GyAfR9ktxMUfIgw1T86miQrC2DbsBrs9mLmCBZhy+aXZiSuib/1hwmrLgfFyx2ItRdFCYDX/1/xPsjPLDouMqH230qOjdKASxinIrT7Rwm+HvUUeWwl1A/ycASIvI3DOpNG83XvsCqe0AO1+YAREwM+GbKBNb4+x1AgUdLLYIN3bJlmJtSKwCBKPnO7eaYPrfyAC2XyYBhRY1Q8U+nmCOE41ASLz+28=
On 8/14/19 5:44 PM, KyonInsane wrote:
Hi All,
I am struggling with a project that wants to fracture a 3D model (surface
mesh) in to convex pieces using 3d voronoi. I know that we can use boolean
operations to cut meshes. And I have read the example using LLC to get
finite Voronoi cells given set of points.
My approach is to generate a set of points inside the surface mesh, and use
the points to create Voronoi cells, and with each cell, perform a boolean
intersection with the mesh to get all the fractures.
The questions are :
0. What is the proper way to convert each Voronoi cell to surface mesh?
Given all its points, I am thinking just use convex hull functions that CGAL
provided.
For a first shoot, using the Convex hull code is the simplest solution.
1. How do I use all cells (including the infinite part) to perform boolean
operation with mesh? (do I need nef_polyhedron for the infinite part? if so,
how am I supposed to do convert LLC to nef_polyhedron?)
That part might be a bit tricky. It would be easier if you generate some points outside your mesh so that the convex hull of those points
contains the mesh. Simplest candidate are the corner of the bbox of the
mesh.
If you cannot add the outside points, you should clip the finite
Voronoi cell using the bbox of the mesh to make things simpler.
orI remember that one student from Monique was writing some code to get
2. Is it possible, with bounding box of the mesh, create Voronoi cells that
are all bounded(finite), so I can use to perform boolean operation?
the clipped dual of a Voronoi cell but I don't remember what was the
outcome of this code. Monique, do you remember?
Sebastien.
Any help is appreciated!
Best regards,
David
--
Sent from: http://cgal-discuss.949826.n4.nabble.com/
- Re: [cgal-discuss] 3D Voronoi fracture, Sebastien Loriot (GeometryFactory), 09/02/2019
- Re: [cgal-discuss] 3D Voronoi fracture, Monique Teillaud, 09/09/2019
Archive powered by MHonArc 2.6.18.