circles.intersect determines whether circles intersect with each other.
A matrix of coordinates containined the centroid of each circle.
A vector containing the radii of the circles. The have length equal to the number of rows of
The algorithm is based on the premise that two circles intersect if, and only if, the distance between their centroids is between the sum and the difference of their radii. I have squared the respective parts of the inequality in the implemented algorithm.
Returns a matrix of logical values indicating whether the circles intersect.
1 2 3 4 5 6 7 8