Lattice subpolygons of a square with given sidelength
收藏资源简介:
This record contains all lattice subpolygons of the square of sidelength \(m\) for \(1 \leq m \leq 10\). There is one file for each sidelength. We use the HDF5 file format to store the polygons. The polygons have been obtained using RationalPolygons.jl. Structure of the HDF5 files In each file, the polygons are split into different datasets according to their normalized area and number of vertices. We use "a" to denote the normalized area (twice the euclidian area) and "n" to denote the number of vertices. For example, the subpolygons of the square of sidelength \(4\) with normalized area \(20\) having \(6\) vertices are located in "m4.h5" under the dataset "/a20/n6". Each dataset of polygons is one-dimensional with one entry per polygon. A polygon is stored using a compound datatype with \(2 \cdot n\) fields of integers. These integers are the vertices of the polygon stored in column major layout. For example, a triangle with vertices \((x_1,y_1), (x_2,y_2)\) and \((x_3,y_3)\) is stored as the tuple \((x_1,y_1,x_2,y_2,x_3,y_3)\). Moreover, each file contains the special two-dimensional dataset "numbers_of_polygons" that stores the numbers of polygons for a given normalized volume and number of vertices.



