mxcad 1.0.267 → 1.0.268
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/mxcad.d.ts +0 -20
- package/dist/mxcad.es.js +1 -6
- package/dist/mxcad.umd.js +1 -1
- package/dist/wasm/2d/mxdrawassembly_min.js +572 -573
- package/dist/wasm/2d/mxdrawassembly_min.wasm +0 -0
- package/dist/wasm/2d-st/mxdrawassembly_min.js +482 -483
- package/dist/wasm/2d-st/mxdrawassembly_minst.wasm +0 -0
- package/package.json +1 -1
package/dist/mxcad.d.ts
CHANGED
|
@@ -7879,26 +7879,6 @@ export declare class McDbHatch extends McDbEntity {
|
|
|
7879
7879
|
* ```
|
|
7880
7880
|
*/
|
|
7881
7881
|
setHatchStyle(val: McDb.HatchStyle): void;
|
|
7882
|
-
/**
|
|
7883
|
-
* 评估填充结果
|
|
7884
|
-
* @example
|
|
7885
|
-
* ```ts
|
|
7886
|
-
* import { McDbHatch } from "mxcad";
|
|
7887
|
-
*
|
|
7888
|
-
* const Hatch hatch = new Hatch();
|
|
7889
|
-
*
|
|
7890
|
-
* // 在这里进行填充操作...
|
|
7891
|
-
*
|
|
7892
|
-
* // 评估填充结果
|
|
7893
|
-
* const hatchSuccess = HatchEvaluator.EvaluateHatch(hatch);
|
|
7894
|
-
* if (hatchSuccess){
|
|
7895
|
-
console.log("\n填充成功!");
|
|
7896
|
-
}else{
|
|
7897
|
-
console.log("\n填充失败!");
|
|
7898
|
-
}
|
|
7899
|
-
* ```
|
|
7900
|
-
*/
|
|
7901
|
-
evaluateHatch(): boolean;
|
|
7902
7882
|
/** 追加闭合区域
|
|
7903
7883
|
* @param loopType 闭合区域类型
|
|
7904
7884
|
* @param vertices 坐标集合
|
package/dist/mxcad.es.js
CHANGED
|
@@ -14186,7 +14186,7 @@ win.McDrawObjectEvent_asciiToUTF8 = function (hexstr) {
|
|
|
14186
14186
|
return MxG2312Obj.decodeFromGb2312(hexstr);
|
|
14187
14187
|
};
|
|
14188
14188
|
|
|
14189
|
-
const version$1 = "1.0.
|
|
14189
|
+
const version$1 = "1.0.268";
|
|
14190
14190
|
|
|
14191
14191
|
var isSharedArrayBuffer = ("SharedArrayBuffer" in window);
|
|
14192
14192
|
var isCdn = document.currentScript && /unpkg\.com\/mxcad/.test(document.currentScript.src);
|
|
@@ -17699,11 +17699,6 @@ var McDbHatch = /*#__PURE__*/function (_McDbEntity7) {
|
|
|
17699
17699
|
value: function setHatchStyle(val) {
|
|
17700
17700
|
return this.imp.setHatchStyle(val);
|
|
17701
17701
|
}
|
|
17702
|
-
}, {
|
|
17703
|
-
key: "evaluateHatch",
|
|
17704
|
-
value: function evaluateHatch() {
|
|
17705
|
-
return this.imp.evaluateHatch(false);
|
|
17706
|
-
}
|
|
17707
17702
|
}, {
|
|
17708
17703
|
key: "appendLoop",
|
|
17709
17704
|
value: function appendLoop(vertices) {
|