public override void CleanUp() { triangles.Clear(); lines.Clear(); Placemarks.Clear(); ClearScreenOverlays(); ClearGroundOverlays(); }
public override void CleanUp() { if (triangleList != null) { triangleList.Clear(); } triangleList = null; base.CleanUp(); }
public override void CleanUp() { CleanAndReady = false; if (shapeFileIndex != null) { shapeFileIndex.Dispose(); GC.SuppressFinalize(shapeFileIndex); shapeFileIndex = null; } if (shapeFileVertex != null) { shapeFileVertex.Dispose(); GC.SuppressFinalize(shapeFileVertex); shapeFileVertex = null; } if (lineList != null) { lineList.Clear(); } if (lineList2d != null) { lineList2d.Clear(); } if (triangleList2d != null) { triangleList2d.Clear(); } if (triangleList != null) { triangleList.Clear(); } if (textBatch != null) { textBatch.CleanUp(); } }