geo-polygonize 0.33.0 → 0.34.0
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/cfb.d.ts +2 -0
- package/dist/slim/cjs/index.d.ts +1 -0
- package/dist/slim/cjs/index_slim.d.ts +1 -0
- package/dist/slim/cjs/index_slim.js +76 -0
- package/dist/slim/cjs/index_threads.d.ts +1 -0
- package/dist/slim/es/cfb.d.ts +2 -0
- package/dist/slim/es/index.d.ts +1 -0
- package/dist/slim/es/index_slim.d.ts +1 -0
- package/dist/slim/es/index_slim.js +76 -1
- package/dist/slim/es/index_threads.d.ts +1 -0
- package/dist/standard/cjs/cfb.d.ts +2 -0
- package/dist/standard/cjs/index.d.ts +1 -0
- package/dist/standard/cjs/index.js +58 -3
- package/dist/standard/cjs/index_slim.d.ts +1 -0
- package/dist/standard/cjs/index_threads.d.ts +1 -0
- package/dist/standard/es/cfb.d.ts +2 -0
- package/dist/standard/es/index.d.ts +1 -0
- package/dist/standard/es/index.js +58 -4
- package/dist/standard/es/index_slim.d.ts +1 -0
- package/dist/standard/es/index_threads.d.ts +1 -0
- package/dist/threads/es/cfb.d.ts +2 -0
- package/dist/threads/es/index.d.ts +1 -0
- package/dist/threads/es/index.js +55 -1
- package/dist/threads/es/index_slim.d.ts +1 -0
- package/dist/threads/es/index_threads.d.ts +1 -0
- package/package.json +1 -1
|
@@ -16,4 +16,5 @@ export * from "./bindings/TilingOptions";
|
|
|
16
16
|
export * from "./bindings/TouchPolicy";
|
|
17
17
|
export * from "./bindings/ZOptions";
|
|
18
18
|
export * from "./bindings/ZPolicy";
|
|
19
|
+
export * from "./cfb";
|
|
19
20
|
export declare function initBest(scalarModule: any, simdModule: any): Promise<typeof scalarExports>;
|
package/dist/threads/es/index.js
CHANGED
|
@@ -196,6 +196,20 @@ class WasmPolygonResult {
|
|
|
196
196
|
const ret = wasm.wasmpolygonresult_coords_ptr(this.__wbg_ptr);
|
|
197
197
|
return ret >>> 0;
|
|
198
198
|
}
|
|
199
|
+
/**
|
|
200
|
+
* @returns {any}
|
|
201
|
+
*/
|
|
202
|
+
get cut_edges() {
|
|
203
|
+
const ret = wasm.wasmpolygonresult_cut_edges(this.__wbg_ptr);
|
|
204
|
+
return ret;
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* @returns {any}
|
|
208
|
+
*/
|
|
209
|
+
get dangles() {
|
|
210
|
+
const ret = wasm.wasmpolygonresult_dangles(this.__wbg_ptr);
|
|
211
|
+
return ret;
|
|
212
|
+
}
|
|
199
213
|
/**
|
|
200
214
|
* @returns {any}
|
|
201
215
|
*/
|
|
@@ -217,6 +231,13 @@ class WasmPolygonResult {
|
|
|
217
231
|
const ret = wasm.wasmpolygonresult_flat_line_ids_ptr(this.__wbg_ptr);
|
|
218
232
|
return ret >>> 0;
|
|
219
233
|
}
|
|
234
|
+
/**
|
|
235
|
+
* @returns {any}
|
|
236
|
+
*/
|
|
237
|
+
get invalid_rings() {
|
|
238
|
+
const ret = wasm.wasmpolygonresult_invalid_rings(this.__wbg_ptr);
|
|
239
|
+
return ret;
|
|
240
|
+
}
|
|
220
241
|
/**
|
|
221
242
|
* @returns {number}
|
|
222
243
|
*/
|
|
@@ -1012,4 +1033,37 @@ var geo_polygonize = /*#__PURE__*/Object.freeze({
|
|
|
1012
1033
|
wbg_rayon_start_worker: wbg_rayon_start_worker
|
|
1013
1034
|
});
|
|
1014
1035
|
|
|
1015
|
-
|
|
1036
|
+
const cfbRobustOptions = {
|
|
1037
|
+
target: "Native",
|
|
1038
|
+
node_input: true,
|
|
1039
|
+
snap_grid_size: 0.5,
|
|
1040
|
+
extract_only_polygonal: false,
|
|
1041
|
+
snap_strategy: "GeosCompat",
|
|
1042
|
+
noding: {
|
|
1043
|
+
backend: "Snap",
|
|
1044
|
+
snap_mode: "FloatEpsilonDedup",
|
|
1045
|
+
},
|
|
1046
|
+
containment: {
|
|
1047
|
+
touch_policy: "AllowPointTouchDisallowEdgeShare",
|
|
1048
|
+
index_backend: "RStar",
|
|
1049
|
+
},
|
|
1050
|
+
z: {
|
|
1051
|
+
policy: "InterpolateAlongEdge",
|
|
1052
|
+
},
|
|
1053
|
+
determinism: {
|
|
1054
|
+
canonical_sort: true,
|
|
1055
|
+
canonical_ring_rotation: true,
|
|
1056
|
+
stable_tie_breaks: true,
|
|
1057
|
+
},
|
|
1058
|
+
diagnostics: {
|
|
1059
|
+
enabled: true,
|
|
1060
|
+
report_mode: true,
|
|
1061
|
+
},
|
|
1062
|
+
provenance: {
|
|
1063
|
+
enabled: true,
|
|
1064
|
+
include_boundary_line_ids: true,
|
|
1065
|
+
},
|
|
1066
|
+
input_profile_id: "cfb_robust_v1",
|
|
1067
|
+
};
|
|
1068
|
+
|
|
1069
|
+
export { PolygonizerWasmError, WasmPolygonResult, cfbRobustOptions, __wbg_init as default, initSync, initThreadPool, polygonize, polygonizeGeoArrowWithOptions, polygonizeWithOptions, polygonizeWithOptionsBuffer, polygonize_buffers, polygonize_geoarrow, wbg_rayon_PoolBuilder, wbg_rayon_start_worker };
|
|
@@ -16,4 +16,5 @@ export * from "./bindings/TilingOptions";
|
|
|
16
16
|
export * from "./bindings/TouchPolicy";
|
|
17
17
|
export * from "./bindings/ZOptions";
|
|
18
18
|
export * from "./bindings/ZPolicy";
|
|
19
|
+
export * from "./cfb";
|
|
19
20
|
export declare function initBest(scalarModule: any, simdModule: any): Promise<typeof scalarExports>;
|