is there a function to detect any intersection between straight line and arc?
Given that both of the objects are Lines...
the axl_ol_ol2 function is able to detect straight line and straight line intersection only.
That function merely fixes axl_ol_ol, as you have found. What is needed is more robust function that can compare any two segments and return nil (if there is no intersection) or a list of intersection points, after you screened out the special cases where the lines or arcs are identical. Should easily be handled by basic trigonometry and some equation-solving.
line-line -- nil or 1 intersection point
line-arc -- nil or 1 or 2 i-points
arc-line -- nil or 1 or 2 i-points
arc-arc -- nil or 1 or 2 i-points
rusty former Cadence guru