
计算几何
Ink__Bamboo
心安则无事,心静则踏实,coding coding coding!!!
展开
-
几何问题的基本实现
点积,两个向量v和w,的点积等于原创 2014-04-24 21:49:19 · 650 阅读 · 0 评论 -
判断两条线段相交的实验
这里用到了快速排斥实验,跨立实验,两个操作来判断线段相交,快速排斥实验的母的原创 2014-05-01 11:03:34 · 1016 阅读 · 0 评论 -
hdu1147
Pick-up sticksTime Limit : 6000/3000ms (Java/Other) Memory Limit : 131072/65536K (Java/Other)Total Submission(s) : 5 Accepted Submission(s) : 2Problem DescriptionStan has n sticks原创 2014-04-26 11:48:34 · 725 阅读 · 0 评论 -
hdu1086
You can Solve a Geometry Problem tooTime Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 6 Accepted Submission(s) : 4Problem Description原创 2014-04-26 09:55:16 · 668 阅读 · 0 评论 -
zoj1081
Points WithinTime Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 24 Accepted Submission(s) : 7Problem DescriptionStatement of the Pr原创 2014-04-27 16:03:46 · 843 阅读 · 0 评论 -
poj1654
DescriptionYou are going to compute the area of a special kind of polygon. One vertex of the polygon is the origin of the orthogonal coordinate system. From this vertex, you may go step by step to原创 2014-04-26 15:23:08 · 575 阅读 · 0 评论 -
hdu4709
HerdingTime Limit : 2000/1000ms (Java/Other) Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 11 Accepted Submission(s) : 4Problem DescriptionLittle John is herding hi原创 2014-04-26 22:47:02 · 772 阅读 · 0 评论 -
极角排序
前两天做个题,一直WA,不知道是不是因为极角排序用的atan2伤精度的问题,其实我觉得不应该 T T。。这里讲了几种极角排序方法,http://www.csie.ntnu.edu.tw/~u91029/PointLinePlane2.html,我这里只说下atan2还有象限排序。因为纯粹叉积是不能排360度的,所以需要改一些东西。atan2是按向量排序的,这个很好啊,可是就转载 2014-04-27 09:42:05 · 580 阅读 · 0 评论