gkjohnson / three-bvh-csg

A flexible, memory compact, fast and dynamic CSG implementation on top of three-mesh-bvh
MIT License
552 stars 45 forks source link

Add utility for determining geometric volume #76

Closed gkjohnson closed 1 year ago

gkjohnson commented 1 year ago

Related to https://github.com/ifcjs/hello-world/issues/7

StackOverflow link to implementation overview.

Requirements

gkjohnson commented 1 year ago

cc @aka-blackboots - this seemed relevant to your clash detection contribution to IFCjs. With CSG + volume computation you could determine that amount of mesh penetration.