Hi
I have a CGAL Code that works for remeshing but when I want to use the same task in VESPA, it gives me nothing. does anybody else who can help me?
the results are shown below:
My code in CGAL:
My code in VESPA:

the output in cmd:
Hi
I have a CGAL Code that works for remeshing but when I want to use the same task in VESPA, it gives me nothing. does anybody else who can help me?
the results are shown below:
My code in CGAL:
@kimia_ghodoosi As I see you used the same target length for both your native CGAL code and the Vespa one, I assume the preprocess you do with split_long_edges
is the reason you don’t have the error in your version.
An easy fix would be to update the Vespa code with your own version to see if it works. A better approach would be to merge both. If you do so, please open a MR and I would be glad to update Vespa accordingly
Sorry, I wanted to use toCGAL method for converting my polydata to a CGAL mesh but it doesn’t work although i created an object like this vtkNew rm
could you please help me to convert a vtk polydata to a cgal surface mesh?
Regarding re-meshing, the closest thing you will find Delaunay. You can also have some decimation filters like the vtkQadricDecimation
, as shown here, but this is more re-meshing.
for the CGal conversion, you may have a look at the vtkCGALPolyDataAlgorithm::toCGAL
method here.
Keep in mind that this method is used when adding new filters into Vespa. Using the library, you simply need to set your polydata as input of your filter.