摘要:
判断两直线p1p2与q1q2是否相交,用向量叉积来判断如果P x Q >0,则P在Q的顺时针方向;如果P x Q #include #include #include #include typedef struct node{ double x,y;}point;point p1,p2,q1,... 阅读全文
posted @ 2014-07-18 20:31
那个人-
阅读(1786)
评论(0)
推荐(0)