public override void DrawInternal( DrawContext.Surface context, Graphics graphics, IGraphicElementBlock parentGraphicElementBlock) { if (this.list_0.Count <= 0) { return; } ArgbColor plotColor = context.GetPlotColor((DxfEntity)this); if (!graphics.AddExistingGraphicElement1(parentGraphicElementBlock, (DxfEntity)this, plotColor)) { return; } GraphicElement1 graphicElement = new GraphicElement1(plotColor); graphics.AddNewGraphicElement((DxfEntity)this, parentGraphicElementBlock, graphicElement); List <WW.Math.Point3D> point3DList = new List <WW.Math.Point3D>(4); foreach (DxfMeshFace dxfMeshFace in this.list_0) { point3DList.Clear(); foreach (DxfMeshFace.Corner corner in dxfMeshFace.Corners) { if (corner.Vertex != null) { point3DList.Add(corner.Vertex.Position); } } Class940.smethod_22(graphicElement.Geometry, (IList <WW.Math.Point3D>)point3DList); } }