Subject: CGAL users discussion list
List archive
- From: Sebastian Bachmann <>
- To:
- Subject: Re: [cgal-discuss] Smooth surfaces at image boundary
- Date: Sat, 7 May 2022 13:37:13 +0200
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-data: A9a23:x1MLqKxB2UCw+4jwHbd6t+dSwCrEfRIJ4+MujC+fZmUNrF6WrkUGy jQYXGmBO/yDYmT9ct0iOtuw/E0Bu8OHzdJqGQZt/FhgHilAwSbnLYTAfx2oZ0t+DeWaERk5t 51GAjXkBJppJpMJjk71atANlVEliefQAOCU5NfsYkidfyc9IMsaoU8lyrdRbrJA24DjWVvQ4 Yyq+aUzBXf8s9JKGjJMg068gEg31BjCkGtwUosWOJinFHeH/5UkJMp3yZOZdxMUcaEIdgKOf Nsv+Znilo/vE7jBPfv++lrzWhVirrc/pmFigFIOM0SpqkAqSiDfTs/XOdJEAXq7hQllkPh2k f5XlqehRT5wL6fuo9Y7XiF5GSdHaPguFL/veRBTsOSWzkHJemHghe9jC1FwNJFwFuRfWD4Qs 61ed2BLN0vb7w616OrTpu1EhsknKM7DJo4Yqjdp0Vk1CN5/GsyeHvyUvre02h8ot9EWEq7dS fEQcAU1TyjiTyRTa2s+XcdWcOCA3SCiLGYD8zp5v5Ef6GfayEl90aPmLcHOUsebQN1c2Eeev GPPuWrjaiz2L/SayDaK+2igwPXCmjO9UZ56+KCEGuBChwS43E8oGREvDEqxg8KLrEOGethZE hlBksYxlpQa+EuuR9j7ehS3pn+YoxIRM+a89cVqs2lhLYKEuW6k6ng4oi1pNYV85Z5tLdA+/ g7VzoqxbdB6mOfNERqgGqGoQSSaFQV9EIPvTSoFQQQM+dWluow0nlTGUr6P8ZJZbPWuSVkcI BjT/EDSYon/auZRjs2GEajv2W7Em3QwZlddCv/rdmyk9BhlQ4Wuepal71PWhd4ZctvAHgba5 iRfw5bBhAzrMX1rvHzWKAnqNOHzj8tpzBWA0TaD4rF7rG72pyL9FWyuyGAudB4wW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l9njFiAg3CjrkdB2H 3atzl60cszg0KK0Nvhid09jCQrn6sZ0LYp5l5M5mJAa3XVJzoXQ53cMln3/dMlKwa+rJmRYX iYFmpSGhWqtkF0mNH+CwJj1E2mQ0tc0LcfveXsYg2p+5ogJDbfcqbVAmWEdTkOQiwXXbLA9m z4czaBr83sGm6QSvxJryCyBA7cUFE0ePCr2lh3O4crs5KNQLH2id7S9zi8c1ZioEa2CrwdAW X34ZoZqHCl+6d96OU7N13u745/ted3ZZ9Ye/hOOlBKIg+9QIZM33v0E4EgvcXr6pmEgwvUng AZG2JC2s4GdJyN38aWpRBdEd3X0a84V5jDxnPNek8KRjOXNVt1qHjQGWoetTOr9SW1M86Wha FbISWZk+RL5UfLFEASS6VlrtSfKGpGvbDSMIWUBiM5lXF+bLVBehwYdWHM7mIQ4H0ak3p+EE g8x6zYP61r/shYJxPhvMky1UmrboACAcDozWN6WMFAFi2MKr1eQKsGY4u9pSmtA+Ya9qQWWN mGBTwFJAW4AQEDCHV3kLv+n+ZOTlorQTvr7JPzIb7KUrOVYXPrd3pOj3Lxt+DOUP9mONH1vZ xXe8lBOWmA/EtiLw13npAQNmiXdKceH9k7UEsxfq8Gz//3xVET16IyfTbJOY40Hxg==
- Ironport-sdr: 15wl0BxOWh6n6LXKUMN2V2n4c3Xps6ykzArXAJGaWZgwOW5W+/HMEaGUeWArqbddaxP3HeGlRq wEqsuKGKlaWC1Z5zFttTCvFW2qMjpRhg86A6cWdsPvGInw5wMshUBpMplYhDMdtKiAxsXtcH0d Fyc+oyxDj60Fr1Ztcgs6SNIuqbduP9KJDsKcP8XR+asUeb+G72G0/pJDhILKMHJTmVJFCU//XY 8suyeHmNn2+L1+KdouIz33cA6rsAyUF1saAti1JknMVABEdAWf5fcbsjUMJZxSOguzKpCC7hKZ YDO54+e+bU6qXNRGu23LhI8+
Hello,
No one has an idea? Is it not somehow possible to restrict nodes onto a surface? I.e. if I have the polyline of the surface's boundary, can I specify that all nodes must be on that surface?
For now I have written a function to go over all nodes and check if they are near such a boundary face and then "pull" the nodes onto that surface. However, there are certain edge cases were this then yields collapsed triangles etc. Thus, solving this during meshing would be a great enhancement.
Best,
Sebastian
On 25.04.2022 07:16, Sebastian Bachmann ( via cgal-discuss Mailing List) wrote:
Hello,
I created an image meshing tool, similar to the one given here in this example code: https://doc.cgal.org/latest/Mesh_3/Mesh_3_2mesh_3D_image_with_features_8cpp-example.html with the only difference, that I extract the surface elements and not write the full 3D mesh.
I noticed, that on the image boundary, the vertices would be not exactly on the face but roughly +- the relative error bound given in create_labeled_image_mesh_domain. For examples, nodes on the xy plane at z=0 are not on z=0 but for example -0.01 to 0.01. While the protected polylines are exact and have always z=0.
I created for example a mesh from the 420.inr example with the same meshing criteria as given in the example and can see that behaviour there.
While you can control the maximal deviation using the relative error bound, there will always be some deviation. And if I set the relative error bound too low, it seems the meshing never finishes.
I wonder now, if it is possible to constraint the mesh (similar to the 1d polylines), such that the vertices for facets on the image boundary, are always exactly on the image boundary?
Best,
Sebastian
- Re: [cgal-discuss] Smooth surfaces at image boundary, Sebastian Bachmann, 05/07/2022
- Re: [cgal-discuss] Smooth surfaces at image boundary, Sebastien Loriot, 05/09/2022
- Re: [cgal-discuss] Smooth surfaces at image boundary, hello, 05/09/2022
- Re: [cgal-discuss] Smooth surfaces at image boundary, Sebastien Loriot, 05/09/2022
- Re: [cgal-discuss] Smooth surfaces at image boundary, Sebastian Bachmann, 05/09/2022
- Re: [cgal-discuss] Smooth surfaces at image boundary, Sebastien Loriot, 05/10/2022
- Re: [cgal-discuss] Smooth surfaces at image boundary, Sebastian Bachmann, 05/10/2022
- Re: [cgal-discuss] Smooth surfaces at image boundary, Sebastien Loriot, 05/10/2022
- Re: [cgal-discuss] Smooth surfaces at image boundary, Sebastian Bachmann, 05/09/2022
- Re: [cgal-discuss] Smooth surfaces at image boundary, Sebastien Loriot, 05/09/2022
- Re: [cgal-discuss] Smooth surfaces at image boundary, hello, 05/09/2022
- Re: [cgal-discuss] Smooth surfaces at image boundary, Sebastien Loriot, 05/09/2022
Archive powered by MHonArc 2.6.19+.