in/out of the closed body

Hi, folks.

I'm looking for a way to check a given position is interior or exterior to the closed shell.

the only way i can think as now is considering normal vectors of all the boundary fases with regard to given point.

Is there anyone that knows about the APIs that checking in/out of closed shell or about the algorithms for this ?


tmacedo29's picture

Hi UlikeM,

I'm not sure if I understood your problem, even so, if you are trying to classify a point according a solid, you could use BRepClass3d_SolidClassifier; its methods will make you able to check if a point is IN/ON/OUT a solid.

I hope this will help

kms05's picture

Hi, Thiago Macedo

Thanks for your reply. That's exactly what i found.

Thanks again.