MCPcopy Create free account
hub / github.com/Valdecy/pyCombinatorial / lines_intersection

Function lines_intersection

pyCombinatorial/algorithm/conc_hull.py:89–90  ·  view source on GitHub ↗
(a, b, c, d)

Source from the content-addressed store, hash-verified

87
88# Function: Check if Line Segments (a-b) and (c-d) Intersects
89def lines_intersection(a, b, c, d):
90 return bounding_boxes_intersection and line_segment_cross(a, b, c, d) and line_segment_cross(c, d, a, b)
91
92############################################################################
93

Callers 1

ConcaveHullFunction · 0.85

Calls 1

line_segment_crossFunction · 0.85

Tested by

no test coverage detected