4 ms·
For the following example it just goes on generating a never-end sequence of calls: def point_line_projection(line,point): """Returns the perpendicular pro
by yazzku 4y ago
For the following example it just goes on generating a never-end sequence of calls:
def point_line_projection(line,point):
"""Returns the perpendicular projection of the point on the line."""
return line.point_projection(point)
def line_intersection(line1,line2):
"""Returns the intersection point of two lines."""
return line1.intersection(line2)
def line_intersection_point(line1,line2):
"""Returns the intersection point of two lines."""
return line1.intersection_point(line2)
def line_intersection_point_line(line1,line2):
"""Returns the intersection point of two lines."""
return line1.intersection_point_line(line2)
def line_intersection_point_line_parallel(line1,line2):
"""Returns the intersection point of two lines."""
return line1.intersection_point_line_parallel(line2)
def line_intersection_point_line_parallel_point(line1,line2,point):
"""Returns the intersection point of two lines."""
return line1.intersection_point_line_parallel
...