28 [[nodiscard]]
bool any()
const {
return !changedEdges_.empty(); }
34 size_t toEdgesSize_ = 0;
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:68
Definition MRMeshTopologyDiff.h:13
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 size_t heapBytes() const
returns the amount of memory this object occupies on heap
MRMESH_API void applyAndSwap(MeshTopology &t)
bool any() const
Definition MRMeshTopologyDiff.h:28
MeshTopologyDiff()=default
constructs minimal difference, where applyAndSwap( t ) will produce empty topology
Definition MRMesh/MRMeshTopology.h:18
phmap::flat_hash_map< K, V, Hash, Eq > HashMap
Definition MRMesh/MRMeshFwd.h:482