コード例 #1
0
        private IList <Polyline4D> GetPolylines4D(IClippingTransformer transformer)
        {
            WW.Math.Geometry.Polyline3D        polyline3D     = this.method_13();
            List <WW.Math.Geometry.Polyline3D> polyline3DList = new List <WW.Math.Geometry.Polyline3D>(1);

            polyline3DList.Add(polyline3D);
            if (this.Thickness != 0.0)
            {
                DxfUtil.Extrude((IList <WW.Math.Geometry.Polyline3D>)polyline3DList, this.Thickness, this.ZAxis);
            }
            return(DxfUtil.smethod_36((IList <WW.Math.Geometry.Polyline3D>)polyline3DList, polyline3D.Closed, transformer));
        }
コード例 #2
0
 private void method_13(
     DrawContext context,
     IClippingTransformer transformer,
     out IList <WW.Math.Geometry.Polyline3D> polylines,
     out IList <FlatShape4D> flatShapes)
 {
     this.GetPolylines(context, transformer.LineTypeScaler, out polylines, out flatShapes);
     if (this.double_1 == 0.0)
     {
         return;
     }
     DxfUtil.Extrude(polylines, this.double_1, this.vector3D_0);
 }
コード例 #3
0
ファイル: DxfCircle.cs プロジェクト: 15831944/WW
        private void GetPolylines4D(
            DrawContext context,
            IClippingTransformer transformer,
            double startAngle,
            double endAngle,
            out IList <Polyline4D> polylines4D,
            out IList <FlatShape4D> shapes)
        {
            IList <WW.Math.Geometry.Polyline3D> polylines;

            this.GetPolylines(context, transformer.LineTypeScaler, startAngle, endAngle, out polylines, out shapes);
            if (this.Thickness != 0.0)
            {
                DxfUtil.Extrude(polylines, this.Thickness, this.ZAxis);
            }
            polylines4D = DxfUtil.smethod_36(polylines, false, transformer);
        }
コード例 #4
0
ファイル: DxfPolyline2DBase.cs プロジェクト: 15831944/WW
        private void GetPolylines4D(
            DrawContext context,
            IClippingTransformer transformer,
            out IList <Polyline4D> polylines4D,
            out IList <FlatShape4D> shapes,
            out bool fill)
        {
            IList <Polyline3D> polylines;

            this.GetPolylines(context, transformer.LineTypeScaler, out polylines, out shapes, out fill);
            fill = fill && this.ZAxis.X == 0.0 && this.ZAxis.Y == 0.0;
            if (this.Thickness != 0.0)
            {
                DxfUtil.Extrude(polylines, this.Thickness, this.ZAxis);
            }
            polylines4D = DxfUtil.smethod_36(polylines, fill, transformer);
        }