public override IGraphCloneable Clone(CloneContext cloneContext) { DxfPolygonSplineMesh polygonSplineMesh = (DxfPolygonSplineMesh)cloneContext.GetExistingClone((IGraphCloneable)this); if (polygonSplineMesh == null) { polygonSplineMesh = new DxfPolygonSplineMesh(); cloneContext.RegisterClone((IGraphCloneable)this, (IGraphCloneable)polygonSplineMesh); polygonSplineMesh.CopyFrom((DxfHandledObject)this, cloneContext); } return((IGraphCloneable)polygonSplineMesh); }
public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext) { base.CopyFrom(from, cloneContext); DxfPolygonSplineMesh polygonSplineMesh = (DxfPolygonSplineMesh)from; this.ushort_0 = polygonSplineMesh.ushort_0; this.ushort_1 = polygonSplineMesh.ushort_1; this.ushort_2 = polygonSplineMesh.ushort_2; this.ushort_3 = polygonSplineMesh.ushort_3; DxfPolygonSplineMesh.Clone((IList <DxfVertex3D>)polygonSplineMesh.dxfHandledObjectCollection_1, (IList <DxfVertex3D>) this.dxfHandledObjectCollection_1, cloneContext); DxfPolygonSplineMesh.Clone((IList <DxfVertex3D>)polygonSplineMesh.dxfHandledObjectCollection_2, (IList <DxfVertex3D>) this.dxfHandledObjectCollection_2, cloneContext); this.splineType_0 = polygonSplineMesh.splineType_0; }
public virtual void Visit(DxfPolygonSplineMesh mesh) { }
public virtual void Visit(DxfPolygonSplineMesh mesh) { this.VisitEntity((DxfEntity)mesh); }