随笔分类 -  计算几何:凸包

摘要:前置知识:计算几何基础 找凸包: vector<P> convex(vector<P> l) { vector<P> ans, s; P tmp(lim, lim); int pos = 0; for (int i = 0; i < l.size(); i++) if (l[i] < tmp) tm 阅读全文
posted @ 2019-07-30 14:15 rentu 阅读(242) 评论(0) 推荐(0)