Subject: CGAL users discussion list
List archive
- From: Alexandre Severino <>
- To:
- Subject: Re: [cgal-discuss] "Sweeping" a geometry from point A to point B
- Date: Wed, 9 Oct 2019 13:47:53 -0300
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:GK+ochX1I3808M/DllZnwTETG0LV8LGtZVwlr6E/grcLSJyIuqrYbRSOt8tkgFKBZ4jH8fUM07OQ7/m7HzJZqsbY+Fk5M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aFRrwLxd6KfroEYDOkcu3y/qy+5rOaAlUmTaxe7x/IAi4oAnLt8QanIRuJ6UsxhDUvnZGZuNayH9yK1mOhRj8/MCw/JBi8yRUpf0s8tNLXLv5caolU7FWFSwqPG8p6sLlsxnDVhaP6WAHUmoKiBpIAhPK4w/8U5zsryb1rOt92C2dPc3rUbA5XCmp4ql3RBP0jioMKjg0+3zVhMNtlqJWuB2upxJ9zIDUbo+bN+dwcL3Bct4BX2VNQtxcWjZdDo+gbYYCCfcKM+ZCr4n6olsDtQezBQ2yC+Lg0DBIgGL53bck3O88DA/JwhIgEMwUsHTVqtX1M7oZXOevw6nM0zrCYOlZ2THg54jSbB8tu+uDUahrccXP10kgCRnFjlSWqYziJD6V2eENvHKa7+pkT+6gl2knqwRorzWp28wihI7JhocPxVDF8yV02IA1KsejR0FgZd6rDoFcuD2dN4tzWs8iQmdouDw7yrIco5K7cjIKxIw7yB7QcfOHd5KE4hX5VOaeJzpzmXFreKqnihqs7UStzvfwW8q03VpQsyZJjNrBumoC2hHT7MWMV+Fz8V272TmV0gDe8uFELl4wlarcM5Mhx6Q/lpsXsUjaEC72nVj6gLaYdkgr+uWk8evnYrLhpp+TM497lBvyPbgpmsy6Geg4Mw4OUHaH+emkyrHv4Un0TK9Jg/A2iKXVrY7WKMcBqqO2AwJZyoMj5Ay+Dzei3tQYh34HLFdddR2di4jmJV7PL+r+DfiimVSjji1nyOrcMr36HJrNMGbMkK3gfbZ77E5R0wUzzdVF6JJVDrENOu78Wkj0tNDAFB82LxS0w/r7CNV6zo4RRW2PDbWdMK/LrFCI5/kvLPWRZI8OozbwMOMl5v7rjX8hg1ARZ6ip3Z0NaHC5BPtqOUuZYWC/yuoHCnoA6woiUPTx2hrFSi9Wf3/0XqQm5zh9BpjhFpbGXonqgbqP22CwEZRSI2xHEVuRCmy7S4LRUPgFbGeeI9RqjycffbmnUY4okx+05yHgzL8yB+7Z6iQeuYjunON4+eDJlBc1vWh9C8mN2meBVWwylyUTSiE7xqF5pmRyz16C1e5zhPkORo8b3O9ATgpvbc2U9Od9Ed2nAlucLOfMc06vR5CdOR90Tt81xIVTMUN0GtHnkRWamiT2XvkakLuEAJFy+aXZjSCoe5RNjk3e3axktGEIB9NVPDT/1KF6/gnXQYXOlhfBzvf4ReEnxCfIsVy74y+LtUBcXhR3VPycD38ab0rS69/+4xGbQg==
Yes. I have seen this article before. Implementing everything from scratch is my last resort.
Is there a way to do it in a discrete fashion, but with a closed mesh?
Sorry that I wasn't specific enough. I always forget to include some important information.Unfortunately, it has to be both continuous along a "curved" high-res polyline, and the mesh is closed.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/
>
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
--Alexandre A. SeverinoSystems Developer and Analyst+55 11 99994-9148Si quieres cambio verdadero, pues camina distinto!
Alexandre A. Severino
Systems Developer and Analyst
+55 11 99994-9148
Si quieres cambio verdadero, pues camina distinto!
- [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.