/// <summary> /// Constructor. At the moment of the constructor call the site should not be inserted yet /// </summary> /// <param name="edgePar"></param> public SiteRemoveUndoAction(GeomEdge edgePar) : base((GeometryGraph)edgePar.Parent) { this.editedEdge = edgePar; this.AddRestoreData(editedEdge, (EdgeRestoreData)editedEdge.GetRestoreData()); }
/// <summary> /// constructor /// </summary> /// <param name="editedEdgePar"></param> public EdgeDragUndoRedoAction(GeomEdge editedEdgePar) : base((GeometryGraph)editedEdgePar.Parent) { this.editedEdge = editedEdgePar; this.AddRestoreData(editedEdgePar, (EdgeRestoreData)editedEdgePar.GetRestoreData()); }
/// <summary> /// Constructor. At the moment of the constructor call the site should not be inserted yet /// </summary> /// <param name="edgeToEdit"></param> public SiteInsertUndoAction(GeomEdge edgeToEdit) : base((GeometryGraph)edgeToEdit.Parent) { this.editedEdge = edgeToEdit; this.AddRestoreData(editedEdge, (EdgeRestoreData)editedEdge.GetRestoreData()); }