How to decide a whether or not a point is contained in a face or a solid?

Is there simple way to solve it?

Thanks a lot.

Stephane Routelous's picture

BRepClass_FaceClassifier for point in a face
BRepClass3d_SolidClassifier for a point in a solid

Stephane
http://www.exotk.org

Gerhard Hofmann's picture

Hi Stephane,
I cant find this packeges/classes in OpenCascade 5.2. Do they belong to some additional components?
Gerhard

Stephane Routelous's picture

Hi Gerhard,

They are in my OpenCASCADE 5.2 (OpenSource) installation in :
U:\OpenCASCADE5.2\ros\src\BRepClass
and
U:\OpenCASCADE5.2\ros\src\BRepClass3d
They should belong to TKTopAlgo toolkit (dll)

HTH,

Stephane

Gerhard Hofmann's picture

Hi Stephane,

thanks alot, there seems to be a treasure in the source files which is not documented! I was looking in the documentation and found not a single word about BRepClass3d/BRepClass.

Gerhard

Ming's picture

Hi Stephane
That's great. I've solved the problem. Thanks a lot.

Ming

M.Saravanakumar's picture

Hi Ming!
How to add Modeless dialog in Opencascade Viewer 3d Appwizard? like the one given in examples! I tried it lot of times, but can't get it correct.