how to detect self-intersection in a curve

Hi, is there a way to detect self-intersection in a curve? Any suggestions? Thanks a lot.

--Jim

altezza's picture

I found a partial solution: in case of 2d curve, we may use geom2dAPI_intercurvecurve.