Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Polyhedron dema, distribute vertices over surface

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Polyhedron dema, distribute vertices over surface


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Polyhedron dema, distribute vertices over surface
  • Date: Fri, 28 Sep 2018 13:32:03 +0200
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:f0GLWRKV+UANpyOT5dmcpTZWNBhigK39O0sv0rFitYgeLv/xwZ3uMQTl6Ol3ixeRBMOHs60C07KempujcFRI2YyGvnEGfc4EfD4+ouJSoTYdBtWYA1bwNv/gYn9yNs1DUFh44yPzahANS47xaFLIv3K98yMZFAnhOgppPOT1HZPZg9iq2+yo9JDffwdFiCChbb9uMR67sRjfus4KjIV4N60/0AHJonxGe+RXwWNnO1eelAvi68mz4ZBu7T1et+ou+MBcX6r6eb84TaFDAzQ9L281/szrugLdQgaJ+3ART38ZkhtMAwjC8RH6QpL8uTb0u+ZhxCWXO9D9QLYpUjqg8qhrUgflhjoZOT438G/ZicJ+g6xUrx2juxNxzJXZYJ2WOfdkYq/RYd0XSGhHU81MVyJBGIS8b44XAuYPIOhXsZLyqEEVrRuiBAmjGuXvwSJOiH/xx6060uMhER3b1wAkHtwBrnPUrNDrO6cOS+C0zKnGwi/fYPNK3jf98ojJfhUvrfqRWr9was7RyU41FwPEiVWQtZbpPzaR1ukWvGib6vBvVeOri2I9tw5xpT2vy94qh4LUiIwVzVXE+j94wIYzPdC3VEF7bsSgEJdKsCGaLYR2T8U/SG9roCY30qMKtYK/cSQQy5kqxwTTZ+GZf4WL+B7uW+icLS96iX9mYr6zmRm//Em6xuHhUsS53kxGoyhFn9TKq3sDzQbc6tKdRft45kqh2SiA1wTU6uxcJEA7j6vbK5o4zr8+k5ofrF3PHiH5lUj4lqOWeUIk+u+n6+TjfLrqvIOTN4hxig3mM6QunNKwAfggPwQQQ2SW/f6w2b7j8EHjXblGkP47nrPWvZ3UPcgbo7S2Aw5R0oYt8Ra/CDKm3cwDnXkDK1JFYhOHj4/1O13UJfD4Ceyyg1upkDhxxvDGOqftDYnKLnjGiLvhZ6py61ZAyAovytBS/45bCr4bL/L3Q0P+qd3YDgQlPAyp2ObnE85w1pgeWGKKGq+WKrnesV6O5uI1IumDfpUZuDjnK6tt2/m7hnAwnRoRfLKiwIAMQHG+BPVvZUuDMlT2hdJUW1wHtAMlUO3njhWmViRSYGr6H40x4TQ2FJi3I47IWoe3kf3LlHOgGppMZ2daTFWIOXjtfoSAHfwLbXTBcYdajjUYWO35GMca3ha0uVqikus1Hq/v4iQd8Knb+p1w7uzXmws18GUtXcuY2mCJCWpzmzFRHmNk7OVEuUV4j2y7/+1gmfUBTI5c4vpIVkExMpuOl7UnWeC3YRrIe5KycHjjQtiiBmtsHNc4wttLfEMkXtv+1VbM2C2lB7JTnLuOVsQ5

If your surface is defined by a triangle mesh, you can use the method
sample_triangle_mesh().

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

Sebastien.

On 09/28/2018 09:50 AM, gregor olenik wrote:
Hi,

I am new to CGAL and I am trying to implement the following:

In the Polyhedron demo I would like to implement a new Operation which
distributes vertices over a surface, in a similar way to the existing
surface mesh but without any triangulation.
I am currently looking at the
"Plugins/Mesh_3/Mesh_3_plugin_cgal_code.cpp" file in order to find where
and from which file the triangulation routine is called, but I am a bit
overwhelmed.  I guess it happens at "Mesh_function* p_mesh_function =
new Mesh_function(p_new_item->c3t3(), p_domain, param);". But what is a
c3t3 and how can I include an different algorithm as a plugin?

It would be great if someone could give me some hint where to start.

Cheers,
Gregor





Archive powered by MHonArc 2.6.18.

Top of Page