I need to write a simple test program in C++ and I would like to ask for some assistance.
The program should do the following:
given a list of points ( in 3d or 2d space ) and a model ( say, in STEP format ),
for each point determine whether or not it belongs to some part of the model,
i.e. whether or not the point lies somewhere in a space, occupied by the model.
( for the 2d case, a picture is attached )
Using an [url=http://www.opencascade.org/doc/occt-6.7.1/overview/html/occt_user_guides..., I have managed to read a STEP file.
Unfortunately, I don't know how to proceed further. I need some advice on the following questions:
1) What is the correct way to represent a point in 3d or 2d space in OCC?
2) How do I test whether or not this point belongs to a model?
I've tried to search [url=http://dev.opencascade.org/doc/refman/html/index.html]documentation[/url], but without much success.