コード例 #1
0
ファイル: DxfCircle.cs プロジェクト: 15831944/WW
        protected void DrawInternal(
            DrawContext.Surface context,
            WW.Cad.Drawing.Surface.Graphics graphics,
            IGraphicElementBlock parentGraphicElementBlock,
            double startAngle,
            double endAngle)
        {
            ArgbColor   plotColor     = context.GetPlotColor((DxfEntity)this);
            DxfLineType lineType      = this.GetLineType((DrawContext)context);
            double      lineTypeScale = context.TotalLineTypeScale * this.LineTypeScale;

            if (!graphics.AddExistingGraphicElement2(parentGraphicElementBlock, (DxfEntity)this, plotColor, lineType, lineTypeScale, false))
            {
                return;
            }
            GraphicElement2 graphicElement2 = new GraphicElement2(plotColor, lineType, lineTypeScale, true);

            graphics.AddNewGraphicElement((DxfEntity)this, parentGraphicElementBlock, (GraphicElement1)graphicElement2);
            if (this.double_2 != 0.0)
            {
                graphicElement2.Geometry.Extrusion = this.double_2 * this.vector3D_0;
            }
            WW.Math.Geometry.Polyline3D polyline = this.method_14(context.Config, startAngle, endAngle);
            graphicElement2.Geometry.Add(WW.Cad.Drawing.Surface.Polyline3D.CreatePrimitive(polyline));
        }
コード例 #2
0
ファイル: DxfPolygonSplineMesh.cs プロジェクト: 15831944/WW
        public override void DrawInternal(
            DrawContext.Surface context,
            ISurfaceGraphicsFactory graphicsFactory)
        {
            ushort mApproximationPointCount;
            ushort nApproximationPointCount;

            this.method_13(out mApproximationPointCount, out nApproximationPointCount);
            WW.Math.Point3D[,] point3DArray = this.method_19((int)mApproximationPointCount - 1, (int)nApproximationPointCount - 1);
            int length1 = point3DArray.GetLength(0);
            int length2 = point3DArray.GetLength(1);

            Vector4D[,] polygonMesh = new Vector4D[length1, length2];
            Interface41 transformer = context.GetTransformer();

            for (int index1 = 0; index1 < length1; ++index1)
            {
                for (int index2 = 0; index2 < length2; ++index2)
                {
                    polygonMesh[index1, index2] = transformer.Transform(point3DArray[index1, index2]);
                }
            }
            graphicsFactory.SetColor(context.GetPlotColor((DxfEntity)this));
            graphicsFactory.CreatePolygonMesh(polygonMesh, this.ClosedInMDirection, this.ClosedInNDirection);
        }
コード例 #3
0
ファイル: DxfLayout.cs プロジェクト: 15831944/WW
 public void DrawFrame(DrawContext.Surface context, ISurfaceGraphicsFactory graphicsFactory)
 {
     foreach (DxfEntity dxfEntity in (DxfHandledObjectCollection <DxfViewport>) this.dxfViewportCollection_0)
     {
         dxfEntity.Draw(context, graphicsFactory);
     }
 }
コード例 #4
0
        public override void DrawInternal(
            DrawContext.Surface context,
            ISurfaceGraphicsFactory graphicsFactory)
        {
            PointDisplayMode pointDisplayMode = context.Model.Header.PointDisplayMode;
            bool             flag             = this.Layer != null && this.Layer == context.DefPointsLayer;

            if (pointDisplayMode == PointDisplayMode.None && !flag)
            {
                return;
            }
            ArgbColor plotColor = context.GetPlotColor((DxfEntity)this);

            graphicsFactory.SetColor(plotColor);
            Interface41 transformer = context.GetTransformer();

            if (this.double_1 != 0.0)
            {
                graphicsFactory.CreateSegment(transformer.Transform(this.point3D_0), transformer.Transform(this.point3D_0 + this.double_1 * this.vector3D_0));
            }
            else
            {
                graphicsFactory.CreatePoint(transformer.Transform(this.point3D_0));
            }
        }
コード例 #5
0
        public override void DrawInternal(
            DrawContext.Surface context,
            ISurfaceGraphicsFactory graphicsFactory)
        {
            graphicsFactory.SetColor(context.GetPlotColor((DxfEntity)this));
            IList <WW.Math.Geometry.Polyline3D> polylines;
            IList <FlatShape4D> shapes;

            this.GetPolylines((DrawContext)context, context.GetTransformer().LineTypeScaler, out polylines, out shapes);
            if (this.double_1 != 0.0)
            {
                Class940.Extrude((DxfEntity)this, context, graphicsFactory, polylines, false, this.double_1 * this.vector3D_0);
            }
            else
            {
                Class940.smethod_16((DxfEntity)this, context, graphicsFactory, polylines, false);
            }
            if (shapes == null)
            {
                return;
            }
            IPathDrawer pathDrawer = (IPathDrawer) new Class473((DxfEntity)this, context, graphicsFactory);

            foreach (FlatShape4D flatShape4D in (IEnumerable <FlatShape4D>)shapes)
            {
                pathDrawer.DrawPath(flatShape4D.FlatShape, flatShape4D.Transformation, this.Color.ToColor(), context.GetLineWeight((DxfEntity)this), flatShape4D.IsFilled, false, this.double_1);
            }
        }
コード例 #6
0
        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);
            }
        }
コード例 #7
0
ファイル: DxfPolygonSplineMesh.cs プロジェクト: 15831944/WW
        public override void DrawInternal(
            DrawContext.Surface context,
            Graphics graphics,
            IGraphicElementBlock parentGraphicElementBlock)
        {
            ushort mApproximationPointCount;
            ushort nApproximationPointCount;

            this.method_13(out mApproximationPointCount, out nApproximationPointCount);
            if (mApproximationPointCount <= (ushort)0 || nApproximationPointCount <= (ushort)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);
            WW.Math.Point3D[,] mesh = this.method_19((int)mApproximationPointCount - 1, (int)nApproximationPointCount - 1);
            graphicElement.Geometry.Add((IPrimitive) new PolygonMesh(mesh, this.ClosedInMDirection, this.ClosedInNDirection));
        }
コード例 #8
0
ファイル: DxfPolyline3DSpline.cs プロジェクト: 15831944/WW
        public override void DrawInternal(
            DrawContext.Surface context,
            Graphics graphics,
            IGraphicElementBlock parentGraphicElementBlock)
        {
            ArgbColor   plotColor     = context.GetPlotColor((DxfEntity)this);
            DxfLineType lineType      = this.GetLineType((DrawContext)context);
            bool        plinegen      = (this.Flags & Enum21.flag_8) != Enum21.flag_0;
            double      lineTypeScale = context.TotalLineTypeScale * this.LineTypeScale;

            if (!graphics.AddExistingGraphicElement2(parentGraphicElementBlock, (DxfEntity)this, plotColor, lineType, lineTypeScale, plinegen))
            {
                return;
            }
            GraphicElement2 graphicElement2 = new GraphicElement2(plotColor, lineType, lineTypeScale, plinegen);

            graphics.AddNewGraphicElement((DxfEntity)this, parentGraphicElementBlock, (GraphicElement1)graphicElement2);
            bool approximationPointsDrawn;

            WW.Math.Geometry.Polyline3D polyline = this.method_14(context.Config, out approximationPointsDrawn);
            graphicElement2.Geometry.Add(WW.Cad.Drawing.Surface.Polyline3D.CreatePrimitive(polyline));
            if (context.Config.ShowSplineControlPoints)
            {
                graphicElement2.Geometry.Add(WW.Cad.Drawing.Surface.Polyline3D.CreatePrimitive(this.method_16()));
            }
            if (!context.Config.ShowSplineApproximationPoints || approximationPointsDrawn)
            {
                return;
            }
            graphicElement2.Geometry.Add(WW.Cad.Drawing.Surface.Polyline3D.CreatePrimitive(this.method_17()));
        }
コード例 #9
0
ファイル: DxfShape.cs プロジェクト: 15831944/WW
        public override void DrawInternal(
            DrawContext.Surface context,
            Graphics graphics,
            IGraphicElementBlock parentGraphicElementBlock)
        {
            DxfTextStyle textStyle = this.TextStyle;

            if (textStyle == null)
            {
                return;
            }
            ShxFile shxFile = textStyle.GetShxFile();

            if (shxFile == null)
            {
                return;
            }
            ShxShape shapeByIndex = shxFile.GetShapeByIndex(this.ushort_0);

            if (shapeByIndex == null)
            {
                return;
            }
            ArgbColor plotColor = context.GetPlotColor((DxfEntity)this);

            if (!graphics.AddExistingGraphicElement1(parentGraphicElementBlock, (DxfEntity)this, plotColor))
            {
                return;
            }
            WW.Math.Point2D endPoint;
            new Class355((DxfEntity)this, context, graphics, parentGraphicElementBlock).DrawPath(shapeByIndex.GetGlyphShape(false, out endPoint), this.Transform, this.Color.ToColor(), context.GetLineWeight((DxfEntity)this), false, false, this.double_1);
        }
コード例 #10
0
        public override void DrawInternal(
            DrawContext.Surface context,
            ISurfaceGraphicsFactory graphicsFactory)
        {
            graphicsFactory.SetColor(context.GetPlotColor((DxfEntity)this));
            IList <WW.Math.Geometry.Polyline3D> polylines;
            IList <FlatShape4D> shapes;

            this.GetPolylines((DrawContext)context, context.GetTransformer().LineTypeScaler, out polylines, out shapes);
            Interface41 transformer = (Interface41)context.GetTransformer().Clone();

            transformer.SetPreTransform(this.Transform);
            IList <Polyline4D> polyline4DList = DxfUtil.smethod_51(polylines, transformer);

            if (polyline4DList.Count > 0)
            {
                foreach (Polyline4D polyline4D in (IEnumerable <Polyline4D>)polyline4DList)
                {
                    graphicsFactory.CreatePolyline((IList <Vector4D>)polyline4D, polyline4D.Closed);
                }
            }
            if (shapes == null)
            {
                return;
            }
            Class940.smethod_24((IPathDrawer) new Class473((DxfEntity)this, context, graphicsFactory), (IEnumerable <FlatShape4D>)shapes, this.Color.ToColor(), context.GetLineWeight((DxfEntity)this), 0.0);
        }
コード例 #11
0
ファイル: DxfLayout.cs プロジェクト: 15831944/WW
 public void Draw(DrawContext.Surface context, ISurfaceGraphicsFactory graphicsFactory)
 {
     foreach (DxfEntity dxfEntity in this.GetEntitiesInDrawingOrder(context.Config))
     {
         dxfEntity.Draw(context, graphicsFactory);
     }
 }
コード例 #12
0
ファイル: DxfShape.cs プロジェクト: 15831944/WW
        public override void DrawInternal(
            DrawContext.Surface context,
            ISurfaceGraphicsFactory graphicsFactory)
        {
            DxfTextStyle textStyle = this.TextStyle;

            if (textStyle == null)
            {
                return;
            }
            ShxFile shxFile = textStyle.GetShxFile();

            if (shxFile == null)
            {
                return;
            }
            ShxShape shapeByIndex = shxFile.GetShapeByIndex(this.ushort_0);

            if (shapeByIndex == null)
            {
                return;
            }
            WW.Math.Point2D endPoint;
            new Class473((DxfEntity)this, context, graphicsFactory).DrawPath(shapeByIndex.GetGlyphShape(false, out endPoint), this.Transform, this.Color.ToColor(), context.GetLineWeight((DxfEntity)this), false, false, this.double_1);
        }
コード例 #13
0
        public override void DrawInternal(
            DrawContext.Surface context,
            Graphics graphics,
            IGraphicElementBlock parentGraphicElementBlock)
        {
            ArgbColor plotColor = context.GetPlotColor((DxfEntity)this);

            if (this.list_0.Count <= 1 || this.list_0.Count >= 5 || !graphics.AddExistingGraphicElement1(parentGraphicElementBlock, (DxfEntity)this, plotColor))
            {
                return;
            }
            switch (this.list_0.Count)
            {
            case 2:
                if (this.FirstEdgeInvisible)
                {
                    break;
                }
                graphics.AddNewGraphicElement((DxfEntity)this, parentGraphicElementBlock, new GraphicElement1(new WW.Cad.Drawing.Surface.Geometry((IPrimitive) new WW.Cad.Drawing.Surface.Segment(this.list_0[0], this.list_0[1])), plotColor));
                break;

            case 3:
                graphics.AddNewGraphicElement((DxfEntity)this, parentGraphicElementBlock, new GraphicElement1(new WW.Cad.Drawing.Surface.Geometry((IPrimitive) new TriangleWithEdges(this.list_0[0], this.list_0[1], this.list_0[2], !this.FirstEdgeInvisible, !this.SecondEdgeInvisible, !this.ThirdEdgeInvisible)), plotColor));
                break;

            case 4:
                graphics.AddNewGraphicElement((DxfEntity)this, parentGraphicElementBlock, new GraphicElement1(new WW.Cad.Drawing.Surface.Geometry((IPrimitive) new QuadWithEdges(this.list_0[0], this.list_0[1], this.list_0[2], this.list_0[3], !this.FirstEdgeInvisible, !this.SecondEdgeInvisible, !this.ThirdEdgeInvisible, !this.FourthEdgeInvisible)), plotColor));
                break;
            }
        }
コード例 #14
0
ファイル: DxfCircle.cs プロジェクト: 15831944/WW
 public override void DrawInternal(
     DrawContext.Surface context,
     WW.Cad.Drawing.Surface.Graphics graphics,
     IGraphicElementBlock parentGraphicElementBlock)
 {
     this.DrawInternal(context, graphics, parentGraphicElementBlock, 0.0, 2.0 * System.Math.PI);
 }
コード例 #15
0
ファイル: DxfCircle.cs プロジェクト: 15831944/WW
        protected void DrawInternal(
            DrawContext.Surface context,
            ISurfaceGraphicsFactory graphicsFactory,
            double startAngle,
            double endAngle)
        {
            graphicsFactory.SetColor(context.GetPlotColor((DxfEntity)this));
            IList <WW.Math.Geometry.Polyline3D> polylines;
            IList <FlatShape4D> shapes;

            this.GetPolylines((DrawContext)context, context.GetTransformer().LineTypeScaler, startAngle, endAngle, out polylines, out shapes);
            if (this.Thickness != 0.0)
            {
                Class940.Extrude((DxfEntity)this, context, graphicsFactory, polylines, false, this.Thickness * this.ZAxis);
            }
            else
            {
                Class940.smethod_16((DxfEntity)this, context, graphicsFactory, polylines, false);
            }
            if (shapes == null)
            {
                return;
            }
            Class940.smethod_24((IPathDrawer) new Class473((DxfEntity)this, context, graphicsFactory), (IEnumerable <FlatShape4D>)shapes, this.Color.ToColor(), context.GetLineWeight((DxfEntity)this), this.Thickness);
        }
コード例 #16
0
ファイル: DxfInsert.cs プロジェクト: 15831944/WW
 public void imethod_0(int row, int column, Matrix4D instanceTransform)
 {
     this.surface_1    = this.surface_0.CreateChildContext(this.dxfEntity_0, Matrix4D.Identity);
     this.insertCell_0 = new GraphicElementInsert.InsertCell(instanceTransform);
     this.graphicElementInsert_0.InsertCells[row, column] = this.insertCell_0;
     this.bool_0 = row == 0 && column == 0;
     this.bool_1 = false;
 }
コード例 #17
0
        public override void DrawInternal(
            DrawContext.Surface context,
            ISurfaceGraphicsFactory graphicsFactory)
        {
            graphicsFactory.SetColor(context.GetPlotColor((DxfEntity)this));
            IList <Polyline3D> polylines = this.GetPolylines();

            Class940.smethod_16((DxfEntity)this, context, graphicsFactory, polylines, false);
        }
コード例 #18
0
ファイル: DxfInsert.cs プロジェクト: 15831944/WW
 public Class1021(
     DxfEntity insert,
     DrawContext.Surface drawContext,
     ISurfaceGraphicsFactory graphicsFactory)
 {
     this.dxfEntity_0 = insert;
     this.surface_0   = drawContext;
     this.isurfaceGraphicsFactory_0 = graphicsFactory;
 }
コード例 #19
0
ファイル: DxfInsert.cs プロジェクト: 15831944/WW
 public void imethod_1(int row, int column, Matrix4D instanceTransform)
 {
     this.surface_1        = this.surface_0.CreateChildContext(this.dxfEntity_0, Matrix4D.Identity);
     this.surface_1.Row    = row;
     this.surface_1.Column = column;
     this.graphicElementInsert_0.AttributeBlockCells[row, column] = instanceTransform;
     this.bool_1 = row == 0 && column == 0;
     this.bool_0 = false;
 }
コード例 #20
0
ファイル: Class473.cs プロジェクト: 15831944/WW
 public Class473(
     DxfEntity entity,
     DrawContext.Surface context,
     ISurfaceGraphicsFactory graphicsFactory)
 {
     this.dxfEntity_0 = entity;
     this.surface_0   = context;
     this.isurfaceGraphicsFactory_0 = graphicsFactory;
 }
コード例 #21
0
 public void Draw(DrawContext.Surface context, ISurfaceGraphicsFactory graphicsFactory)
 {
     graphicsFactory.BeginNode(this, context);
     if (this.IsEntityVisibleInContext((DrawContext)context, this.UseLayerEnabled))
     {
         this.DrawInternal(context, graphicsFactory);
     }
     graphicsFactory.EndNode();
 }
コード例 #22
0
ファイル: DxfInsert.cs プロジェクト: 15831944/WW
 public Class1022(
     DxfEntity insert,
     DrawContext.Surface drawContext,
     Graphics graphics,
     IGraphicElementBlock parentGraphicElementBlock,
     GraphicElementInsert graphicElementInsert)
 {
     this.method_0(insert, drawContext, graphics, parentGraphicElementBlock, graphicElementInsert);
     graphicElementInsert.InsertCells = new GraphicElementInsert.InsertCell[1, 1];
 }
コード例 #23
0
ファイル: DxfIDBlockReference.cs プロジェクト: 15831944/WW
 public override void DrawInternal(
     DrawContext.Surface context,
     ISurfaceGraphicsFactory graphicsFactory)
 {
     if (!this.method_17((DrawContext)context))
     {
         return;
     }
     base.DrawInternal(context, graphicsFactory);
 }
コード例 #24
0
ファイル: DxfIDBlockReference.cs プロジェクト: 15831944/WW
 public override void DrawInternal(
     DrawContext.Surface context,
     Graphics graphics,
     IGraphicElementBlock parentGraphicElementBlock)
 {
     if (!this.method_17((DrawContext)context))
     {
         return;
     }
     base.DrawInternal(context, graphics, parentGraphicElementBlock);
 }
コード例 #25
0
ファイル: DxfInsert.cs プロジェクト: 15831944/WW
 public Class1022(
     DxfInsert insert,
     DrawContext.Surface drawContext,
     Graphics graphics,
     IGraphicElementBlock parentGraphicElementBlock,
     GraphicElementInsert graphicElementInsert)
 {
     this.method_0((DxfEntity)insert, drawContext, graphics, parentGraphicElementBlock, graphicElementInsert);
     graphicElementInsert.InsertCells         = new GraphicElementInsert.InsertCell[(int)insert.RowCount, (int)insert.ColumnCount];
     graphicElementInsert.AttributeBlockCells = new Matrix4D[(int)insert.RowCount, (int)insert.ColumnCount];
 }
コード例 #26
0
 public void Draw(
     DrawContext.Surface context,
     Graphics graphics,
     IGraphicElementBlock parentGraphicElementBlock)
 {
     if (!this.IsEntityVisibleInContext((DrawContext)context, this.UseLayerEnabled))
     {
         return;
     }
     this.DrawInternal(context, graphics, parentGraphicElementBlock);
 }
コード例 #27
0
ファイル: Class355.cs プロジェクト: 15831944/WW
 public Class355(
     DxfEntity entity,
     DrawContext.Surface context,
     Graphics graphics,
     IGraphicElementBlock parentGraphicElementBlock)
 {
     this.dxfEntity_0            = entity;
     this.surface_0              = context;
     this.graphics_0             = graphics;
     this.igraphicElementBlock_0 = parentGraphicElementBlock;
 }
コード例 #28
0
        public override void DrawInternal(
            DrawContext.Surface context,
            Graphics graphics,
            IGraphicElementBlock parentGraphicElementBlock)
        {
            DxfImageDef imageDef = this.ImageDef;

            if (imageDef == null || !imageDef.Bitmap.IsValid)
            {
                return;
            }
            List <WW.Math.Point2D> clipBoundary = (List <WW.Math.Point2D>) this.GetClipBoundary((DrawContext)context);

            if (clipBoundary == null || clipBoundary.Count <= 0 || !graphics.AddExistingGraphicElement1(parentGraphicElementBlock, (DxfEntity)this, ArgbColor.Empty))
            {
                return;
            }
            List <Triangulator2D.Triangle> triangleList = new List <Triangulator2D.Triangle>();
            List <WW.Math.Point2D>         point2DList  = new List <WW.Math.Point2D>();

            Triangulator2D.Triangulate((IList <IList <WW.Math.Point2D> >) new List <WW.Math.Point2D>[1]
            {
                clipBoundary
            }, (IList <Triangulator2D.Triangle>)triangleList, (IList <WW.Math.Point2D>)point2DList);
            Matrix4D matrix4D = this.method_15();

            WW.Math.Point2D[] point2DArray        = new WW.Math.Point2D[point2DList.Count];
            WW.Math.Point3D[] point3DArray        = new WW.Math.Point3D[point2DList.Count];
            Size2D            referencedImageSize = this.ReferencedImageSize;
            double            num1     = 1.0 / referencedImageSize.X;
            double            num2     = 1.0 / referencedImageSize.Y;
            Vector2D          vector2D = new Vector2D(0.5, 0.5);

            for (int index = point2DList.Count - 1; index >= 0; --index)
            {
                WW.Math.Point2D point = point2DList[index] + vector2D;
                point2DArray[index] = new WW.Math.Point2D(num1 * point.X, 1.0 - num2 * point.Y);
                point3DArray[index] = matrix4D.TransformTo3D(point);
            }
            GraphicElement1 graphicElement = new GraphicElement1(ArgbColor.Empty);

            graphics.AddNewGraphicElement((DxfEntity)this, parentGraphicElementBlock, graphicElement);
            TexturedTriangleList texturedTriangleList = new TexturedTriangleList();

            graphicElement.Geometry.Add((IPrimitive)texturedTriangleList);
            texturedTriangleList.RgbaBytes          = imageDef.Bitmap.GetRgbaBytes();
            texturedTriangleList.Width              = imageDef.Bitmap.Width;
            texturedTriangleList.Height             = imageDef.Bitmap.Height;
            texturedTriangleList.Normal             = matrix4D.Transform(WW.Math.Vector3D.ZAxis);
            texturedTriangleList.Triangles          = (IList <Triangulator2D.Triangle>)triangleList;
            texturedTriangleList.TextureCoordinates = (IList <WW.Math.Point2D>)point2DArray;
            texturedTriangleList.Points             = (IList <WW.Math.Point3D>)point3DArray;
        }
コード例 #29
0
 public static void smethod_16(
     DxfEntity entity,
     DrawContext.Surface context,
     ISurfaceGraphicsFactory graphicsFactory,
     IList <WW.Math.Geometry.Polyline3D> polylines,
     bool areSurfaces)
 {
     foreach (WW.Math.Geometry.Polyline3D polyline in (IEnumerable <WW.Math.Geometry.Polyline3D>)polylines)
     {
         Class940.smethod_17(entity, context, graphicsFactory, polyline, areSurfaces);
     }
 }
コード例 #30
0
        public static void smethod_19(
            DxfEntity entity,
            DrawContext.Surface context,
            ISurfaceGraphicsFactory graphicsFactory,
            List <WW.Math.Point3D> boundary,
            List <bool> edgeVisibleList)
        {
            Interface41 transformer = context.GetTransformer();
            Polyline4D  boundary1   = DxfUtil.smethod_46(new WW.Math.Geometry.Polyline3D((IList <WW.Math.Point3D>)boundary), transformer);

            Class940.smethod_20(entity, context, graphicsFactory, boundary1, edgeVisibleList);
        }