计算几何
xxxle
这个作者很懒,什么都没留下…
展开
-
POJ2079&&HDU2202Triangle(凸包和旋转卡壳)
凸包参考资料:https://blog.csdn.net/qq_30974369/article/details/76405546旋转卡壳参考资料:https://www.cnblogs.com/shangyu/p/3873876.htmlPOJ2079TriangleTime Limit: 3000MS Memory Limit: 30000K Total...原创 2019-08-08 14:16:30 · 222 阅读 · 0 评论 -
极角逆时针排序
#include<iostream>#include<cstdio>#include<algorithm>#include<cstring>#include<cmath>using namespace std;struct node{ int x,y;};node p[55];int cross(node a...转载 2019-08-08 15:18:54 · 361 阅读 · 0 评论 -
TOYS (向量叉积)
Calculate the number of toys that land in each bin of a partitioned toy box.Mom and dad have a problem - their child John never puts his toys away when he is finished playing with them. They gave Joh...原创 2019-08-07 16:29:03 · 399 阅读 · 0 评论 -
Segments(直线和线段的投影)
Given n segments in the two dimensional space, write a program, which determines if there exists a line such that after projecting these segments on it, all projected segments have at least one point ...原创 2019-08-07 19:31:33 · 1520 阅读 · 0 评论 -
Intersecting Lines(两条线段的位置关系)
平行不共线平行共线相交并求交点Intersecting LinesWe all know that a pair of distinct points on a plane defines a line and that a pair of lines on a plane will intersect in one of three ways: 1) no intersectio...原创 2019-08-07 20:37:22 · 671 阅读 · 0 评论