#include <MRMeshDiff.h>
Public Member Functions | |
| MeshDiff ()=default | |
| constructs minimal difference, where applyAndSwap( m ) will produce empty mesh | |
| MRMESH_API | MeshDiff (const Mesh &from, const Mesh &to) |
| computes the difference, that can be applied to mesh-from in order to get mesh-to | |
| MRMESH_API void | applyAndSwap (Mesh &m) |
| bool | any () const |
| size_t | heapBytes () const |
| returns the amount of memory this object occupies on heap | |
this object stores a difference between two meshes: both in coordinates and in topology
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