Skip to content

moments of mass#2027

Merged
alecjacobson merged 1 commit intomainfrom
alecjacobson/moments
Apr 19, 2022
Merged

moments of mass#2027
alecjacobson merged 1 commit intomainfrom
alecjacobson/moments

Conversation

@alecjacobson
Copy link
Copy Markdown
Contributor

Computer moment of inertia and other mass moments given triangle mesh.

igl::centroid should probably just call this function and ignore outputs.

We could also make a igl::volume(V,F,scalar_volume) overload that computes the volume of triangle mesh.

Fixes #1507 in a way. igl::centroid was always an awkward name for getting a solid's volume.

@alecjacobson alecjacobson merged commit 238a607 into main Apr 19, 2022
@alecjacobson alecjacobson deleted the alecjacobson/moments branch April 19, 2022 21:48
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

Successfully merging this pull request may close these issues.

find the volume of figures

1 participant