public void DetachGeometry(Geometry3D Geometry) { if (Geometries.ContainsKey(Geometry)) { Geometries.Remove(Geometry); Count = Geometries.Count; } }
public void RemoveVisual(IDrawingVisual dv) { RemoveVisualChild((Visual)dv); RemoveLogicalChild((Visual)dv); if (dv is ICADEnitiyVisual) { Geometries.Remove((ICADEnitiyVisual)dv); } else { _tempVisuals.Remove(dv); } }
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)); }