Another Clipper optimization. When adding a set of paths

to Clipper, allocate the edges in a single continuous vector.
This commit is contained in:
bubnikv 2017-03-03 21:40:40 +01:00
parent fa4df36963
commit f24427cd76
2 changed files with 68 additions and 21 deletions

View file

@ -291,6 +291,7 @@ public:
bool PreserveCollinear() const {return m_PreserveCollinear;};
void PreserveCollinear(bool value) {m_PreserveCollinear = value;};
protected:
bool AddPathInternal(const Path &pg, int highI, PolyType PolyTyp, bool Closed, TEdge* edges);
TEdge* AddBoundsToLML(TEdge *e, bool IsClosed);
virtual void Reset();
TEdge* ProcessBound(TEdge* E, bool IsClockwise);