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.
- package/dist/geo_polygonize.wasm +0 -0
- package/dist/geo_polygonize_simd.wasm +0 -0
- package/dist/slim/cjs/bindings/PolygonizerOptions.d.ts +10 -0
- package/dist/slim/cjs/index_slim.js +2 -1
- package/dist/slim/es/bindings/PolygonizerOptions.d.ts +10 -0
- package/dist/slim/es/index_slim.js +2 -1
- package/dist/slim/pkg-wrapper/bindings/PolygonizerOptions.d.ts +10 -0
- package/dist/standard/cjs/bindings/PolygonizerOptions.d.ts +10 -0
- package/dist/standard/cjs/index.js +4 -3
- package/dist/standard/es/bindings/PolygonizerOptions.d.ts +10 -0
- package/dist/standard/es/index.js +4 -3
- package/dist/standard/pkg-wrapper/bindings/PolygonizerOptions.d.ts +10 -0
- package/dist/threads/es/bindings/PolygonizerOptions.d.ts +10 -0
- package/dist/threads/es/index.js +2 -1
- package/dist/threads/pkg-wrapper/bindings/PolygonizerOptions.d.ts +10 -0
- package/package.json +1 -1
|
@@ -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
|
*
|
|
@@ -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
|
*
|
package/dist/threads/es/index.js
CHANGED
|
@@ -1035,7 +1035,8 @@ var geo_polygonize = /*#__PURE__*/Object.freeze({
|
|
|
1035
1035
|
|
|
1036
1036
|
const cfbRobustOptions = {
|
|
1037
1037
|
node_input: true,
|
|
1038
|
-
snap_grid_size: 0.
|
|
1038
|
+
snap_grid_size: 0.1,
|
|
1039
|
+
pre_snap_tolerance: 0.5,
|
|
1039
1040
|
extract_only_polygonal: false,
|
|
1040
1041
|
snap_strategy: "GeosCompat",
|
|
1041
1042
|
noding: {
|
|
@@ -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
|
*
|