Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Using PMP Mesh Processing with Polyhedron type.

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Using PMP Mesh Processing with Polyhedron type.


Chronological Thread 
  • From: Shankar Kulumani <>
  • To:
  • Subject: Re: [cgal-discuss] Using PMP Mesh Processing with Polyhedron type.
  • Date: Mon, 4 Jun 2018 14:11:32 -0400
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:DFvzNhctnkEL2TbaubLq5yZ6lGMj4u6mDksu8pMizoh2WeGdxcu+Yx7h7PlgxGXEQZ/co6odzbaO7ua4ASQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9HiTahYb5+Ngm6oRnMvcQKnIVuLbo8xAHUqXVSYeRWwm1oJVOXnxni48q74YBu/SdNtf8/7sBMSar1cbg2QrxeFzQmLns65Nb3uhnZTAuA/WUTX2MLmRdVGQfF7RX6XpDssivms+d2xSeXMdHqQb0yRD+v6bpgRh31hycdLzM2/2/Xhc5wgqxVoxyvugJxzJLPbY6PKPZzZLnQcc8GSWdDWMtaSixPApm7b4sKF+cPIOZYoJP7p1sNtxS+HxSnCubyyj9Mm3/22Lc10+IgEQrb2wEgBNIOv27SrNX2L6ceS+O1wbLHzTXGdfxW2DP95JLUfRAmpPGBRLR9etffx0koEgPKlFSQqYr9MjyJ2eQCqWyb4/BnVeK1hG4qrRx6rDu3xso0lIXFmoYYxkrH+Ch52oo5O8O0RUBhbdK5EpZdtieXPJZsTMw4WWFnoiM6x6UGuZGleCgKz4wqxxvFZPyGd4iE+xPjVOGNLTthinJpZbCyiheo/Uivze38Uca00FJUoSZfjtbMsXUN2wTS6siBVPR94l+s1SiT2w3X8O1JIkA5mbDFJ5I/zLM8jIcfvEbCEyPunUX5lq6WdkEq+uiy7OTnZ63rpoScN4BujAH+Mb8ulta8AekjPQgOWnKU+eW41LH54UL5R7BKguUskqbFqJDaOdgbpqmhDgBJ3YYs8RK/Ay6739QZhnkIME9FeAmcj4XyIFHPIPX4De+ljFi2kTdrwerGPrz7DZnXIHjDiuSpQbEo4EFVzE8/zMtU+olPIrAHOvP6HEHr5/LCCRpsCAy9xeXuEp1ey4cDXGuJA+fNK6Pbt1yToOEHLOyFZYtTszH4fat2r8XyhGM0zAdONZKi2oEaPSjhT6ZWZn6BaH+pue8vVGIDvw4wVuvv0QTQXjtaZnL0VKU5tGhiVNCWSLzbT4Xou4SvmT+hF8QPNG9DA1GIV3zvctfcAqpeWGepOsZk1wc8e/2hRosmj0/8sQb7z/9mKbKR9HRH69Ts09964+CVnhY3p2R5

I'm pretty sure that function expects a subset of all the faces in the mesh.

On Mon, Jun 4, 2018 at 1:14 PM Sukhraj Singh <> wrote:
Yes, that's right. 
For example, I have this call:
CGAL::Polygon_mesh_processing::isotropic_remeshing(m_pPolyhedron->Facet_const_iterator, 0.5, *m_pPolyhedron);

I get following error:

 error: invalid use of ‘CGAL::Polyhedron_3<CGAL::Simple_cartesian<double> >::Facet_const_iterator’
     CGAL::Polygon_mesh_processing::isotropic_remeshing(m_pPolyhedron->Facet_const_iterator, 0.5, *m_pPolyhedron);


I am not sure about the parameter : const FaceRange & faces




On Mon, Jun 4, 2018 at 10:37 PM, Shankar Kulumani <> wrote:
I'm pretty sure you can just swap out the Surface_mesh with your Polyhedron object instead. Both are derived from a larger class, Mutable object I think, so they should work just the same.

Hello,

I have a Polyhedron *m_pPolyhedron;

I want to use it to run on it various Polygon_mesh_processing algorithm on it.

For instance, I want to run isotropic_remeshing();

The example of isotropic_remeshing Here uses Surface_mesh.

Can anyone share code snippet in order to do so? So that I could run various PMP algorithms on Polyhedron type.


Thanks

--
Sukhraj Singh
 



--
Sukhraj Singh
 



Archive powered by MHonArc 2.6.18.

Top of Page