判断重心在每条凸包边上的的垂足是否在凸包边上,计算几何一般思路很清晰,就是实现起来有点烦,这里错一点,那里错一点,所以,以后决定要把几何题放最后做了第一种方法:求出垂足再判断#include<stdio.h>#include<string.h>#include<math.h>#include<algorithm>using namespace std;const double eps = 1e-8;struct point { double x,y; point operator - (const point& t) const { po Read More
posted @ 2011-10-18 11:07
Because Of You
Views(444)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号