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

Public Member Functions

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

Detailed Description

Generated from:  MR::PartialChangeMeshPointsAction

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

Constructor & Destructor Documentation

◆ __init__()

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

1. __init__(self: meshlib.mrmeshpy.ConstPartialChangeMeshPointsAction, name: str, obj: meshlib.mrmeshpy.ObjectMesh, : meshlib.mrmeshpy.ConstCmpOld, oldPoints: meshlib.mrmeshpy.ConstVertCoords) -> None

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

2. __init__(self: meshlib.mrmeshpy.ConstPartialChangeMeshPointsAction, name: str, obj: meshlib.mrmeshpy.ObjectMesh, : meshlib.mrmeshpy.ConstSetNew, newPoints: meshlib.mrmeshpy.VertCoords) -> None

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

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

Implicit copy constructor.

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

Member Function Documentation

◆ heapBytes()

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

Reimplemented from mrmeshpy.ConstHistoryAction.

◆ name()

str mrmeshpy.ConstPartialChangeMeshPointsAction.name ( self)

Reimplemented from mrmeshpy.ConstHistoryAction.


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