Rename line_heading() to heading()

This commit is contained in:
XANTRONIX 2025-03-22 14:39:58 -04:00
parent 3e519568db
commit 559c1caa7b

View file

@ -57,7 +57,7 @@ class PointSequence(list):
return indices[0][0] return indices[0][0]
def line_heading(p1: shapely.Point, p2: shapely.Point) -> float: def heading(p1: shapely.Point, p2: shapely.Point) -> float:
dx = p2.x - p1.x dx = p2.x - p1.x
dy = p2.y - p1.y dy = p2.y - p1.y