LatticeRectangleBoundary #
A coordinate description of the vertex boundary, including degenerate rectangles. Adapted from Wesley Pegden's Apache-2.0 Trellis formalization of Levine–Pegden–Smart.
Boundary vertices of an integer rectangle lie on one of its four sides.