我有两条线在一点交叉.我知道这两行的终点.如何计算Python中的交叉点?
# Given these endpoints #line 1 A = [X, Y] B = [X, Y] #line 2 C = [X, Y] D = [X, Y] # Compute this: point_of_intersection = [X, Y]
python geometry line intersect
geometry ×1
intersect ×1
line ×1
python ×1