MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstPartialChangeMeshTopologyAction Class Reference
Inheritance diagram for mrmeshpy.ConstPartialChangeMeshTopologyAction:

Public Member Functions

 __init__ (self, *args, **kwargs)
int heapBytes (self)
str name (self)

Detailed Description

Generated from:  MR::PartialChangeMeshTopologyAction

Undo action for efficiently storage of partial change in mesh topology (e.g. a modification of small region)

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstPartialChangeMeshTopologyAction.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstPartialChangeMeshTopologyAction, name: str, obj: meshlib.mrmeshpy.ObjectMesh, : meshlib.mrmeshpy.ConstCmpOld, oldTopology: meshlib.mrmeshpy.ConstMeshTopology) -> None

use this constructor after the object already contains new topology,
and old topology is passed to remember the difference for future undoing

2. __init__(self: meshlib.mrmeshpy.ConstPartialChangeMeshTopologyAction, name: str, obj: meshlib.mrmeshpy.ObjectMesh, : meshlib.mrmeshpy.ConstSetNew, newTopology: meshlib.mrmeshpy.MeshTopology) -> None

use this constructor to set new object's topology and remember its difference from existed topology for future undoing

3. __init__(self: meshlib.mrmeshpy.ConstPartialChangeMeshTopologyAction, arg0: meshlib.mrmeshpy.ConstPartialChangeMeshTopologyAction) -> None

Implicit copy constructor.

4. __init__(self: meshlib.mrmeshpy.ConstPartialChangeMeshTopologyAction, : meshlib.mrmeshpy.ConstPartialChangeMeshTopologyAction) -> None

Member Function Documentation

◆ heapBytes()

int mrmeshpy.ConstPartialChangeMeshTopologyAction.heapBytes ( self)
returns the amount of memory this object occupies on heap

Reimplemented from mrmeshpy.ConstHistoryAction.

◆ name()

str mrmeshpy.ConstPartialChangeMeshTopologyAction.name ( self)

Reimplemented from mrmeshpy.ConstHistoryAction.


The documentation for this class was generated from the following file: