mxcad 1.0.263 → 1.0.265

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 CHANGED
@@ -1447,6 +1447,16 @@ export declare class McGeMatrix3d {
1447
1447
  * ```
1448
1448
  */
1449
1449
  getData(row: number, col: number): number;
1450
+ /**
1451
+ * 设置矩阵中指定位置的元素值。
1452
+ * @param row 行索引。
1453
+ * @param col 列索引。
1454
+ * @param val 指定位置的元素值。
1455
+ * @example
1456
+ * ```ts
1457
+ * ```
1458
+ */
1459
+ setData(row: number, col: number, val: number): void;
1450
1460
  }
1451
1461
  /**
1452
1462
  * 整数数组
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.263";
14189
+ const version$1 = "1.0.265";
14190
14190
 
14191
14191
  var isSharedArrayBuffer = ("SharedArrayBuffer" in window);
14192
14192
  var isCdn = document.currentScript && /unpkg\.com\/mxcad/.test(document.currentScript.src);
@@ -22398,6 +22398,11 @@ var McGeMatrix3d = /*#__PURE__*/function () {
22398
22398
  value: function getData(row, col) {
22399
22399
  return this.imp.getData(row, col);
22400
22400
  }
22401
+ }, {
22402
+ key: "setData",
22403
+ value: function setData(row, col, val) {
22404
+ return this.imp.setData(row, col, val);
22405
+ }
22401
22406
  }]);
22402
22407
  return McGeMatrix3d;
22403
22408
  }();