摘要: 圆与多边形的面积交 https://onlinejudge.u-aizu.ac.jp/courses/library/4/CGL/7/CGL_7_H int sgn(double x) { if(fabs(x)<eps)return 0; return x<0?-1:1; } struct Poin 阅读全文
posted @ 2021-09-15 22:55 LaiYiC 阅读(62) 评论(0) 推荐(0) 编辑
摘要: 两个圆的切线与切点 https://onlinejudge.u-aizu.ac.jp/courses/library/4/CGL/7/CGL_7_G int sgn(double x) { if(fabs(x)<eps)return 0; return x<0?-1:1; } struct Poin 阅读全文
posted @ 2021-09-15 20:38 LaiYiC 阅读(381) 评论(0) 推荐(0) 编辑
摘要: 点到圆的切点 https://onlinejudge.u-aizu.ac.jp/courses/library/4/CGL/7/CGL_7_F int sgn(double x) { if(fabs(x)<eps)return 0; return x<0?-1:1; } struct Point { 阅读全文
posted @ 2021-09-15 16:25 LaiYiC 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 两圆交点 https://onlinejudge.u-aizu.ac.jp/courses/library/4/CGL/7/CGL_7_E int sgn(double x) { if(fabs(x)<eps)return 0; return x<0?-1:1; } struct Point { / 阅读全文
posted @ 2021-09-15 12:43 LaiYiC 阅读(131) 评论(0) 推荐(0) 编辑