Inside/Outside Solid.

Is there a way of quickly testing if a point ( x,y,z ) lies inside or outside a model.

Thanks

Fabian Hachenberg's picture

Have a look at BOP_SolidClassifier

Jane Hu's picture

Now occ6.6.0 doesn't have BOP directory, where has this code been moved to ? Thanks.

Forum supervisor's picture

Dear,
Packages BOP, BooleanOperations and BOPTools has been completely refactored.
Check, please OCCT660 Release Notes (chapter "Modeling algorithms").
Regards

Jane Hu's picture

Thanks, Forum supervisor. I went checked the release note, it didn't point out where the BOP directory has been refactored to. I checked all BOP* directory, didn't find the one I needed. I want BOP_SolidClassifier, can you point it out? Thanks a bunch!

Forum supervisor's picture

Dear Jane,
Refactoring means that some internal classes may disappear.
New algorithm uses class BRepClass3d_SolidClassifier instead the old classifier.
See for example the BOPAlgo_BuilderSolid.cxx file.
Regards

Jane Hu's picture

Thanks a lot, Forum supervisor. This is just want I wanted.