求两个直线交点
inline point jiaodian(line x,line y) { point hu=x.x-y.x; double gu=(y.y*hu)/(x.y*y.y); return x.x+(x.y*gu); }