Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:弱弱的问一句, 知道A, B的坐标怎么求出C, D的坐标哇~~In Reply To:弱弱的问一句, 知道A, B的坐标怎么求出C, D的坐标哇~~ Posted by:c__ at 2011-03-09 22:09:29 如果A(x1, y1), B(x2, y2) ,则C(x3, y3),D(x4, y4) 为: x3=x1+(y1-y2);y3=y1-(x1-x2); (在直线AB上方) x4=x2+(y1-y2);y4=y2-(x1-x2) 或: x3=x1-(y1-y2);y3=y1+(x1-x2); (在直线AB下方) x4=x2-(y1-y2);y4=y2+(x1-x2) Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator