/// <summary>The splice reinforcement bars if needed.</summary>
        /// <param name="newSpliceData">The splice data.</param>
        /// <param name="rebarGroups">The reinforcement bar groups.</param>
        /// <param name="ungroupedRebars">The ungrouped reinforcement bars.</param>
        /// <param name="splices">The splices.</param>
        /// <returns>The System.Boolean.</returns>
        public bool SpliceRebarsIfNeeded(SpliceData newSpliceData, ArrayList rebarGroups, ArrayList ungroupedRebars, out ArrayList splices)
        {
            var result = false;

            splices = new ArrayList();

            if (newSpliceData != null)
            {
                this.spliceData = newSpliceData;
            }

            if (this.spliceData != null)
            {
                result = this.SpliceRebarsIfNeeded(rebarGroups, ungroupedRebars, out splices);
            }

            return(result);
        }
 /// <summary>Initializes a new instance of the <see cref="SpliceRebarsInPart"/> class.</summary>
 /// <param name="newSpliceData">The splice data.</param>
 public SpliceRebarsInPart(SpliceData newSpliceData)
 {
     this.spliceData = newSpliceData;
 }