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: Sukhraj Singh <>
  • To:
  • Subject: Re: [cgal-discuss] Using PMP Mesh Processing with Polyhedron type.
  • Date: Mon, 4 Jun 2018 22:43:25 +0530
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:sBCNJhbgQL8dRxVkNaDlV9L/LSx+4OfEezUN459isYplN5qZoMq7bnLW6fgltlLVR4KTs6sC17KL9fi4EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQpFiCa9bL9oMBm6sRjau9ULj4dlNqs/0AbCrGFSe+RRy2NoJFaTkAj568yt4pNt8Dletuw4+cJYXqr0Y6o3TbpDDDQ7KG81/9HktQPCTQSU+HQRVHgdnwdSDAjE6BH6WYrxsjf/u+Fg1iSWIdH6QLYpUjmk8qxlSgLniD0fOjE7/mHZisJ+gqFGrhy/uxNy2JTbbJ2POfdkYq/RYdEXSGxcVchRTSxBBYa8YpMSAeocPuZYr5P9qEEMrRCjGAesBeXvyjBIhnTr2qA6yOUhEQfJ3AwgBd4Oq2nUrNb1NKcIS++1zrLFzTrGb/xM2Df97JLEfQwmofGJRL99d9fax0coFwPAlFqQqIrlMiuJ2eQCqWeb6/BsVeW1i24orQx6vzuhxt80h4XXmo4YzkrI+CZ5zYovO9G0VkB2bcS5HJZUtyyXMZZ9TNk4TGFyoik6z6ULuZ6lcygOz5Qq3xvfZOaGc4iM+x7jVeGRLSthiHJrZb6ygxa//VKvyu37Ucm031JKoTRfntbQsXAN0gTf6smBSvRj4keswSiD2xzX5+1eIk05lbDXJ4A/zrM+jJYfrEDOEy/ulEXzlqCWd0Ek+uay6+TgZ7XrvoScN45yigHxMqQigNe/Afk7MggORWiU4+a82abs/U38WrpKj/k2nrPFv5DdIMQXvrS5DBNN0oY/9xa/CC+r38gXnXYdKFJJYQ+Ij4nyO17SPfD4Fuy/jk+3kDZrwvDGJqfuDo/MLnjFirfhfKxy51RSyAopnphj4MdfBbgFZf7yQUTsr8fwDxkjMgXyzfy0Js9609YlRGGPGKabeJjTt1CIrrY0Iu+DZMkOpTX9MfEnz/HrhH4931QaeP/6jtMsdHmkE6E+cA2ian32j4JZSDZYjk8FVOXvzWa6f3tWbne2Ubg742hiWo2jBIbHAIuqhe7YhXvpLthtfmlDT2u0PzLwbYzdAqUDbSuTJolqlTlWDeH8Gb9k7gmnsUrB85QiLufQ/XdG55fq1dww5uqL0B9rpGEyAMOa3GWACWpzmzFQSg==

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