Rename line_heading() to heading()
This commit is contained in:
parent
3e519568db
commit
559c1caa7b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue