Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] CGAL- How to generate a adaptive sampling on surface?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] CGAL- How to generate a adaptive sampling on surface?


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] CGAL- How to generate a adaptive sampling on surface?
  • Date: Mon, 16 Dec 2019 14:13:04 +0100
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:swp94RzXAOHeS4jXCy+O+j09IxM/srCxBDY+r6Qd2ugTIJqq85mqBkHD//Il1AaPAdyAragc1qGK4+jJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fcbglVijexe61+IAm2oAneucQbgpZpJ7osxBfOvnZGYfldy3lyJVKUkRb858Ow84Bm/i9Npf8v9NNOXLvjcaggQrNWEDopM2Yu5M32rhbDVheA5mEdUmoNjBVFBRXO4QzgUZfwtiv6sfd92DWfMMbrQ704RSiu4qF2QxLulSwJNSM28HvPh8JtkqxbrhKvqR9xzYHab46aNuZxcKzGcNMGR2dMRNpdWzBPD46+aYYEEuoPPfxfr4n4v1YCowawChe3C+z10T9Imn720rM80+88Fw/G2xYgH9MJsHTIsd75MKYcXv6yzKnN0zrDc+lW2Df95ofSbh8hvfaMXahwcMbUx0UkCgTIjk6UqYziJTOV1+MNs3SB4+plUeKikGEnqwRrrTiuwscgkJXGhoUQyl3d8yhy3Yg7Jdq9SEFhYN6kFoNdtyeAOIRtWcwiR39ntDwmxb0BvJ63ZDQFyJs9yB7bcfCHdJKI4h3lWe2MIjl4nGpodKyjixu260Stye3xWtOp3FpUrSdJiNbBu34V2xDN8MeLVuZx80K/1jqTzQ/e7/9ILVwpmafeJJMt3KA/moYWvEvZGiL6hF75gaqKeUk5++Wo5eHqYrvoppKcOY95jw/zP6cql8G+B+kzLxIAUHKB+eum0b3u5U35T6tOjv0xiqTZtYrVJcUfpqKgDQ5V15sv5w+xDzqp3tkUh3YHLFVCeBKIi4jmJUvCL+z/Dfe6m1iskTFryO7aPrD5HJnBMnzOnK3icLt98UJQ1RQ/wNNF659bBLwNOPfzVVXwtNzcAB85KQu0w+P/BdVm0oMeXniPAq6eMKPOq1OI4+YvLvKDZI8Qojn9Kvwl6+Tygn8+nF8RZbOp0ocPaHCkAvRmJF2UbmbjgtgbFWcGpxcxTO3xiFKeTD5TfG2yUrkn5jA7DYKmFZ3MSpqsgLyHxie7H4dZanpIClCWQj/UcNCPVP4ILS6TOcR8iScsVL67SoZn2wv9mhX9zu8tFefe8zYEtJ/lnPxy/ezUiVly2jFzCsmByXCjRmpomXkZBnV+iLt7plZ8zUvF1KxQjPlRFNgV7PRMBFRpfaXAxvB3XoihEjnKec2EHQ7/HoeWRAopR9d0+OcgJl5nEoz73B/G1iuuRbQSku7TXc1mwufnx3H0Yv1F5TPD3aglgUMhR5IWZ2Kjj697sQPUAtyQyhjLp+ORba0ZmRX12iKDwG6J5hwKVQdxVeDaWClaaBeN69v+4UzGQvmlDrF1agY=

There is the function sample_triangle_mesh() but the sampling is more or
less "uniform". You can look at the implementation of the function and
modify it to match what you are trying to achieve.
If you hack the part where the area of the triangles is used as the probabilistic weight to be selected you might be able to achieve
something close to what you want.

Sebastien.

https://doc.cgal.org/latest/Polygon_mesh_processing/group__PMP__distance__grp.html#ga7874c0f16badf7b7939039cf979ad16d

On 12/16/19 2:02 PM, Frank Dz wrote:
Hi everyone~ I want to know how to get adaptive sampling on surface. The
'adaptive' means the samples on feature part can be more dense.

I have tried search about this. Yet I only get some surface reconstruction
method or mesh generation method have this effect. However, it is not
*sampling on the Original Surface*.

I just wonder if there exist some sampling method in CGAL. Or I didn't find
it without using a right name describing it.

Thanks for you kind help and guidance.



--
Sent from: http://cgal-discuss.949826.n4.nabble.com/




Archive powered by MHonArc 2.6.18.

Top of Page