#include <MRMesh/MR2DContoursTriangulation.h>
Public Member Functions | |
| ISweepLineCache ()=default | |
| ISweepLineCache (const ISweepLineCache &)=delete | |
| ISweepLineCache & | operator= (const ISweepLineCache &)=delete |
| virtual | ~ISweepLineCache ()=0 |
| pure to make the class abstract: instances are created by makeSweepLineCache() only | |
keeps the internal buffers of the sweep-line triangulation alive between runs, so a caller triangulating many contour sets one by one avoids re-allocating them on every call; the entries returning a Mesh move the topology and the points out into it, so those two grow again on the next run, while triangulateDisjointContoursTopology keeps everything; one cache must not be used by several threads at once