Translation and separation of square grid cells #
All separation statements concern real points, including nonintegral points on routes.
The integer cell indices may be negative. A positive integer radius r gives cells of side
2 * r; in particular, radius 120 gives cells of side 240.
Main definitions #
Cslib.Orthogonal.translate: translate the listed integer points of a route.Cslib.Orthogonal.cellOrigin,Cslib.Orthogonal.openCell,Cslib.Orthogonal.closedCell: square cells of the integer grid, interpreted in the real plane.Cslib.Orthogonal.cellPort: the four side midpoints of a cell.
Main results #
- Translation preserves continuous support, orthogonality, simplicity and wire length.
- An open cell is disjoint from every distinct closed cell.
- Equal ports of distinct cells are on opposite sides of adjacent cells.
References #
These are elementary coordinate facts, independent of any SAT encoding or gadget.
Translate every listed point by the same integer displacement.
Instances For
Translation preserves proper axis alignment.
Translation preserves orthogonality.
Translation preserves total wire length.
Translation preserves endpoint-only contact certificates.
The lower-left corner of a square cell of side 2 * r.
Instances For
Bounds on the listed vertices control the entire continuous support in a closed cell.
Distinct cells have no real contact between an open cell and a closed cell.
Equal side midpoints in distinct cells identify the adjacent cell and opposite side. The displacements refer to the integer cell indices, not scaled drawing coordinates.
Route supports in distinct open/closed cells are disjoint, including nonintegral points.