Newbie question: Intersecting Faces

For a project I'm doing, I'm trying to ascertain which library is the right library for me, and Open CASCADE is a natural candidate.
I'd like to see if I can determine the intersection of 2 planar object, on two different planes in the 3D space. And that this intersection would be a set of un-intersecting line-segments (edges.)
Would that easy to do in Open CASCADE?

Thanks for your patience,

liuhuiwei's picture

GeomAPI_IntSS intersector(surface1,surface2,1E-7);
if (intersector.IsDone()&&intersector.NbLines())
Do like this.But sometimes,two surfaces intersection,but test fail.