Hi, I'm trying to install this binding, and my only usage is the pmp.refine function. I tested the function with test_pmp.py but it turns out that at line 58, outf and outv are always empty. I'm wondering is this because the make is not successful? Because I never succeeded in building the whole project, but python test_pmp.py works somehow so I assume building for what I need to run pmp.refine succeeds.
The error message is as follows:
/Users/cgal-swig-bindings/examples/python/CGAL/CGAL_ClassificationPYTHON_wrap.cxx:4270:39: error: call to constructor of 'Feature_set_wrapper<CGAL_Feature_set, Feature_wrapper>::Feature' (aka 'Feature_wrapper') is ambiguous
resultobj = SWIG_NewPointerObj((new Feature_set_wrapper< CGAL_Feature_set,Feature_wrapper< CGAL_Feature > >::Feature(result)), SWIGTYPE_p_Feature_wrapperT_CGAL_Feature_t, SWIG_POINTER_OWN | 0 );
^ ~~
/Users/cgal-swig-bindings/examples/python/CGAL/CGAL_ClassificationPYTHON_wrap.cxx:1084:89: note: expanded from macro 'SWIG_NewPointerObj'
In addition, in order to give the correct input to pmp.refine, I currently use a P = Polyhedron_3(filename). To make it cleaner, I actually want to give an array of vertices and faces to make a Polyhedron_3() object. I'm wondering would anyone mind giving an example of how to use an array or a python list of vertices and faces as input and get a Polyhedron_3() object?
Hi, I'm trying to install this binding, and my only usage is the pmp.refine function. I tested the function with test_pmp.py but it turns out that at line 58, outf and outv are always empty. I'm wondering is this because the make is not successful? Because I never succeeded in building the whole project, but python test_pmp.py works somehow so I assume building for what I need to run pmp.refine succeeds.
The error message is as follows:
In addition, in order to give the correct input to pmp.refine, I currently use a P = Polyhedron_3(filename). To make it cleaner, I actually want to give an array of vertices and faces to make a Polyhedron_3() object. I'm wondering would anyone mind giving an example of how to use an array or a python list of vertices and faces as input and get a Polyhedron_3() object?
Thank you in advance!!