Ejemplo n.º 1
0
 public void OnPickInfo(IAgUiPlugin3DPickEventArgs EventArgs, IAgUiPlugin3DNotifyContext Context)
 {
     //Array region = EventArgs.SelectedRegion;
     //List<string> objectPaths = new List<string>();
     //switch (EventArgs.PickType)
     //{
     //    case AgEUiPlugin3DPickType.eUiPlugin3DPickTypeProjectedOnCentralBody:
     //        double west = (double)region.GetValue(0);
     //        double south = (double)region.GetValue(1);
     //        double east = (double)region.GetValue(2);
     //        double north = (double)region.GetValue(3);
     //        var objects = Context.PickExtent(west, south, east, north);
     //        foreach (string s in objects)
     //        {
     //            objectPaths.Add(s);
     //        }
     //        break;
     //    case AgEUiPlugin3DPickType.eUiPlugin3DPickTypeRubberBand:
     //        int left = (int)(double)region.GetValue(0);
     //        int bottom = (int)(double)region.GetValue(1);
     //        int right = (int)(double)region.GetValue(2);
     //        int top = (int)(double)region.GetValue(3);
     //        var objects1 = Context.PickRectangular(left, bottom, right, top);
     //        foreach (string s in objects1)
     //        {
     //            objectPaths.Add(s);
     //        }
     //        break;
     //    default:
     //        break;
     //}
 }
Ejemplo n.º 2
0
 public void OnPickInfo(IAgUiPlugin3DPickEventArgs EventArgs, IAgUiPlugin3DNotifyContext Context)
 {
 }
Ejemplo n.º 3
0
 public void OnPickInfo(IAgUiPlugin3DPickEventArgs eventArgs, IAgUiPlugin3DNotifyContext context)
 {
     throw new NotImplementedException();
 }