Mon, 04/18/2022 - 07:48
Forums:
Dear OCCT,
Now I'm looking for the way to find the intersect point between line and plane.
The line could be described by gp_Vec,
and the plane could be described by gp_Pln.
If there is no any function related to them, I need to implement it myself.
Please help me!
Mon, 04/18/2022 - 09:46
Hi David,
You should define a line by gp_Lin object, because gp_Vec is a data structure to store the direction only without any origin point.
After that, you may use IntAna_IntConicQuad algorithm to intersect a line and a plane.
Best regards,
Artem
Mon, 04/18/2022 - 10:30
Dear Artem,
You saved my time!! Thank you so much :)