Skip to content

madaanpulkit/discrete_curvature_2d_manifolds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

discrete_curvature_2d_manifolds

This is a python implementation of the paper ''Discrete Differential-Geometry Operators for Triangulated 2-Manifolds'' (https://link.springer.com/chapter/10.1007/978-3-662-05105-4_2)

This contains a python notebook for interactive understanding. OFF files can be loaded from the 'Main' cell.

In order to run the python file

python discrete_curvature.py file_path

where file_path is the path of the OFF triangulated mesh file.

The generated curvatures for each vertex are stored in .npy files. Sample OFF files are uploaded for trials in the samples folder.

For now plotting can be done via the plot.py file in the repo https://github.com/Pranav-Jain/Curvatures-of-Triangulated-2-Manifolds can be used. Be careful of the file names it requires. In-repo plot support coming soon.

About

A python implementation of ''Discrete Differential-Geometry Operators for Triangulated 2-Manifolds'' (https://link.springer.com/chapter/10.1007/978-3-662-05105-4_2)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published