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

#include <MRVertCoordsDiff.h>

Public Member Functions

 VertCoordsDiff ()=default
 constructs minimal difference, where applyAndSwap( v ) will produce empty vector
 
MRMESH_API VertCoordsDiff (const VertCoords &from, const VertCoords &to)
 computes the difference, that can be applied to vector-from in order to get vector-to
 
MRMESH_API void applyAndSwap (VertCoords &m)
 
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 vectors with 3D coordinates

if the vectors are similar then this object is small, if the vectors are very distinct then this object will be even larger than one vector itself


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