Hi people,
I'm hoping someone from Safe can provide some insight into how the volume calculator works. I've been tasked with calculating the volumes of a few things which may potentially contain solids with invalid geometries (not closed etc).
I was thinking that the VolumeCalculator would need a proper closed solid in order to calculate the volume, however, to my delight, I found that it worked on invalid solids as well.
My question though, is how does it figure out the volume. I've attached an example where I have removed a couple of surfaces from a box and then Coerced it back into a solid.
The VolumeCalculator returns a volume of 0.6667 m3 when two sides of the cube are removed.
Any inside knowledge on this would be great. @mark2atsafe @danatsafe?