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: Tue, 5 Jun 2018 21:46:25 +0530
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:eQ5+Ox/j2QeQxf9uRHKM819IXTAuvvDOBiVQ1KB42u0cTK2v8tzYMVDF4r011RmVBdids6oMotGVmpioYXYH75eFvSJKW713fDhBt/8rmRc9CtWOE0zxIa2iRSU7GMNfSA0tpCnjYgBaF8nkelLdvGC54yIMFRXjLwp1Ifn+FpLPg8it2O2+553ebx9UiDahfLh/MAi4oQLNu8cMnIBsMLwxyhzHontJf+RZ22ZlLk+Nkhj/+8m94odt/zxftPw9+cFAV776f7kjQrxDEDsmKWE169b1uhTFUACC+2ETUmQSkhpPHgjF8BT3VYr/vyfmquZw3jSRMMvrRr42RDui9b9mRx3miCkHOTA383zZhNJsg69Auh2tuwZyzpTIbI2JNvdzeL7Wc9MARWpGW8ZcTzFPAp6/b4sPFeoOJ+RYpJTgqVsPqxu+CgmsD/7oxz9Th3/226I60+Q7HQHdwQwgHNIOsG7Oo9X3L6oSXuW1w7PJzTXHdf9ZxTD96I3Rfx0nvPqCU7Vwcc/LxkkuEQPIlkmfqYP/MDORzOgNtHKb7+V4WeK0l24osR1+ojuoxscylIbJnIwVylTD9SR32oo6Odq4SEt9bNW5E5VQrzmXO5VqTs4mWW1luyY3xqcYtZKlciUG0okryhzcZvGBboOG+AjsVPyLLjd9nH9leKywhxK18UW4z+3zTMi00FJToipEldnAqmkB1xLO5sWFSfZx5Eih2TGI1wDc7uFLP1o4mrbcK54k2rIwl5wTvlrfHiLuhkn6kKubel8n9+Wo8ejrfKvqq5GGO4NpiAzzMbwimsmlDuQ5NggOUXKb+eO51LD75k35QbNKjvI2kqXDq5DaOMcbpq6jAwBP0IYu8Bm/DzK839QZmXkLNk5KeBWCj4TxIVHBPOj4Deujg1SriDpk2//GMaflApnUM3fDkazhcqpg605H0wo+1stf5pJRCrEZOv3/QE7xtNrCDh84KQO42ejnCM8unr8ZDGmAC6vcPKLJukKT/couJfONbckbomXTMf8gssXzjn8jkF1VRqiv0ptfPGu5GPtmZV6EYnr2i9UpHmIDvw54R+vv3g7RGQVPbmq/CvpvrgowD5irWN+aF9KdxYeZ1SL+JaV4I2VPC1SCC3DtLtzWVPIFaSbUKchkwGVdCeqRDrQ53BTrjzfUjqJ9J7ONqCIdvJPnktNy4r+LzExgxXlPF82Yllq1YSR0k2cPHWFk2al+pQl8zQ/G3/En07pXEttc4/4PWQA/Z8bR

The following post at Stack overflow provides solution to the same problem.
https://stackoverflow.com/questions/50199661/cgal-isotropic-remeshing-with-polyhedron-3



On Mon, Jun 4, 2018 at 10:43 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
 



--
Sukhraj Singh
 



Archive powered by MHonArc 2.6.18.

Top of Page