Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] Triangulated Surface Mesh Simplification - trying to make mesh A remain close to mesh B during simplification
Chronological Thread
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Triangulated Surface Mesh Simplification - trying to make mesh A remain close to mesh B during simplification
- Date: Mon, 19 Aug 2019 14:16:18 +0200
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:u+WTUx87Za4E4P9uRHKM819IXTAuvvDOBiVQ1KB31OscTK2v8tzYMVDF4r011RmVBN+dsqkVwLaG+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZLebxhWiDanfL9/IhG7oQreu8QVnIBvNrs/xhzVr3VSZu9Y33loJVWdnxb94se/4ptu+DlOtvwi6sBNT7z0c7w3QrJEAjsmNXs15NDwuhnYUQSP/HocXX4InRdOHgPI8Qv1Xpb1siv9q+p9xCyXNtD4QLwoRTiv6bpgRRn1gykFKjE56nnahNFugqJVoByvpBJxzIDbb46XKPVwcbjQfc8ZSGdbQspdSyJMD4O6YoASD+QBJ+FYr4zlqlcAsBWxGxKjC/n0yj9Uh3/5w6s62PknHwHBxgwgHtUOsGjJp9nxNakdT+e1zKzWwjXfdfNX2Tfz55LUfRA9pvGMR7Jxfc/fxUIyEA7FlVGQqYv/PzOU0eQNr3KX7+9kVe+0hG4nrht+ojmrxss2lobJgYcVx0nC+C5kw4g1PcW1RFBnbdOgCpddtCGXO5FoTs88Xm1koik3xqMetZKlZicG1IkryhvBZPGJfIWF5wzsVOiQLDhkgX9pZb2yiA2u/UWl1+HzS9W73EhPoyVZiNbDqmoC2hnS58WGV/dw/0Ks1DSR2w3R9u1JJ10/m7DBJJ472LEwk4IesUTdES/yn0X7lKqWeV8l+uis8ujmbK/mqoKFO496hQzyLL4imsO4AeQ/PQgOW3aU9f6g273k+E31WLRKjvsonanFqJ3WO9gXq6qjDwJW0osv8QizAym73NgCknQLMkpJeBedgIjoP1HOLur4DfC6g1m0izdrw/fGPqfgApXKMnjPirLhfbJm5k5TzQo819Ff55ZOBr4dJ/LzX1f9tMbEAR8hLwy03+HnBc1h2YMRQ22PBraVP77TsV+T+u0vPvKMZJQOtTbmK/kl4ubugmUjlV8ce6mpx5oXZ2qiEvRoOUXKKUbr19wOGGNPsgslR/Hxk3WDVyRSbjC8RfES/DY+XcidAI3KXZysjbrJ+CChH5pKLiBpB1eJHGvyZquNUOsLcjPTaIc1iTgDT7mmV8kk0TmhsQb7z/xsKe+CqX5Qjo7qyNUgv76brho17zEhV53AgVHIdHl9myYzfxFz3K17phYgmFKK0Kw9nOYBUNIPvbVGVQA1MZOaxOt/WYirBlDxO+yRQVPjee2IRCkrR4tokdALakd5Xd6li0Kbhnv4M/ouj7WOQacM3OfZ1nn1Kdx6zi+fhqYkhlgiBMBIMD//iw==
One way to do it would be to build an AABB-tree of the triangles of the
input (or make a copy of the mesh and do an AABB-tree of its faces).
Then you can plug into your cost functor a distance query of the placement to the AABB-tree (don't forget to call acceleterate_distance_queries()).
If the placement is further away from your threshold then return an
empty cost. This will not give you a certified distance (like Hausdorff
would do) but at least you'll have the guarantee that all the mesh
points are within a given distance range from the input.
Best,
Sebastien.
On 8/2/19 10:58 PM, Audette, Michel A. wrote:
Dear CGAL experts,
I would like to use the Triangulated Surface Mesh Simplification algorithm to modify a triangulated model of the skull base, in a manner that keeps the evolving skull surface in close proximity to a set of triangulated surfaces of the cranial holes (foramina). In other words, if we don't impose this type of constraint, the decimation tends to make these holes arbitrarily big, which is the opposite of what we want. Is there a simple way to use this code, or somehow modify it, to consider the faces of a second surface B (holes) as a constraint for the simplification of surface A (cranial bone)?
Thanks for your kind support.
Michel Audette, Ph.D.
Associate Professor,
Department of Modeling, Simulation and Visualization Engineering,
Old Dominion University,
Norfolk, VA.
- [cgal-discuss] Triangulated Surface Mesh Simplification - trying to make mesh A remain close to mesh B during simplification, Audette, Michel A., 08/02/2019
- Re: [cgal-discuss] Triangulated Surface Mesh Simplification - trying to make mesh A remain close to mesh B during simplification, Sebastien Loriot (GeometryFactory), 08/19/2019
Archive powered by MHonArc 2.6.18.