| File was renamed from applications/drone-command/src/views/areaManage/partition/shapeTools/draw/DrawEllipseTool.js |
| | |
| | | this.drawStep = 0 |
| | | this.isCompleted = true |
| | | const positions = buildEllipsePositions(this.centerCartesian, this.semiMajor, this.semiMinor) |
| | | this.notify('getPolygonPositions', positions) |
| | | this.notify('getPolygonPositions', { |
| | | positions, |
| | | meta: { |
| | | center: this.centerCartesian, |
| | | majorPoint: this.majorPoint, |
| | | minorPoint: this.minorPoint, |
| | | semiMajor: this.semiMajor, |
| | | semiMinor: this.semiMinor, |
| | | }, |
| | | }) |
| | | this.tooltip.hide() |
| | | this.clearPreviewEntities() |
| | | } |