The shoelace formula or shoelace algorithm is a mathematical algorithm to determine the area of a simple polygon whose vertices are described by their Cartesian coordinates in the plane. The method consists of cross-multiplying corresponding coordinates of the different vertices…


