plane-plane intersection

Hello,
I'm looking for a function to perform intersection
of two planes(gp_Pln). I would appreciate any help.

Thanks,
Vasileios

Sharjith Naramparambath's picture

Create a Geom_Plane from each of the gp_pln. Geom_Plane is a Geom_Surface so you can check the intersection between 2 Geom_Planes using GeomInt_IntSS.

jelle's picture

Cool. If I can pick your brain some more; would you perhaps know the call for a gp_Lin / gp_Pln intersection?

Thanks,

-jelle

Sharjith Naramparambath's picture

Check out GeomAPI_IntCS. It gives you the intersection between a Geom_Curve and a Geom_Surface. Create Geom_Line from gp_Lin and Geom_Plane from gp_Pln and use the mentioned class.

jelle's picture

terrific, thanks...

Vasileios G. Giannopoulos's picture

Thank you very much.