checkIntersection.m
% This function is part of the NMSM Pipeline, see file for full license.
%
%
%
% (Array of double, Array of double, Array of double, Array of double)
% -> (logical)
% Use intersections() to check for intersections between lines.
function doesCrossZero = checkIntersection(x1, y1, x2, y2)
doesCrossZero = ~isempty(intersections(x1, y1, x2, y2));
end