Determining Intersection of Two Line Segments in the Same Plane
Algorithm for detecting whether two coplanar line segments intersect, share endpoints, or are completely disjoint
Explore MATLAB source code curated for "两线段" with clean implementations, documentation, and examples.
Algorithm for detecting whether two coplanar line segments intersect, share endpoints, or are completely disjoint