| | |
| | | |
| | | MouseState _mouseState = MouseState.无; |
| | | private NodeViewModel _OperaNode = null; |
| | | PointF _HookPoint = new PointF(-1, -1); |
| | | public PointF mouseXY = new PointF(0, 0); |
| | | |
| | | PointF DragStartPos; |
| | |
| | | |
| | | private double Rotation0 = 0; |
| | | [Browsable(false)] |
| | | public PointF MapCenter |
| | | public PointF3D MapCenter |
| | | { |
| | | get |
| | | { |
| | | return mapOption.Center; |
| | | { |
| | | if (mapOption?.Center == null) return new PointF3D(0, 0, 0); |
| | | return mapOption.Center; |
| | | } |
| | | set |
| | | { |
| | | //将$"{MapCenter.X.ToString("0.00")},{MapCenter.Y.ToString("0.00")}"通过CenterChanged传出 |
| | | CenterChanged?.Invoke(this, $"{MapCenter.X.ToString("0.00")},{MapCenter.Y.ToString("0.00")}"); |
| | | mapOption.Center = value; |
| | | mapOption.Center = value; |
| | | } |
| | | } |
| | | private PointF MapCenter0; |
| | | private PointF3D MapCenter0; |
| | | private bool is3Dview = false; |
| | | double 俯视角度_start = 90; |
| | | |