public void ResumeDefault() { m_point3Ds.Clear(); m_point3DsAll.Clear(); //m_treeView.Nodes[0].Nodes.Clear(); //m_index = -1; if (m_geoLine3D.Length > 0) { m_geoLine3D.SetEmpty(); } if (m_flyManager.Routes.Count > 0) { m_flyManager.Routes.Clear(); } scontrol.Scene.TrackingLayer.Clear(); }
public void SetPoint(int flag) { try { StartOrEnd = flag; if (mLine3D != null && mLine3D.PartCount > 0) { mLine3D.SetEmpty(); } else if (mLine3D == null) { mLine3D = new GeoLine3D(); } mSceneControl.Action = Action3D.Select; mSceneControl.MouseDoubleClick -= PathAnalysisMouseClick; mSceneControl.MouseDoubleClick += PathAnalysisMouseClick; } catch (Exception ex) { Trace.WriteLine(ex); } }