示例#1
0
 public void DetachGeometry(Geometry3D Geometry)
 {
     if (Geometries.ContainsKey(Geometry))
     {
         Geometries.Remove(Geometry);
         Count = Geometries.Count;
     }
 }
示例#2
0
 public void RemoveVisual(IDrawingVisual dv)
 {
     RemoveVisualChild((Visual)dv);
     RemoveLogicalChild((Visual)dv);
     if (dv is ICADEnitiyVisual)
     {
         Geometries.Remove((ICADEnitiyVisual)dv);
     }
     else
     {
         _tempVisuals.Remove(dv);
     }
 }
示例#3
0
 void attributesTable_RowDeleted(object sender, System.Data.DataRowChangeEventArgs e)
 {
     Geometries.Remove(((FeatureDataRow)e.Row).Geometry);
 }
 /// <summary>
 /// Удаление геометрий
 /// </summary>
 /// <param name="geometriesToDelete">Геометрии на удаление</param>
 public void DeleteGeometries(List <GeometryBaseModel> geometriesToDelete)
 {
     geometriesToDelete.ForEach(x => Geometries.Remove(x));
 }