Example #1
0
        public override IGraphCloneable Clone(CloneContext cloneContext)
        {
            DxfPolyline2DSpline polyline2Dspline = (DxfPolyline2DSpline)cloneContext.GetExistingClone((IGraphCloneable)this);

            if (polyline2Dspline == null)
            {
                polyline2Dspline = new DxfPolyline2DSpline();
                cloneContext.RegisterClone((IGraphCloneable)this, (IGraphCloneable)polyline2Dspline);
                polyline2Dspline.CopyFrom((DxfHandledObject)this, cloneContext);
            }
            return((IGraphCloneable)polyline2Dspline);
        }
Example #2
0
        public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext)
        {
            base.CopyFrom(from, cloneContext);
            DxfPolyline2DSpline polyline2Dspline = (DxfPolyline2DSpline)from;

            foreach (DxfHandledObject dxfHandledObject in (DxfHandledObjectCollection <DxfVertex2D>)polyline2Dspline.dxfVertex2DCollection_0)
            {
                this.dxfVertex2DCollection_0.Add((DxfVertex2D)dxfHandledObject.Clone(cloneContext));
            }
            foreach (DxfHandledObject dxfHandledObject in (DxfHandledObjectCollection <DxfVertex2D>)polyline2Dspline.dxfVertex2DCollection_1)
            {
                this.dxfVertex2DCollection_1.Add((DxfVertex2D)dxfHandledObject.Clone(cloneContext));
            }
            this.splineType_0 = polyline2Dspline.splineType_0;
        }
Example #3
0
 public Class948(DxfPolyline2DSpline spline, int power, GraphicsConfig graphicsConfig)
 {
     this.dxfPolyline2DSpline_0 = spline;
     this.int_0            = power;
     this.graphicsConfig_0 = graphicsConfig;
 }
Example #4
0
 public Class947(DxfPolyline2DSpline spline)
 {
     this.dxfPolyline2DSpline_0 = spline;
 }
Example #5
0
 public virtual void Visit(DxfPolyline2DSpline polyline)
 {
 }
Example #6
0
 public virtual void Visit(DxfPolyline2DSpline polyline)
 {
     this.VisitEntity((DxfEntity)polyline);
 }