Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] "Sweeping" a geometry from point A to point B
- Date: Wed, 9 Oct 2019 17:33:25 +0200
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:B3ikKxa1hHKQT84FKO7skVn/LSx+4OfEezUN459isYplN5qZrs6+bnLW6fgltlLVR4KTs6sC17ON9f65EjJdqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjWwba58IRmsrAjdq8YajIpiJ60s1hbHv3xEdvhMy2h1P1yThRH85smx/J5n7Stdvu8q+tBDX6vnYak2VKRUAzs6PW874s3rrgTDQhCU5nQASGUWkwFHDBbD4RrnQ5r+qCr6tu562CmHIc37SK0/VDq+46t3ThLjlSEKPCM7/m7KkMx9lL9VrgyvpxJ/wIDabo+aO/V8cazBct0XXnZBU8RLWiBdHo+xYYkCAuwcNuhYtYn9oF4OoAOwCQexGuzg0SVHhmTq3a07zeshFxzN0gonH9IUsXTUq8n1P7oWXe600qbIyjDDYO1K2Tfn6InGcgouru2QXbJ3a8rQyUwjGw3YhViXsozlOzSV1v4Ms2ic8+psT+evi2o8pgF+pzig3MYsio3Tio0JzVDE8Dx0zYAoLtO2T057ZMSrEJpWtyyCMYt5WNgtTHpsuCkk0LEJpZm7fC0SxJs7yB7QcfiHf5KP4hL5W+acJypzinF9eL+nmRq+7Uytxvf/W8S0ylpGszRJn9rWun0CyhDf8taLReFh8ku83DuAyQ7e5+5BLE8qm6rWKoIuz7stmpccqkvPAir7lUrygaCKakop//an5uXpYrjmo5KRNpV7hwD8P6krlMywG/o3PhQIUmOG4+qzzqfj8lf8QLhSjv05jK3ZsJfCKMQevKG5AgtV3p8t6ha6EjuqydoYkHYaIF5fdxKHiI/pO17KIP/mF/uwn1OskDJzy/DHOL3uHInNI2DdnLv9ebtx8U1RxQopwdxC+Z5ZCasNLf3uVkPpsdzXFB45Mwi6w+b9D9V905sTWXmLAq+eKqPSsFiI5v41L+mJYI8Yozn9K/0/6P7viX81g0MSfa6s3ZcPcnC3AuxmI1mFYXrrmtoODWgKsRA6TODzlVKCUCVTaGqvX6In/TE2E5mmDIfGRoC1mrONxia7HptMZmBHEF+AC3nod5/XE8sLPSmdK8sknj0fXqW6UKcg0wuvvUn00elJNO3Rr2cjuJjqz8R06uubsRYo9DtoR4Sy3maIQn1uj00BTCMxxrE+6wQp0VOEy6l/n7pdEfRc4vpIVkExMpuKnL8yMMz7Rg+UJoTBc12hWNjzWWhgHOJ0+McHZgNGI/vnixnC2ySwBLpMzu6EAZU19uTX2H2jfp8gmUaD77EoihwdeuUKNWCigfQipQ3aBoqMjEDA0qj2LOIT2ynC8GrFxm2L7hkBDFxAFJ7dVHVaXXP46Mzj7xqbHbCrALUjdABGzJzaJw==
Do you want a continuous translation or a discrete one along a polyline?
Is your input mesh close or open?
If the mesh is open and you consider discrete translation, you might be
able to use extrude_mesh() for each segment:
https://doc.cgal.org/latest/Polygon_mesh_processing/group__PMP__meshing__grp.html#ga102e1ba5d709c5e53e013160792e4d08
and compute the union of all segments using corefine_and_compute_union():
https://doc.cgal.org/latest/Polygon_mesh_processing/group__PMP__corefinement__grp.html#gad7e1741a7ce41a5846cf86494982ca8b
Sebastien.
On 10/9/19 3:09 PM, aseverino wrote:
This is probably the most unusual problem you guys ever heard of, so I'll not
be surprised if there is no solution for it available with any combination
of tools in CGAL.
Remember when you had Windows 98 and the screen would freeze up with an
error shown in a dialog popup? Remember moving this dialog box around and
its canvas leaving a drawing "trail", as if it was some sort of a slug?
I'm trying to recreate exactly that effect, but with a 3d object.
Imagine you have a not-so-primitive shape, like a 3D cross, and you want to
drag it around in a 3d space, in the 3 axis, leaving a trail behind. The
final geometry ends up being this snake-like geometry based on the initial
3D cross. As if you moved a clone of the cross just a fraction of a
millimeter, made an union boolean, and repeated until you have the desired
result.
How would you do it? Considering that a boolean would take hours of
processing.
--
Sent from: http://cgal-discuss.949826.n4.nabble.com/
- [cgal-discuss] "Sweeping" a geometry from point A to point B, aseverino, 10/09/2019
- Re: [cgal-discuss] "Sweeping" a geometry from point A to point B, Sebastien Loriot (GeometryFactory), 10/09/2019
- Re: [cgal-discuss] "Sweeping" a geometry from point A to point B, Alexandre Severino, 10/09/2019
- Re: [cgal-discuss] "Sweeping" a geometry from point A to point B, Sebastien Loriot (GeometryFactory), 10/09/2019
- Re: [cgal-discuss] "Sweeping" a geometry from point A to point B, Alexandre Severino, 10/09/2019
- Re: [cgal-discuss] "Sweeping" a geometry from point A to point B, Alexandre Severino, 10/09/2019
- Re: [cgal-discuss] "Sweeping" a geometry from point A to point B, Sebastien Loriot (GeometryFactory), 10/09/2019
Archive powered by MHonArc 2.6.18.