Пример #1
0
        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();
        }
Пример #2
0
 public void Dispose()
 {
     Dispose(_root);
     _nodes.Dispose();
     _chunks.Dispose();
 }