|
@@ -17,6 +17,7 @@ export default class MovePoint {
|
|
if (point.getCategory() == VectorCategory.Point.TestPoint) {
|
|
if (point.getCategory() == VectorCategory.Point.TestPoint) {
|
|
this.updatePositionByTestPoint(pointId);
|
|
this.updatePositionByTestPoint(pointId);
|
|
} else if (point.getCategory() == VectorCategory.Point.BasePoint) {
|
|
} else if (point.getCategory() == VectorCategory.Point.BasePoint) {
|
|
|
|
+
|
|
this.updateBasePoint(pointId);
|
|
this.updateBasePoint(pointId);
|
|
} else {
|
|
} else {
|
|
let parent = point.getParent();
|
|
let parent = point.getParent();
|
|
@@ -76,6 +77,7 @@ export default class MovePoint {
|
|
) {
|
|
) {
|
|
pointService.mergePoint(pointId, listenLayer.modifyPoint.linkedPointId);
|
|
pointService.mergePoint(pointId, listenLayer.modifyPoint.linkedPointId);
|
|
Settings.selectBasePointId = null;
|
|
Settings.selectBasePointId = null;
|
|
|
|
+
|
|
} else {
|
|
} else {
|
|
let point = dataService.getPoint(pointId);
|
|
let point = dataService.getPoint(pointId);
|
|
const parent = point.getParent();
|
|
const parent = point.getParent();
|
|
@@ -187,6 +189,7 @@ export default class MovePoint {
|
|
let startPoint = dataService.getPoint(lineGeometry.startId);
|
|
let startPoint = dataService.getPoint(lineGeometry.startId);
|
|
let endPoint = dataService.getPoint(lineGeometry.endId);
|
|
let endPoint = dataService.getPoint(lineGeometry.endId);
|
|
let line = mathUtil.createLine1(startPoint, endPoint);
|
|
let line = mathUtil.createLine1(startPoint, endPoint);
|
|
|
|
+
|
|
let join = mathUtil.getJoinLinePoint(testPoint, line);
|
|
let join = mathUtil.getJoinLinePoint(testPoint, line);
|
|
let testBasePoint = this.getTestBasePoint(
|
|
let testBasePoint = this.getTestBasePoint(
|
|
basePoint.vectorId,
|
|
basePoint.vectorId,
|