We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d6ac33 commit 1d8d55cCopy full SHA for 1d8d55c
1 file changed
src/graphomotor/core/models.py
@@ -130,7 +130,10 @@ class GridCell:
130
"""Represents a single rectangular region in a grid layout.
131
132
Used to assign strokes to letter regions (Alphabet) or digit regions (DSYM).
133
- Boundary policy: a point on the exact boundary is considered inside the cell.
+ Boundary policy: uses half-open intervals [min, max) to prevent
134
+ double-assignment on shared grid edges. The outer grid boundaries should be
135
+ padded (e.g., by 0.1) at the Grid level so that centroids on the outermost
136
+ edge are not excluded.
137
138
Attributes:
139
x_min: Left boundary of the cell.
0 commit comments