摘要: const double eps = 1e-8;struct Point{ double x,y; Point(double tx = 0,double ty = 0) : x(tx),y(ty){}};typedef Point Vtor;//向量的加减乘除Vtor operator + (Vtor A,Vtor B) { return Vtor(A.x + B.x,A.y + B.y); }Vtor operator - (Point A,Point B) { return Vtor(A.x - B.x,A.y - B.y); }Vtor operator * (Vtor A,... 阅读全文
posted @ 2013-07-12 22:12 E_star 阅读(413) 评论(0) 推荐(0) 编辑