计算几何模板
摘要:
/** * 二维ACM计算几何模板 * 注意变量类型更改和EPS * #include * #include * By OWenT */const double eps = 1e-8;const double pi = std::acos(-1.0);//点class point{public: double x, y; point() {}; point(double x, double y):x(x),y(y) {}; static int xmult(const point &ps, const point &pe, const point &po) {... 阅读全文
posted @ 2013-09-15 09:44 雨钝风轻 阅读(148) 评论(0) 推荐(0) 编辑