Geometry contains points test?


#1

Hello everyone,
I need to test whether points(many) are inside(contained) in a geometry or not, I have found the BoundingBox.Contains component, but it’s obviously restricted to boxes, what if I had an extrusion with an irregular base or a sphere for instance? How can I check if points are within it or not? resulting with a “bool” value if possible, thanks!

P.S. apologies for the annoyance if this is a stupid question, your patience is very much appreciated.


#2


#3

Thanks Vikram, totally solved it! :slight_smile: