Geometry_Engine: Mesh.Volume query for nonmanifold meshes
- Dominant language
- C#
- Stars
- 30
- Forks
- 13
- Avg merge
- 7d 10h
- Merged PRs (30d)
- 5
Description
#### Description:
As discussed with @IsakNaslundBh, `Query.Volume(Mesh)` method yields correct results only when the mesh is manifold. However, in some scenarios it is desirable to return a value even for nonmanifold meshes (in real life scenarios meshes often have glitches and/or small gaps that do not affect the volume significantly). Therefore, in the current implementation only a warning is raised in case of nonmanifold topology, which may be a bit dangerous to less experienced users, who may simply miss the message.
As a remedy for the above, we discussed an extra Boolean method parameter, e.g. `validateInputs` that would control whether a warning or an error should be raised for nonmanifold meshes. Discussion to continue as this should not be an isolated decision, but rather a framework-wide implementation.
Contributor guide
Assessment
This issue has not been assessed yet.