File Exchange

image thumbnail

Segments Intersection Test Functions

version 1.0 (9.63 KB) by

Functions that count the intersections among 2-D segments. Special cases are accounted for.



View License

These routines count the number of intersections among 2-D segments.
With easy changes, the routines may also return the intersection point coordinates.

Implementation of the routines is in MEX C code, so that the routines are pretty fast.

Special cases (e.g. collinear, parallel or overlapping segments) are accounted for.

Comments and Ratings (0)

MATLAB Release
MATLAB 7.11 (R2010b)

Inspired by: Fast Line Segment Intersection

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Win prizes and improve your MATLAB skills

Play today