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

Public Member Functions

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

Static Public Member Functions

None setObjectDirty (*args, **kwargs)

Static Public Attributes

 ConstObj = ConstObjectMesh
 Obj = ObjectMesh

Detailed Description

Generated from:  MR::ChangeMeshCreasesAction

Undo action for ObjectMesh creases

Constructor & Destructor Documentation

◆ __init__()

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

1. __init__(self: meshlib.mrmeshpy.ConstChangeMeshCreasesAction, name: str, objMesh: meshlib.mrmeshpy.ObjectMesh) -> None

use this constructor to remember object's creases before making any changes in it

2. __init__(self: meshlib.mrmeshpy.ConstChangeMeshCreasesAction, name: str, objMesh: meshlib.mrmeshpy.ObjectMesh, newCreases: meshlib.mrmeshpy.UndirectedEdgeBitSet) -> None

use this constructor to remember object's current creases and immediate set new creases

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

Implicit copy constructor.

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

Member Function Documentation

◆ creases()

ConstUndirectedEdgeBitSet mrmeshpy.ConstChangeMeshCreasesAction.creases ( self)

◆ heapBytes()

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

Reimplemented from mrmeshpy.ConstHistoryAction.

◆ name()

str mrmeshpy.ConstChangeMeshCreasesAction.name ( self)

Reimplemented from mrmeshpy.ConstHistoryAction.

◆ setObjectDirty()

None mrmeshpy.ConstChangeMeshCreasesAction.setObjectDirty ( * args,
** kwargs )
static
empty because set dirty is inside setCreases

Member Data Documentation

◆ ConstObj

mrmeshpy.ConstChangeMeshCreasesAction.ConstObj = ConstObjectMesh
static

◆ Obj

mrmeshpy.ConstChangeMeshCreasesAction.Obj = ObjectMesh
static

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