Class GeoObjectChange
- Namespace
- CADability.GeoObject
- Assembly
- CADability.dll
This class is used as a parameter in the ChangeDelegate event of IGeoObject (see WillChangeEvent).
public class GeoObjectChange : ReversibleChange
- Inheritance
-
GeoObjectChange
- Inherited Members
Constructors
GeoObjectChange(IGeoObject, ModOp)
Creates a new GeoObjectChange object that reflects a modification by the ModOp m.
public GeoObjectChange(IGeoObject objectToChange, ModOp m)
Parameters
objectToChangeIGeoObjectThe object which will be or was changed
mModOpthe ModOp that changes or changed the object
GeoObjectChange(IGeoObject, string, GeoObjectList)
Creates a new GeoObjectChange with a single GeoObjectList parameter. See the according constructor of ReversibleChange for why this overload is required.
public GeoObjectChange(IGeoObject objectToChange, string methodOrPropertyName, GeoObjectList parameter)
Parameters
objectToChangeIGeoObjectThe object which will be or was changed
methodOrPropertyNamestringthe case sensitive name of the method or property
parameterGeoObjectListthe list to pass as a single parameter
GeoObjectChange(IGeoObject, string, object)
public GeoObjectChange(IGeoObject objectToChange, string methodOrPropertyName, object parameter)
Parameters
objectToChangeIGeoObjectmethodOrPropertyNamestringparameterobject
GeoObjectChange(IGeoObject, string, params object[])
Creates a new GeoObjectChange object. See the appropriate constructor of ReversibleChange for details.
public GeoObjectChange(IGeoObject objectToChange, string methodOrPropertyName, params object[] parameters)
Parameters
objectToChangeIGeoObjectThe object which will be or was changed
methodOrPropertyNamestringthe case sensitive name of the method or property
parametersobject[]The parameters needed to call this method or property
GeoObjectChange(IGeoObject, Type, string, params object[])
Creates a new GeoObjectChange object. See the appropriate constructor of ReversibleChange for details.
public GeoObjectChange(IGeoObject objectToChange, Type interfaceForMethod, string methodOrPropertyName, params object[] parameters)
Parameters
objectToChangeIGeoObjectThe object which will be or was changed
interfaceForMethodTypethe interface on which contains the method or property
methodOrPropertyNamestringthe case sensitive name of the method or property
parametersobject[]The parameters needed to call this method or property
Fields
NoUndoNecessary
Notifies that this change doesn't require an undo operation
public bool NoUndoNecessary
Field Value
OnlyAttributeChanged
Notifies that only an attribute was changed in contrast to a change of the geometry.
public bool OnlyAttributeChanged