Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Curvature #2148

Open
HametAl opened this issue Feb 12, 2024 · 1 comment
Open

Curvature #2148

HametAl opened this issue Feb 12, 2024 · 1 comment

Comments

@HametAl
Copy link

HametAl commented Feb 12, 2024

Sorry for my dumb question. I want to compute gaussian curvature and mean curvature at a given point. I tried to use trimesh.curvature.discrete_gaussian_curvature_measure(mesh, points, radius) and trimesh.curvature.discrete_mean_curvature_measure(mesh, points, radius). I read the article "Restricted Delaunay triangulations and normal cycle’- Cohen-Steiner and Morvan", but couldn't understand what exactly are the points and radius. Is radius equivalent to 0.08lfs or lfs itself? Also, what are the points? Are they surface points withing the the radius (0.08lfs or lfs) from the centre of the sphere? Can someone explain please?

@HametAl
Copy link
Author

HametAl commented Feb 16, 2024

Should the points in trimesh.curvature.discrete_gaussian_curvature_measure(mesh, points, radius) be vertices of the mesh or can be any samples points on the mesh?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant