You've got another geometrical task. You are given two non-degenerate polygons. B is an arbitrary polygon without any self-intersections and self-touches. The vertices of both polygons are given in the clockwise order. For each polygon no three consecutively following vertices are located on the same straight line.
You've got another geometrical task. You are given two non-degenerate polygons A A and B B as vertex coordinates. Polygon A A is strictly convex. Polygon B B is an arbitrary polygon without any self-intersections and self-touches. The vertices of both polygons are given in the clockwise order. For each polygon no three consecutively following vertices are located on the same straight line. Your task is to check whether polygon B B is positioned strictly inside polygon A A. It means that any point of polygon B B should be strictly inside polygon A A. "Strictly" means that the vertex of polygon B B cannot lie on the side of the polygon A. A.
![HBC233737[SCOI2003]切割多边形,枚举,状压dp,计算几何,动态规划Polygons题解
-第1张图片-东莞河马信息技术 HBC233737[SCOI2003]切割多边形,枚举,状压dp,计算几何,动态规划Polygons题解
-第1张图片-东莞河马信息技术](https://www.xxstcz.com/zb_users/upload/2023/11/20231113091802169983828267141.jpeg)