Exemplo n.º 1
0
 public override void DrawInternal(
     DrawContext.Surface context,
     ISurfaceGraphicsFactory graphicsFactory)
 {
     if (this.list_0.Count <= 0)
     {
         return;
     }
     graphicsFactory.SetColor(context.GetPlotColor((DxfEntity)this));
     foreach (DxfMeshFace dxfMeshFace in this.list_0)
     {
         WW.Math.Geometry.Polyline3D boundary = new WW.Math.Geometry.Polyline3D(4);
         List <bool> edgeVisibleList          = new List <bool>(4);
         foreach (DxfMeshFace.Corner corner in dxfMeshFace.Corners)
         {
             if (corner.Vertex != null)
             {
                 boundary.Add(corner.Vertex.Position);
                 edgeVisibleList.Add(corner.EdgeVisible);
             }
         }
         Class940.smethod_18((DxfEntity)this, context, graphicsFactory, boundary, edgeVisibleList);
     }
 }