Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

计算几何——叉积

Posted by yc5_yc at 2012-07-11 22:12:18 on Problem 2318
http://www.cppblog.com/shiming413/archive/2007/08/21/30494.html
这个网址讲得比较好,但其中没有讲结果大于〇或小于〇的方向问题,后来经研究发现,设点A,与线段BC
AB x AC>0 AC在AB的逆时针方向
AB x AC<0 AC在AB的顺时针方向
这样我们搭配上二分,水题就迎刃而解了!

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator