habitat-sim
habitat-sim copied to clipboard
--Provide mesh surface area, volume and topology tools
trafficstars
Motivation and Context
This PR will provide mesh surface area and volume calculations for watertight manifold meshes. It also tests the mesh topology to note whether or not ever edge is adjacent to exactly 2 faces (closed/watertight and manifold). TODO : Currently needs bindings to access values and config-driven boolean to potentially gate calculation.
How Has This Been Tested
Types of changes
- [ ] Docs change / refactoring / dependency upgrade
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist
- [x] My code follows the code style of this project.
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
- [x] I have read the CONTRIBUTING document.
- [x] I have completed my CLA (see CONTRIBUTING)
- [ ] I have added tests to cover my changes.
- [x] All new and existing tests passed.