MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::MeshTopologyDiff Class Reference

#include <MRMeshTopologyDiff.h>

Public Member Functions

 MeshTopologyDiff ()=default
 constructs minimal difference, where applyAndSwap( t ) will produce empty topology
 
MRMESH_API MeshTopologyDiff (const MeshTopology &from, const MeshTopology &to)
 computes the difference, that can be applied to topology-from in order to get topology-to
 
MRMESH_API void applyAndSwap (MeshTopology &t)
 
bool any () const
 
MRMESH_API size_t heapBytes () const
 returns the amount of memory this object occupies on heap
 

Detailed Description

this object stores a difference between two topologies: both in coordinates and in topology

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


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