摘要:
1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 7 struct Tpoint{ 8 double x, y, z; 9 };10 11 inline double length(Tpoint A, Tpoint B){12 double x = A.x - B.x, y = A.y - B.y, z = A.z - B.z;13 return sqrt(x * x + y * y + z * z);14 }15 16 inline double across(Tpoi... 阅读全文
posted @ 2013-07-13 22:44
Oyking
阅读(240)
评论(0)
推荐(0)

浙公网安备 33010602011771号