mxdraw 0.1.99 → 0.1.101

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.
@@ -105,6 +105,17 @@ export default interface McGiWorldDraw {
105
105
  *
106
106
  */
107
107
  drawLines(points: THREE.Vector3[]): void;
108
+ /**
109
+ * 根据几何数据绘制直线
110
+ * @param points 点数组
111
+ * @returns
112
+ * @example
113
+ * ``` typescript
114
+ *
115
+ * ```
116
+ *
117
+ */
118
+ drawGeometryLines(geometry: THREE.Geometry): void;
108
119
  /**
109
120
  * 绘制圆
110
121
  * @param cen 圆的中心点 THREE.Vector3
@@ -723,7 +723,15 @@ export default class MxDrawObject {
723
723
  *
724
724
  * ```
725
725
  */
726
- getOrbitControls(): void;
726
+ getOrbitControls(): any;
727
+ /**
728
+ * 禁用或启用视区的移动,放大,缩小等操作.
729
+ * @example
730
+ * ```typescript
731
+ *
732
+ * ```
733
+ */
734
+ enableViewControls(isEnable: boolean): void;
727
735
  /**
728
736
  * 得到当前图形数据库对象
729
737
  * @example
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mxdraw",
3
- "version": "0.1.99",
3
+ "version": "0.1.101",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "main": "dist/mxdraw.umd.js",