MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / segment_intersection.py

File segment_intersection.py

geometry/segment_intersection.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""
2Given two line segments, determine whether they intersect.
3
4This is based on the algorithm described in Introduction to Algorithms

Callers

nothing calls this directly

Calls 3

segments_intersectFunction · 0.85
splitMethod · 0.80
PointClass · 0.70

Tested by

no test coverage detected