MeshLib Python Docs
Loading...
Searching...
No Matches
Inheritance diagram for mrmeshpy.MeshDiff:

Public Member Functions

None __init__ (self)
None __init__ (self, ConstMesh from_, ConstMesh to)
None __init__ (self, ConstMeshDiff arg0)
None applyAndSwap (self, Mesh m)
MeshDiff assign (self, ConstMeshDiff other)
Public Member Functions inherited from mrmeshpy.ConstMeshDiff
 __init__ (self, *args, **kwargs)
bool any (self)
int heapBytes (self)

Static Public Member Functions

None __init__ (*args, **kwargs)

Detailed Description

Generated from:  MR::MeshDiff

this object stores a difference between two meshes: both in coordinates and in topology
\\details if the meshes are similar then this object is small, if the meshes are very distinct then this object will be even larger than one mesh itself

Constructor & Destructor Documentation

◆ __init__() [1/4]

None mrmeshpy.MeshDiff.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/4]

None mrmeshpy.MeshDiff.__init__ ( self)
constructs minimal difference, where applyAndSwap( m ) will produce empty mesh

◆ __init__() [3/4]

None mrmeshpy.MeshDiff.__init__ ( self,
ConstMesh from_,
ConstMesh to )
computes the difference, that can be applied to mesh-from in order to get mesh-to

◆ __init__() [4/4]

None mrmeshpy.MeshDiff.__init__ ( self,
ConstMeshDiff arg0 )
Implicit copy constructor.

Member Function Documentation

◆ applyAndSwap()

None mrmeshpy.MeshDiff.applyAndSwap ( self,
Mesh m )
given mesh-from on input converts it in mesh-to,
this object is updated to become the reverse difference from original mesh-to to original mesh-from

◆ assign()

MeshDiff mrmeshpy.MeshDiff.assign ( self,
ConstMeshDiff other )

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