mxdraw 0.1.171 → 0.1.172
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 +10 -1
- package/dist/mxdraw.esm.js +1 -1
- package/dist/mxdraw.umd.js +1 -1
- package/package.json +1 -1
package/dist/mxdraw.d.ts
CHANGED
|
@@ -1715,7 +1715,7 @@ declare class MxFunClass {
|
|
|
1715
1715
|
/**
|
|
1716
1716
|
* 返回mxfun.min.js中的THREE.JS对象,可以用它来创建mxfun.min.js中THREE对象。
|
|
1717
1717
|
* */
|
|
1718
|
-
getMxFunTHREE: () =>
|
|
1718
|
+
getMxFunTHREE: () => typeof three;
|
|
1719
1719
|
/**
|
|
1720
1720
|
* 返回mxfun.min.js中的ThreeJsTool对象
|
|
1721
1721
|
* */
|
|
@@ -3865,6 +3865,7 @@ declare class MxDbShape extends MxDbEntity {
|
|
|
3865
3865
|
getClosedPoints(points: THREE.Vector3[]): three.Vector3[];
|
|
3866
3866
|
/** 获取长度 */
|
|
3867
3867
|
getTotalLength(): number | undefined;
|
|
3868
|
+
getGetLength(): number;
|
|
3868
3869
|
/** 获取面积 */
|
|
3869
3870
|
getArea(): number;
|
|
3870
3871
|
worldDraw(pWorldDraw: McGiWorldDraw): void;
|
|
@@ -3948,6 +3949,9 @@ declare class Mx3PointArc extends MxDbCircleShape {
|
|
|
3948
3949
|
point3: three.Vector3;
|
|
3949
3950
|
/** 自动确定顺逆时针绘制 */
|
|
3950
3951
|
autoClockwise: boolean;
|
|
3952
|
+
closed: boolean;
|
|
3953
|
+
/** 圆心角 */
|
|
3954
|
+
centralAngle: number;
|
|
3951
3955
|
getTypeName(): string;
|
|
3952
3956
|
create(): Mx3PointArc;
|
|
3953
3957
|
worldDraw(pWorldDraw: McGiWorldDraw): void;
|
|
@@ -3960,6 +3964,10 @@ declare class Mx3PointArc extends MxDbCircleShape {
|
|
|
3960
3964
|
upDateRadius(point: THREE.Vector3): number;
|
|
3961
3965
|
/** 根据 三个控制点到圆心的角度 更新顺逆时针绘制 */
|
|
3962
3966
|
upDataClockwise(angle1: number, angle2: number, angle3: number): void;
|
|
3967
|
+
/** 更新数据信息 */
|
|
3968
|
+
updateDataInfo(): void;
|
|
3969
|
+
/** 获取圆弧线中点坐标 */
|
|
3970
|
+
getArcMidPoint(): three.Vector3;
|
|
3963
3971
|
moveGripPointsAt(index: number, offset: THREE.Vector3): boolean;
|
|
3964
3972
|
}
|
|
3965
3973
|
|
|
@@ -4808,6 +4816,7 @@ declare class MxDbArrow extends MxDbShape {
|
|
|
4808
4816
|
getArrowVertex(p1: THREE.Vector3, p2: THREE.Vector3, isSharpCorner?: boolean): three.Vector3[] | undefined;
|
|
4809
4817
|
getGripPoints(): THREE.Vector3[];
|
|
4810
4818
|
moveGripPointsAt(index: number, offset: THREE.Vector3): boolean;
|
|
4819
|
+
getCornerRadiusPoints(points: THREE.Vector3[]): three.Vector3[];
|
|
4811
4820
|
}
|
|
4812
4821
|
|
|
4813
4822
|
/** 线形状 */
|