/// <summary> /// Deeps the copy. /// </summary> /// <returns></returns> public ClusterTool DeepCopy() { ClusterTool clusterTool = (ClusterTool)this.MemberwiseClone(); clusterTool.shape = this.shape; clusterTool.enable = this.enable; clusterTool.pinsX = this.pinsX; clusterTool.pinsY = this.pinsY; clusterTool.multiplierX = this.multiplierX; clusterTool.multiplierY = this.multiplierY; clusterTool.allowOverPunch = this.allowOverPunch; clusterTool.rotatable = this.rotatable; return(clusterTool); }
/// <summary> /// Initializes a new instance of the <see cref="PunchingTool"/> class. /// </summary> public PunchingTool() { angle = 0; clusterTool = new ClusterTool(); }