inter_line_circle (method)

@package inter_line_circle @date Created on mars 16 09:58 2018 @author pierre_b

inter_line_circle(Z1, Z2, R)[source]

INTER_LINE_CIRCLE find the intersection between a circle of center(0, 0) and radius r with a line defined by two points

Parameters:
  • Z1 (complex) – Complex coordinate of a point on the line
  • Z2 (complex) – Complex coordinate of another point on the line
  • R (float) – Radius of the circle [m]
Returns:

Zlist – List of the complex coordinates of the intersection

Return type:

list