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
package/dist/geo_polygonize.wasm
CHANGED
|
Binary file
|
|
Binary file
|
|
@@ -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
|
*
|
|
@@ -834,7 +834,8 @@ var scalarExports = /*#__PURE__*/Object.freeze({
|
|
|
834
834
|
|
|
835
835
|
const cfbRobustOptions = {
|
|
836
836
|
node_input: true,
|
|
837
|
-
snap_grid_size: 0.
|
|
837
|
+
snap_grid_size: 0.1,
|
|
838
|
+
pre_snap_tolerance: 0.5,
|
|
838
839
|
extract_only_polygonal: false,
|
|
839
840
|
snap_strategy: "GeosCompat",
|
|
840
841
|
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
|
*
|
|
@@ -831,7 +831,8 @@ var scalarExports = /*#__PURE__*/Object.freeze({
|
|
|
831
831
|
|
|
832
832
|
const cfbRobustOptions = {
|
|
833
833
|
node_input: true,
|
|
834
|
-
snap_grid_size: 0.
|
|
834
|
+
snap_grid_size: 0.1,
|
|
835
|
+
pre_snap_tolerance: 0.5,
|
|
835
836
|
extract_only_polygonal: false,
|
|
836
837
|
snap_strategy: "GeosCompat",
|
|
837
838
|
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
|
*
|
|
@@ -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
|
*
|