Files
segment-intersection
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
A program that given 4 vectors ( A, B, C and D ), determines if AB intersects CD. INPUT: Four lines, each one containing the coordinates( x, y ) of a vector. eg: 1 5 OUTPUT: T if AB intersects CD. F if AB does not intersect CD. http://en.wikipedia.org/wiki/Line_segment_intersection