public override IGraphCloneable Clone(CloneContext cloneContext) { Dxf3DFace dxf3Dface = (Dxf3DFace)cloneContext.GetExistingClone((IGraphCloneable)this); if (dxf3Dface == null) { dxf3Dface = new Dxf3DFace(); cloneContext.RegisterClone((IGraphCloneable)this, (IGraphCloneable)dxf3Dface); dxf3Dface.CopyFrom((DxfHandledObject)this, cloneContext); } return((IGraphCloneable)dxf3Dface); }
public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext) { base.CopyFrom(from, cloneContext); Dxf3DFace dxf3Dface = (Dxf3DFace)from; if (this.list_0.Count == dxf3Dface.list_0.Count) { for (int index = 0; index < this.list_0.Count; ++index) { this.list_0[index] = dxf3Dface.list_0[index]; } } else { this.list_0.Clear(); this.list_0.AddRange((IEnumerable <WW.Math.Point3D>)dxf3Dface.list_0); } this.invisibleEdgeFlags_0 = dxf3Dface.invisibleEdgeFlags_0; }
public virtual void Visit(Dxf3DFace face) { }
public virtual void Visit(Dxf3DFace face) { this.VisitEntity((DxfEntity)face); }