mxdraw 0.1.382 → 0.1.384

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/mxdraw.d.ts CHANGED
@@ -2806,6 +2806,8 @@ declare class MxDrawObject extends Node<MxDrawEvents, Node<any, any>> {
2806
2806
  cadCoord2Doc2(pt: THREE.Vector3): THREE.Vector3;
2807
2807
  toSmallcoord(pt: THREE.Vector3): THREE.Vector3;
2808
2808
  toSmallcoord2(x: number, y: number, z?: number): THREE.Vector3;
2809
+ fromSmallcoord(pt: THREE.Vector3): THREE.Vector3;
2810
+ fromSmallcoord2(x: number, y: number, z?: number): THREE.Vector3;
2809
2811
  /**
2810
2812
  * 文档坐标坐标到CAD.
2811
2813
  * @returns number
@@ -3499,7 +3501,7 @@ declare class McEdGetPointWorldDrawObject {
3499
3501
  * ```
3500
3502
  *
3501
3503
  */
3502
- drawCircle(cen: THREE.Vector3, dRadius: number): void;
3504
+ drawCircle(cen: THREE.Vector3, dRadius: number, renderOrder?: number, isUseSmallcoord?: boolean): void;
3503
3505
  /**
3504
3506
  * 绘制直线
3505
3507
  * @param pt1 开始点
@@ -3511,7 +3513,7 @@ declare class McEdGetPointWorldDrawObject {
3511
3513
  * ```
3512
3514
  *
3513
3515
  */
3514
- drawLine(pt1: THREE.Vector3, pt2: THREE.Vector3): void;
3516
+ drawLine(pt1: THREE.Vector3, pt2: THREE.Vector3, renderOrder?: number, isUseSmallcoord?: boolean): void;
3515
3517
  /**
3516
3518
  * 绘制一个填充区域
3517
3519
  * @returns void
@@ -3520,7 +3522,7 @@ declare class McEdGetPointWorldDrawObject {
3520
3522
  * ```
3521
3523
  *
3522
3524
  */
3523
- drawSolid(points: THREE.Vector3[], opacity?: number): void;
3525
+ drawSolid(points: THREE.Vector3[], opacity?: number, renderOrder?: number, isUseSmallcoord?: boolean): void;
3524
3526
  /**
3525
3527
  * 绘制矩形框
3526
3528
  * @param pt1 矩形框对角点1
@@ -3532,7 +3534,7 @@ declare class McEdGetPointWorldDrawObject {
3532
3534
  * ```
3533
3535
  *
3534
3536
  */
3535
- drawRect(pt1: THREE.Vector3, pt2: THREE.Vector3): void;
3537
+ drawRect(pt1: THREE.Vector3, pt2: THREE.Vector3, renderOrder?: number, isUseSmallcoord?: boolean): void;
3536
3538
  /**
3537
3539
  * 绘制一个Three.js对象.
3538
3540
  * @param ent THREE.Object3D对象
@@ -3543,7 +3545,7 @@ declare class McEdGetPointWorldDrawObject {
3543
3545
  * ```
3544
3546
  *
3545
3547
  */
3546
- drawEntity(ent: THREE.Object3D | null, renderOrder?: number): void;
3548
+ drawEntity(ent: THREE.Object3D | null, renderOrder?: number, isUseSmallcoord?: boolean): void;
3547
3549
  /**
3548
3550
  * 绘制一个MxCAD数据库对象
3549
3551
  * @param mcdbEntity MxCAD数据库对象
@@ -3577,7 +3579,7 @@ declare class McEdGetPointWorldDrawObject {
3577
3579
  * ```
3578
3580
  *
3579
3581
  */
3580
- drawText(sText: string, iSize: number, dAngle: number, pt: THREE.Vector3): void;
3582
+ drawText(sText: string, iSize: number, dAngle: number, pt: THREE.Vector3, renderOrder?: number, isUseSmallcoord?: boolean): void;
3581
3583
  /**
3582
3584
  * 设置动态绘制回调函数。
3583
3585
  * @param call 回调函数 currentPoint 回调参数 当前位置 pWorldDraw 回调参数文档绘制对象