public override IGraphCloneable Clone(CloneContext cloneContext) { DxfPolyline3DSpline polyline3Dspline = (DxfPolyline3DSpline)cloneContext.GetExistingClone((IGraphCloneable)this); if (polyline3Dspline == null) { polyline3Dspline = new DxfPolyline3DSpline(); cloneContext.RegisterClone((IGraphCloneable)this, (IGraphCloneable)polyline3Dspline); polyline3Dspline.CopyFrom((DxfHandledObject)this, cloneContext); } return((IGraphCloneable)polyline3Dspline); }
public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext) { base.CopyFrom(from, cloneContext); DxfPolyline3DSpline polyline3Dspline = (DxfPolyline3DSpline)from; foreach (DxfHandledObject dxfHandledObject in (DxfHandledObjectCollection <DxfVertex3D>)polyline3Dspline.dxfVertex3DCollection_0) { this.dxfVertex3DCollection_0.Add((DxfVertex3D)dxfHandledObject.Clone(cloneContext)); } foreach (DxfHandledObject dxfHandledObject in (DxfHandledObjectCollection <DxfVertex3D>)polyline3Dspline.dxfVertex3DCollection_1) { this.dxfVertex3DCollection_1.Add((DxfVertex3D)dxfHandledObject.Clone(cloneContext)); } this.splineType_0 = polyline3Dspline.splineType_0; }
public virtual void Visit(DxfPolyline3DSpline polyline) { }
public virtual void Visit(DxfPolyline3DSpline polyline) { this.VisitEntity((DxfEntity)polyline); }