# inter_line_line (method)¶

@package inter_line_line @date Created on aug 08 09:58 2018 @author pierre_b

inter_line_line(Z1, Z2, Z3, Z4)[source]

INTER_LINE_LINE find the intersection between two lines defined by two complex

Parameters: Z1 (complex) – Complex coordinate of a point on the first line Z2 (complex) – Complex coordinate of another point on the first line Z3 (complex) – Complex coordinate of a point on the second line Z4 (complex) – Complex coordinate of another point on the second line Zlist – List of the complex coordinates of the intersection return [Z1, Z2] if the 4 points are aligned list
find_line_eq(Z1, Z2)[source]

Find the line equation (Ax+By=C)

Parameters: Z1 (complex) – Complex coordinate of a point on the line Z2 (complex) – Complex coordinate of another point on the line A, B, C – Line equation parameters (float, float, float)