d(i),1)     -<span class="keyword">...</span>
0175                         A(zi).Nav.totDistNorth(ed(i),1) +<span class="keyword">...</span>
0176                         A(zi).Nav.totDistNorth(j,1);
0177                 <span class="keyword">end</span>
0178             <span class="keyword">end</span>
0179 
0180             <span class="keyword">if</span>  bg(i) &gt; 0 &amp;&amp; ed(i) &lt; length(A(zi).Nav.lat_deg)
0181                 xUTM(:,1)=A(zi).Comp.xUTM;
0182                 xUTM(:,2)=A(zi).Comp.xU