Open andrea-bistacchi opened 1 year ago
Is this not already implemented? Since the switch to pyvista for 2D windows if there are polygons in the project they should be plotted without any problem.
I have tried vtkContourTriangulator and it works wonderfully.
We do not have class for polygons
True but aren't polygons at the end represented as triangulated surfaces (using vtkContourTriangulator)? Should we then make a class distinction between Polygons and TriSurfs?
We might think about this. They'll have different functions in modelling and different methods perhaps.
It would be nice to be able to show polygons in map and cross sections, and also to carry out areal interpretation on DOMs.
This can be useful:
How to triangulate polygon with holes?