mxdraw 0.1.172 → 0.1.173

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
@@ -3239,7 +3239,7 @@ declare class McEdGetPointWorldDrawObject {
3239
3239
  * pWorldDraw.getColor()
3240
3240
  * ```
3241
3241
  */
3242
- getColor(): void;
3242
+ getColor(): number | string | THREE.Color;
3243
3243
  /**
3244
3244
  * 动态绘制一个自定义实体
3245
3245
  * @returns
@@ -3387,7 +3387,6 @@ declare class MrxDbgUiPrPoint {
3387
3387
  drawReserve(callAddEntity?: (ent: THREE.Object3D) => void): void;
3388
3388
  /**
3389
3389
  * 设置需要的Touche输入类型,默认值是 {@link MxType.InputToucheType.kGetBegan}
3390
- *
3391
3390
  */
3392
3391
  setInputToucheType(toucheType: number): void;
3393
3392
  /**
@@ -3882,7 +3881,7 @@ declare class MxDbShape extends MxDbEntity {
3882
3881
  declare class MxDbEllipseShape extends MxDbShape {
3883
3882
  constructor();
3884
3883
  getTypeName(): string;
3885
- /** 弧中心点 */
3884
+ /** 圆心 */
3886
3885
  center: three.Vector3;
3887
3886
  setCenter(center: THREE.Vector3): this;
3888
3887
  /** X轴椭圆弧半径 默认当前坐标转换下的10像素 */
@@ -3943,6 +3942,7 @@ declare function drawMx3PointArc(): void;
3943
3942
  declare class Mx3PointArc extends MxDbCircleShape {
3944
3943
  static cmd: string;
3945
3944
  static draw: typeof drawMx3PointArc;
3945
+ static isRegister: boolean;
3946
3946
  constructor();
3947
3947
  point1: three.Vector3;
3948
3948
  point2: three.Vector3;
@@ -3957,11 +3957,11 @@ declare class Mx3PointArc extends MxDbCircleShape {
3957
3957
  worldDraw(pWorldDraw: McGiWorldDraw): void;
3958
3958
  getGripPoints(): THREE.Vector3[];
3959
3959
  /** 计算三个控制点的角度 */
3960
- compute3PointAngle(): number[];
3960
+ compute3PointAngle(point1?: three.Vector3, point2?: three.Vector3, point3?: three.Vector3): number[];
3961
3961
  /** 根据三个控制点更新圆心 */
3962
- upDateCenter(point1: THREE.Vector3, point2: THREE.Vector3, point3: THREE.Vector3): three.Vector3;
3962
+ upDateCenter(point1?: three.Vector3, point2?: three.Vector3, point3?: three.Vector3): three.Vector3;
3963
3963
  /** 根据圆心和一个控制点自动更新半径大小 */
3964
- upDateRadius(point: THREE.Vector3): number;
3964
+ upDateRadius(point?: three.Vector3): number;
3965
3965
  /** 根据 三个控制点到圆心的角度 更新顺逆时针绘制 */
3966
3966
  upDataClockwise(angle1: number, angle2: number, angle3: number): void;
3967
3967
  /** 更新数据信息 */