I have implemented line segments [intersetion test][1] and at the very same test I want to include the fact that if two line segments overlap each other partially or fully , it will be flagged as no intersection. Some hint to it would be great to have! [1]: https://computergraphics.stackexchange.com/questions/2362/line-segment-intersection-test-and-find-the-point-of-intersection