inter_line_circle (method)

inter_line_circle(Z1, Z2, R, Zc=0)[source]

INTER_LINE_CIRCLE find the intersection between a circle of center Zc 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]

  • Zc (complex) – Complex coordinate of the center

Returns

Zlist – List of the complex coordinates of the intersection

Return type

list