public static bool LineSegmentIntersection(double fXOne, double fYOne, double fXTwo, double fYTwo, double fXThree, double fYThree, double fXFour, double fYFour, out double fXIntersect, out double fYIntersect)