clifford.tools.g3c.iterative_closest_points_circle_line

clifford.tools.g3c.iterative_closest_points_circle_line(C, L, niterations=20)[source]

Given a circle C and line L this calculates the closest points on each of them to the other.

This is an iterative algorithm based on heuristics Nonetheless it appears to give results on par with closest_point_on_circle_from_line().

Changed in version 1.3: Renamed from closest_points_circle_line