|
|
|
@ -1,3 +1,4 @@
|
|
|
|
|
import { SimplifyPolyline } from "../../Add-on/testEntity/TestPolyline2PointsPolyline";
|
|
|
|
|
import { app } from "../../ApplicationServices/Application";
|
|
|
|
|
import { arraySortByNumber } from "../../Common/ArrayExt";
|
|
|
|
|
import { curveLinkGroup } from "../../Common/CurveUtils";
|
|
|
|
@ -30,7 +31,7 @@ export class DBClickPolyline extends Singleton
|
|
|
|
|
{ key: "J", msg: "合并" },
|
|
|
|
|
{ key: "E", msg: "编辑顶点" },
|
|
|
|
|
// { key: "F", msg: "拟合" },
|
|
|
|
|
// { key: "S", msg: "样条曲线" },
|
|
|
|
|
{ key: "S", msg: "简化多段线" },
|
|
|
|
|
{ key: "D", msg: "非曲线化" },
|
|
|
|
|
{ key: "R", msg: "反转" },
|
|
|
|
|
{ key: "U", msg: "放弃" }
|
|
|
|
@ -76,6 +77,9 @@ export class DBClickPolyline extends Singleton
|
|
|
|
|
execStatus = await this.EditorVertex();
|
|
|
|
|
JigUtils.Destroy();
|
|
|
|
|
break;
|
|
|
|
|
case "S": //简化多段线
|
|
|
|
|
SimplifyPolyline([pl]);
|
|
|
|
|
return;
|
|
|
|
|
case "D": //非曲线化
|
|
|
|
|
this.TransfromNonCurve();
|
|
|
|
|
break;
|
|
|
|
|