internal void Dispose() { var e = GetEdgeEnumerator(); while (e.MoveNext()) { e.Current->QuadEdge->Crep.Dispose(); } for (int i = 0; i < _creps.Count; i++) { _creps[i].Dispose(); } _creps.Dispose(); _vertices.Dispose(); _verticesSeq.Dispose(); _constraints.Dispose(); _quadEdges.Dispose(); V.Dispose(); C.Dispose(); _qt.Dispose(); _edgeSearch.Dispose(); _flipStack.Dispose(); _insertedPoints.Dispose(); _open.Dispose(); _vlist.Dispose(); _elist.Dispose(); DestroyedTriangles.Dispose(); _refinementQueue.Dispose(); }
public void Dispose() { Dispose(_root); _nodes.Dispose(); _chunks.Dispose(); }