MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::PlanarTriangulation::ISweepLineCache Class Referenceabstract

#include <MRMesh/MR2DContoursTriangulation.h>

Public Member Functions

 ISweepLineCache ()=default
 ISweepLineCache (const ISweepLineCache &)=delete
ISweepLineCacheoperator= (const ISweepLineCache &)=delete
virtual ~ISweepLineCache ()=0
 pure to make the class abstract: instances are created by makeSweepLineCache() only

Detailed Description

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


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