ies</span>
            nDiscontinuities = this.getNumberOfDiscontinuities();
            <span class="keyword">for</span> i = 1:nDiscontinuities
                nDiscontinuitySeg = this.discontinuitySet(i).getNumberOfDiscontinuitySegments();
                <span class="keyword">for</span> j = 1:nDiscontinuitySeg
                    this.discontinuitySet(i).segment(j).addStretchingMode(this.addStretchingMode);
                    this.discontinuitySet(i).segment(j).addRelRotationMode(this.addRelRotationMode