IntersectCurve

Is there a way to determine at what point the line intersects the curve of any type(line, arc, circle, spline)?

Maybe do it with some tessellation?

SolidworksApi macros