Point within a shape...

Hi,

I am having trouble finding if a point is inside a 3d shape. I saw in the documentation that there are some contains functions that deal with checknig if a point is on a line or in a circle, etc. It seems there aren't any functions to do it for a solid 3d shape. Currently I have been experimenting with TopExp_Explorer and BRepExtrema_DistShapeShape to go through each edge, face of the shape and then comparing it to the minimum distance. However I can't find a way to do it. If anyone has been able to pull it off please let me know how Thanks!

Stephane Routelous's picture

Hi,

did you try BRepClass3d_SolidClassifier ?

Herb's picture

Hi Stephane and thanks for your tip!