コード例 #1
0
 public override void CleanUp()
 {
     triangles.Clear();
     lines.Clear();
     Placemarks.Clear();
     ClearScreenOverlays();
     ClearGroundOverlays();
 }
コード例 #2
0
 public override void CleanUp()
 {
     if (triangleList != null)
     {
         triangleList.Clear();
     }
     triangleList = null;
     base.CleanUp();
 }
コード例 #3
0
        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();
            }
        }