From 559c1caa7b04b982d9593012900f4ac1837e54bb Mon Sep 17 00:00:00 2001 From: XANTRONIX Industrial Date: Sat, 22 Mar 2025 14:39:58 -0400 Subject: [PATCH] Rename line_heading() to heading() --- lib/xmet/geo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/xmet/geo.py b/lib/xmet/geo.py index 45fea3f..50c0509 100644 --- a/lib/xmet/geo.py +++ b/lib/xmet/geo.py @@ -57,7 +57,7 @@ class PointSequence(list): 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 dy = p2.y - p1.y