geo-polygonize 0.35.2 → 0.36.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -30,6 +30,16 @@ export type PolygonizerOptions = {
30
30
  * Default: `1e-10`
31
31
  */
32
32
  snap_grid_size: number;
33
+ /**
34
+ * Snap input segments to nearby vertices from exact-noded input linework before grid noding.
35
+ *
36
+ * A value of `0.0` disables pre-snap. This mirrors the CFB/Shapely
37
+ * `snap(line, unary_union(all_lines), tolerance)` step closely enough to
38
+ * close small CAD gaps before polygonization.
39
+ *
40
+ * Default: `0.0`
41
+ */
42
+ pre_snap_tolerance: number;
33
43
  /**
34
44
  * If `true`, only pure, outermost polygonal shells are returned.
35
45
  *