如何确定两条线是否相交,如果它们相交,在x,y点处是什么?
geometry line-intersection
我有两条线在一点交叉.我知道这两行的终点.如何计算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 ×2
intersect ×1
line ×1
line-intersection ×1
python ×1