Parameterization_mesh_feature_extractor.h alternative

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Parameterization_mesh_feature_extractor.h alternative

Zohar
There used to be a file Parameterization_mesh_feature_extractor.h with useful
functions such as get_nb_borders and get_genus. What's the alternative?



--
Sent from: http://cgal-discuss.949826.n4.nabble.com/

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss


Reply | Threaded
Open this post in threaded view
|

Re: Parameterization_mesh_feature_extractor.h alternative

MaelRL

Hello,

There is an(undocumented) function number_of_borders (https://github.com/CGAL/cgal/blob/b3fbbdfd835de830650009b140089ce578dc95bc/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/border.h#L241) that will work on models of the HalfedgeGraph concept.

I don't think there is any nicely accessible function for genus, but you have everything you want once have the number of connected components (https://github.com/CGAL/cgal/blob/d9406324716e29f862a74a6c04ed9c0a3d959d34/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/connected_components.h#L212) and the number of borders, see https://github.com/CGAL/cgal/blob/c68cf8fc4c850f8cd84c6900faa781286a7117ed/Surface_mesher/archive/include/CGAL/enriched_polyhedron.h#L744.

Best,
Mael

On 2019-02-23 21:57, Zohar wrote:
There used to be a file Parameterization_mesh_feature_extractor.h with useful
functions such as get_nb_borders and get_genus. What's the alternative?



--
Sent from: http://cgal-discuss.949826.n4.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: Parameterization_mesh_feature_extractor.h alternative

Zohar
I'll check it out, thanks.



--
Sent from: http://cgal-discuss.949826.n4.nabble.com/

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss