Skip to content
Snippets Groups Projects
Commit 54a01277 authored by Davis, Duane T's avatar Davis, Duane T
Browse files

GEOMETRY: Bug fix in LineSegment.direction_from

parent 35f5339c
No related branches found
No related tags found
No related merge requests found
......@@ -335,7 +335,7 @@ class LineSegment(Geometry):
return rm.bearing_to(closest, point)
def directionFrom(self, x, y):
def directionFrom(self, point):
''' Determines the direction (radians) to this LineSegment
from a point specified in Cartesian space. If the point is
on the LineSegment, 0.0 is returned.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment