Given line segments x1
, y1
, x2
, y2
, and circular arcs (defined with x1
, y1
, x2
, y2
, I
, j
; where I
is distance in the X direction from x1
to the center of the circle, j
is distance in the Y direction from y1
to the center of the circle; arcs with (x1,y1)
= (x2,y2)
are circles.), how do I find the coordinates of all points of intersection between a collection of these geometries?
Note: arcs can also be given as x1
, y1
, x2
, y2
, R
, with R
being radius, however I already have a mechanism for converting one into the other.
This is a project in Java, and I have not found any libraries or algorithms to determine this.
Determining the intersections between two line segments is simple, but the other cases are much more complex.