31 [[nodiscard]]
bool any()
const {
return pointsDiff_.any() || topologyDiff_.any(); }
34 [[nodiscard]]
size_t heapBytes()
const {
return pointsDiff_.heapBytes() + topologyDiff_.heapBytes(); }
#define MRMESH_API
Definition MRMeshFwd.h:80
Definition MRMeshTopologyDiff.h:16
Definition MRVertCoordsDiff.h:15
void applyAndSwap(Mesh &m)
MeshDiff(const Mesh &from, const Mesh &to)
computes the difference, that can be applied to mesh-from in order to get mesh-to
MeshDiff()=default
constructs minimal difference, where applyAndSwap( m ) will produce empty mesh
bool any() const
Definition MRMeshDiff.h:31
size_t heapBytes() const
returns the amount of memory this object occupies on heap
Definition MRMeshDiff.h:34
only for bindings generation
Definition MRCameraOrientationPlugin.h:8