public IGraphCloneable Clone(CloneContext cloneContext) { DxfBlockPolarStretchAction.StretchNode stretchNode = new DxfBlockPolarStretchAction.StretchNode(); stretchNode.Node = (DxfEvalGraph.GraphNodeId)cloneContext.Clone((IGraphCloneable)this.Node); stretchNode.PointIndexes = new int[this.PointIndexes.Length]; this.PointIndexes.CopyTo((Array)stretchNode.PointIndexes, 0); return((IGraphCloneable)stretchNode); }
public static DxfBlockPolarStretchAction.StretchNode[] Clone( CloneContext cloneContext, DxfBlockPolarStretchAction.StretchNode[] cloneFrom) { if (cloneFrom == null) { return((DxfBlockPolarStretchAction.StretchNode[])null); } DxfBlockPolarStretchAction.StretchNode[] stretchNodeArray = new DxfBlockPolarStretchAction.StretchNode[cloneFrom.Length]; for (int index = 0; index < cloneFrom.Length; ++index) { stretchNodeArray[index] = (DxfBlockPolarStretchAction.StretchNode)cloneFrom[index].Clone(cloneContext); } return(stretchNodeArray); }