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

Public Member Functions

None __init__ (self)
None __init__ (self, ConstMeshTopology from_, ConstMeshTopology to)
None __init__ (self, ConstMeshTopologyDiff arg0)
None applyAndSwap (self, MeshTopology t)
MeshTopologyDiff assign (self, ConstMeshTopologyDiff other)
Public Member Functions inherited from mrmeshpy.ConstMeshTopologyDiff
 __init__ (self, *args, **kwargs)
bool any (self)
int heapBytes (self)

Static Public Member Functions

None __init__ (*args, **kwargs)

Detailed Description

Generated from:  MR::MeshTopologyDiff

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

Constructor & Destructor Documentation

◆ __init__() [1/4]

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

◆ __init__() [2/4]

None mrmeshpy.MeshTopologyDiff.__init__ ( self)
constructs minimal difference, where applyAndSwap( t ) will produce empty topology

◆ __init__() [3/4]

None mrmeshpy.MeshTopologyDiff.__init__ ( self,
ConstMeshTopology from_,
ConstMeshTopology to )
computes the difference, that can be applied to topology-from in order to get topology-to

◆ __init__() [4/4]

None mrmeshpy.MeshTopologyDiff.__init__ ( self,
ConstMeshTopologyDiff arg0 )
Implicit copy constructor.

Member Function Documentation

◆ applyAndSwap()

None mrmeshpy.MeshTopologyDiff.applyAndSwap ( self,
MeshTopology t )
given topology-from on input converts it in topology-to,
this object is updated to become the reverse difference from original topology-to to original topology-from

◆ assign()

MeshTopologyDiff mrmeshpy.MeshTopologyDiff.assign ( self,
ConstMeshTopologyDiff other )

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