You can try to append a bunch of coordinate points to an array and make two other arrays around this as loci and then look for intersects by expanding a variable about the matches in each array.