计算几何: 直线交点: #include<cstdio> using namespace std; struct node { double x,y; node(,):x(x),y(y){ } }a,b,c,d,e,f,p,q,r; node operator-(node u,node v){return node(u.x-v.x,u.y-v.y);} node operator+(node u,node v){return node(u.x+v.x,u.y+v.y);} node opera…