根据点到已知坐标的两点的距离 获取该点坐标
摘要:
publicclassTowerCraneLocate{publicstaticPoint[]GetCoordinate(intL1,intL2){if(L1<L2){returnnull;}elseif(L1==L2){Point[]points=newPoint[2];points[0].X=L2;points[0].Y=0;points[1].X=-L2;points[1].Y=0;returnpoints;}elseif(L2==0){Point[]points=newPoint[2];points[0].X=0;points[0].Y=L1;points[1].X=0;poin 阅读全文
posted @ 2011-02-25 08:59 项羽 阅读(747) 评论(0) 推荐(0) 编辑