{"title":"凸多边形包含:将二次方时间改进为近似线性时间","authors":"Timothy M. Chan, Isaac M. Hair","doi":"arxiv-2403.13292","DOIUrl":null,"url":null,"abstract":"We revisit a standard polygon containment problem: given a convex $k$-gon $P$\nand a convex $n$-gon $Q$ in the plane, find a placement of $P$ inside $Q$ under\ntranslation and rotation (if it exists), or more generally, find the largest\ncopy of $P$ inside $Q$ under translation, rotation, and scaling. Previous algorithms by Chazelle (1983), Sharir and Toledo (1994), and\nAgarwal, Amenta, and Sharir (1998) all required $\\Omega(n^2)$ time, even in the\nsimplest $k=3$ case. We present a significantly faster new algorithm for $k=3$\nachieving $O(n$polylog $n)$ running time. Moreover, we extend the result for\ngeneral $k$, achieving $O(k^{O(1/\\varepsilon)}n^{1+\\varepsilon})$ running time\nfor any $\\varepsilon>0$. Along the way, we also prove a new $O(k^{O(1)}n$polylog $n)$ bound on the\nnumber of similar copies of $P$ inside $Q$ that have 4 vertices of $P$ in\ncontact with the boundary of $Q$ (assuming general position input), disproving\na conjecture by Agarwal, Amenta, and Sharir (1998).","PeriodicalId":501570,"journal":{"name":"arXiv - CS - Computational Geometry","volume":"50 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-03-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Convex Polygon Containment: Improving Quadratic to Near Linear Time\",\"authors\":\"Timothy M. Chan, Isaac M. Hair\",\"doi\":\"arxiv-2403.13292\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"We revisit a standard polygon containment problem: given a convex $k$-gon $P$\\nand a convex $n$-gon $Q$ in the plane, find a placement of $P$ inside $Q$ under\\ntranslation and rotation (if it exists), or more generally, find the largest\\ncopy of $P$ inside $Q$ under translation, rotation, and scaling. Previous algorithms by Chazelle (1983), Sharir and Toledo (1994), and\\nAgarwal, Amenta, and Sharir (1998) all required $\\\\Omega(n^2)$ time, even in the\\nsimplest $k=3$ case. We present a significantly faster new algorithm for $k=3$\\nachieving $O(n$polylog $n)$ running time. Moreover, we extend the result for\\ngeneral $k$, achieving $O(k^{O(1/\\\\varepsilon)}n^{1+\\\\varepsilon})$ running time\\nfor any $\\\\varepsilon>0$. Along the way, we also prove a new $O(k^{O(1)}n$polylog $n)$ bound on the\\nnumber of similar copies of $P$ inside $Q$ that have 4 vertices of $P$ in\\ncontact with the boundary of $Q$ (assuming general position input), disproving\\na conjecture by Agarwal, Amenta, and Sharir (1998).\",\"PeriodicalId\":501570,\"journal\":{\"name\":\"arXiv - CS - Computational Geometry\",\"volume\":\"50 1\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2024-03-20\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"arXiv - CS - Computational Geometry\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/arxiv-2403.13292\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Computational Geometry","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2403.13292","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Convex Polygon Containment: Improving Quadratic to Near Linear Time
We revisit a standard polygon containment problem: given a convex $k$-gon $P$
and a convex $n$-gon $Q$ in the plane, find a placement of $P$ inside $Q$ under
translation and rotation (if it exists), or more generally, find the largest
copy of $P$ inside $Q$ under translation, rotation, and scaling. Previous algorithms by Chazelle (1983), Sharir and Toledo (1994), and
Agarwal, Amenta, and Sharir (1998) all required $\Omega(n^2)$ time, even in the
simplest $k=3$ case. We present a significantly faster new algorithm for $k=3$
achieving $O(n$polylog $n)$ running time. Moreover, we extend the result for
general $k$, achieving $O(k^{O(1/\varepsilon)}n^{1+\varepsilon})$ running time
for any $\varepsilon>0$. Along the way, we also prove a new $O(k^{O(1)}n$polylog $n)$ bound on the
number of similar copies of $P$ inside $Q$ that have 4 vertices of $P$ in
contact with the boundary of $Q$ (assuming general position input), disproving
a conjecture by Agarwal, Amenta, and Sharir (1998).