Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Advancing Front Surface Reconstruction with initial mesh

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Advancing Front Surface Reconstruction with initial mesh


Chronological Thread 
  • From: Simon Giraudot <>
  • To:
  • Subject: Re: [cgal-discuss] Advancing Front Surface Reconstruction with initial mesh
  • Date: Mon, 27 Jan 2020 10:01:59 +0100
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=None ; spf=None
  • Ironport-phdr: 9a23:Bf7FqROX3hAMYveSym0l6mtUPXoX/o7sNwtQ0KIMzox0K/3/pMbcNUDSrc9gkEXOFd2Cra4d16yN6uu5AzJIoc7Y9ixbK9oUD15NoP5VtjRoONSCB0z/IayiRA0BN+MGamVY+WqmO1NeAsf0ag6aiHSz6TkPBke3blItdaz6FYHIksu4yf259YHNbAVUnjq9Zq55IAmroQnLucQanIRvJrw/xxfUrXdEZvpayGJ1Ll6Xgxrw+9288ZF+/yleof4t69JMXaDndKkkULJUCygrPXoo78PxrxnDSgWP5noYUmoIlxdDHhbI4hLnUJrvqyX2ruVy1jWUMs3wVrA0RC+t77x3Rx/yiScILCA2/WfKgcFtlq1boRahpxtiw47IZYyeKfRzcr/Bcd4cWGFMWNtaWS5cDYOmd4YBEvQPPehYoYf+qVUBoxSxCguwC+700DBEmmX70Lcm3+kvEQzL2hErEdIUsHTTqdX4LLocUeGwzKnPyzXIcvJY2Tbn6IfSbxAuvPaMXa5tesfW0kkvFgbFjlKWqYD/MDOV1/4NvHKG7+V9UuKvl3Uqqw5vrTiow8cjlJXJhpgVy1DK7yp23Jo1JdqiSE97e9KrDJxQtySDOoZwX8gsTWZouCMgxb0Hv562ZDQFyJs9yB7bcfCHdJKI4h37WOaePzh4g3dld6yjhxao8UmgxPfzWdWo0FZNtCpEksPAuWwK1xzW7MWMV/hz/l+51DuA1g3f8PxILVw0mKbBKZMsxqQ8m5USvEjbGiL6hF/6gLKLekgn4OSk9uvqb7H8qpKSOYJ4kh3yPr4ylsClHeg0KBQCUm6G8umi0L3j4Fb5QKlUgf0sj6fZsZHbKtoDq6KlBQJez5wt5AylDzi81dQVhXkHI0xBeBKAl4XlJk3CLOr9Dfe4nlihkjNmy+rDPrL7A5XNKmHPkLD8fbZh8UJczxQzzdBF65JSFL4BPOr/Wk73tNPGEh80KwO5zuf9BNlgyo8TWXiDD62dPa/IvlKF5/ojI+yWa48UvDb9JeIl5/nrjXIhgl8dfKyp3ZwRaHyiEfRmIl+ZbmDxgtgcFmcKohEzTOP0h12FVD5ceWqyX7g85zE1Eo2pEZvDRoe3gL2Bxiu0AppWZmVeBlCWDXjob5mEW+sLaC+KPsBhnSYLVby4R4A81BGurxP1y6d8LurP4SAYrpLi1N1t5+LJjx0y9Dp0D96c026XVW10kHkISycz3KB4vENy1E+O0bN9g/xEDdxf/vRJUhomNZLEz+x1FdTyWgXZc9eRTFapWNWnDi8rTt8zwNIDYVxxG9W4gRzZ2CqqHb8Vm6aNBJMq7qLQx3nxJ8BjxHbazKQtk0MqTtdVOWG6nKJz6xDfB5TVnEWBi6aqaaMc0TbR+2eM12WOuFhUXxNxUaXeQX8fe1DWrc/i60PDSb+uE7UnPRFbxc6MMKsZIuHu2F5JTfOmNNXFaH+qgE+xAwyJz/WCdtnEYWIYiR7cDU8C2y8S53+bOQ8iTnO6omfZCnphFEjmfk/r7cFxpXS+Q1Mu3g+DZFFmzavz8RkQ06/PA8gP164J7X9y4w5/G0ywioqPVoiw4jF5daAZWusTpVdK0WWD6F4kZtqlKPk91xgbegVz+kTzy1NwFIUGl8U2/itzkFhCbJmA2VYETAu2mIjqM+eOeGb/+xWid7TH1FjVzNGM6+EE7/Fq8wyy7jHsLVIr9jBc6/cQ1nKd4pvQCw9ICMD+X0Ey+gRgtr/TaTU6/ZKS3nppY/G5

Hello,

As Sebastien pointed, there is not direct way to achieve what you want.

One option you could try is to use the Priority functor that you can pass to the ASFR function (see https://doc.cgal.org/latest/Advancing_front_surface_reconstruction/group__PkgAdvancingFrontSurfaceReconstructionRef.html#gabd089da9b1d8dedb05f6d292a9d9b874 ) to make the faces present in your initial mesh more likely to be used. What I would try is: in the functor, you get a candidate facet, so you can check if this facets corresponds to a face of your mesh. If it does, return 0 (the priority is more a "cost", so 0 means it's very likely to be chosen). Otherwise, return the usual priority (check the examples to see what I mean).

Of course, that will only work for faces of your mesh that are indeed faces of the 3D Delaunay triangulation (it's not guaranteed that all are), but it's possible that the result approaches what you are looking for.

Best,

-- 
Simon Giraudot, PhD
R&D Engineer
GeometryFactory - http://geometryfactory.com/
Le 26/01/2020 à 15:43, Florian Gawrilowicz a écrit :

Hi,

Is it possible to use the “Advancing Front Surface Reconstruction” with an existing mesh and initialize the reconstruction with that, such that the (almost) all triangles of the initial mesh are contained in the triangulation.

 

Using the Hole Filling implementation does not work for me since:

There are many islands in the mesh And points that are not part of a triangle

 

If possible a MWE would be extremely helpful, or details on how to modify one of the CGAL examples.

 

Thanks!

/F




Archive powered by MHonArc 2.6.18.

Top of Page