Here’s the source code for my solid tools: GitHub - Eneroth3/eneroth-solid-tools: Solid operations for SketchUp.
It’s a quite old project and the code is somewhat messy. I’ve wanted to rewrite it at some point but haven’t found the time. Anyhow it can probably be helpful. There’s even a method specifically for checking if a point is within a solid.