Cutting 2 curves in 3D

Hello forum,

trying to cut 2 Geom_Curves or splines in 3 dimensions, I found nothing comparable to the 2D-case.
There is Geom2dAPI_InterCurveCurve for the 2D-case but nothing comparable for GeomAPI in 3D.
only a GeomAPI_IntCS which is designated for curve-surface cutting !

What I need is CurveCurve.

Why the heck does it not exist ?

MCV

P G's picture

Use

GeomAPI_ExtremaCurveCurve

good luck

MCV's picture

Thank you , I thought about that too but I found a numeric solution on my own, using an adaptive optimization algorithm.

It is a sad fact, that quite a lot of OpenCascade-functionality must be swapped with own code implementation, due to the bad documentation or faulty source-code in OpenCascade.

Thank you anyway. If you know another alternative, please do no hesitate to let me know it.

Best Regards
MCV