Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def closest_edge_point_to_point(self, edge, point):
return vector.closest_point_on_line(point, self.points[edge.a], self.points[edge.b])
def closest_edge_point_to_point(self, edge, point):
return vector.closest_point_on_line(point, self.points[edge.a], self.points[edge.b])