polyTEM.spatial.stats.line_intersect¶
- polyTEM.spatial.stats.line_intersect(line1, line2)¶
find the intersecting points between two lines
- Parameters:
line1 (array) – array with shape (N,2) representing the X,Y values of the points of line 1 or array with shape (2,) representing the slope and intercept of line 1
line2 (array) – array with shape (N,2) representing the X,Y, values of the points of line 2 or array with shape (2,) representing the slope and intercept of line 2
- Returns:
x,y
- Return type:
point (array)