﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="0.99.6884.37264"?>
<worksheet xmlns="http://smath.info/schemas/worksheet/1.0">
  <settings dpi="96">
    <identity>
      <id>ed5395d0-c219-44a8-85a9-3cb8c46fc354</id>
      <revision>188</revision>
    </identity>
    <calculation>
      <precision>4</precision>
      <exponentialThreshold>5</exponentialThreshold>
      <trailingZeros>false</trailingZeros>
      <significantDigitsMode>false</significantDigitsMode>
      <roundingMode>0</roundingMode>
      <fractions>decimal</fractions>
    </calculation>
    <pageModel active="false" viewMode="2" printGrid="false" printAreas="true" simpleEqualsOnly="false" printBackgroundImages="true">
      <paper id="1" orientation="Portrait" width="850" height="1100" />
      <margins left="39" right="39" top="49" bottom="49" />
      <header alignment="Center" color="#a9a9a9">&amp;[DATE] &amp;[TIME] - &amp;[FILENAME]</header>
      <footer alignment="Center" color="#a9a9a9">&amp;[PAGENUM] / &amp;[COUNT]</footer>
      <backgrounds />
    </pageModel>
    <dependencies>
      <assembly name="SMath Studio Desktop" version="0.99.6884.37264" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="Math Region" version="0.99.6884.37264" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="TextRegion" version="1.11.6884.37264" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
    </dependencies>
  </settings>
  <regions type="content">
    <region id="0" left="9" top="0" width="463" height="24" border="true" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="eng">
        <p bold="true">User Defined lookup functions for use in this workbook.</p>
      </text>
    </region>
    <region id="1" top="36" color="#000000" bgColor="#ffffff">
      <area collapsed="true" />
      <region id="2" left="9" top="72" width="531" height="218" color="#000000" bgColor="#ffffff" fontSize="10">
        <math>
          <input>
            <e type="operand">value</e>
            <e type="operand">table</e>
            <e type="operand">column</e>
            <e type="function" args="3">vlookup</e>
            <e type="operand">k</e>
            <e type="operand">1</e>
            <e type="operator" args="2">:</e>
            <e type="operand">j</e>
            <e type="operand">1</e>
            <e type="operator" args="2">:</e>
            <e type="operand">j</e>
            <e type="operand">table</e>
            <e type="function" args="1">rows</e>
            <e type="operator" args="2">≤</e>
            <e type="operand">j</e>
            <e type="operand">j</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="operator" args="2">:</e>
            <e type="operand">table</e>
            <e type="operand">j</e>
            <e type="operand">1</e>
            <e type="function" args="3">el</e>
            <e type="operand">value</e>
            <e type="operator" args="2">≡</e>
            <e type="operand">result</e>
            <e type="operand">k</e>
            <e type="operand">1</e>
            <e type="function" args="3">el</e>
            <e type="operand">table</e>
            <e type="operand">j</e>
            <e type="operand">column</e>
            <e type="function" args="3">el</e>
            <e type="operator" args="2">:</e>
            <e type="operand">k</e>
            <e type="operand">k</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="operator" args="2">:</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="function" args="4">line</e>
            <e type="operand">0</e>
            <e type="function" args="3">if</e>
            <e type="function" args="4">for</e>
            <e type="operand">result</e>
            <e type="function" args="1">IsDefined</e>
            <e type="operand">result</e>
            <e type="operand" style="string">no match</e>
            <e type="function" args="3">if</e>
            <e type="operand">3</e>
            <e type="operand">1</e>
            <e type="function" args="5">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region id="3" left="9" top="315" width="513" height="171" color="#000000" bgColor="#ffffff" fontSize="10">
        <math optimize="2">
          <input>
            <e type="operand">value</e>
            <e type="operand">table</e>
            <e type="operand">row</e>
            <e type="function" args="3">hlookup</e>
            <e type="operand">k</e>
            <e type="operand">1</e>
            <e type="operator" args="2">:</e>
            <e type="operand">j</e>
            <e type="operand">1</e>
            <e type="operator" args="2">:</e>
            <e type="operand">j</e>
            <e type="operand">table</e>
            <e type="function" args="1">cols</e>
            <e type="operator" args="2">≤</e>
            <e type="operand">j</e>
            <e type="operand">j</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="operator" args="2">:</e>
            <e type="operand">table</e>
            <e type="operand">1</e>
            <e type="operand">j</e>
            <e type="function" args="3">el</e>
            <e type="operand">value</e>
            <e type="operator" args="2">≡</e>
            <e type="operand">result</e>
            <e type="operand">1</e>
            <e type="operand">k</e>
            <e type="function" args="3">el</e>
            <e type="operand">table</e>
            <e type="operand">row</e>
            <e type="operand">j</e>
            <e type="function" args="3">el</e>
            <e type="operator" args="2">:</e>
            <e type="operand">k</e>
            <e type="operand">k</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="operator" args="2">:</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="function" args="4">line</e>
            <e type="operand">0</e>
            <e type="function" args="3">if</e>
            <e type="function" args="4">for</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="function" args="4">line</e>
            <e type="operand">result</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="function" args="4">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region id="4" top="504" color="#000000" bgColor="#ffffff">
        <area terminator="true" />
      </region>
    </region>
    <region id="5" left="18" top="531" width="674" height="40" border="true" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="eng">
        <p bold="true">Input point values for baseline, as taken from InRoads report or other reference.Define line segments (start and end point numbers) that define the baseline.</p>
      </text>
    </region>
    <region id="6" left="18" top="576" width="470" height="31" color="#000000" bgColor="#ffffff" fontSize="10">
      <math optimize="2">
        <input>
          <e type="operand">points.head</e>
          <e type="operand" style="string">point no.</e>
          <e type="operand" style="string">type</e>
          <e type="operand" style="string">STA</e>
          <e type="operand" style="string">Northing</e>
          <e type="operand" style="string">Easting</e>
          <e type="operand">1</e>
          <e type="operand">5</e>
          <e type="function" args="7">mat</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="7" left="18" top="612" width="438" height="31" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">segs.head</e>
          <e type="operand" style="string">No.</e>
          <e type="operand" style="string">type</e>
          <e type="operand" style="string">start pt.</e>
          <e type="operand" style="string">end pt.</e>
          <e type="operand" style="string">center</e>
          <e type="operand">1</e>
          <e type="operand">5</e>
          <e type="function" args="7">mat</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="8" left="18" top="657" width="671" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="eng">
        <p bold="true">NOTE: A "lookup function is used later in these calculations. Make sure that the "point no." column is listed in ascending order...for now... </p>
      </text>
    </region>
    <region id="9" left="18" top="720" width="283" height="31" color="#000000" bgColor="#ffffb3" fontSize="10">
      <math optimize="2">
        <input>
          <e type="operand">points.1</e>
          <e type="operand">1001</e>
          <e type="operand" style="string">linePT</e>
          <e type="operand">726.32</e>
          <e type="operand">0</e>
          <e type="operand">0</e>
          <e type="operand">1</e>
          <e type="operand">5</e>
          <e type="function" args="7">mat</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="10" left="441" top="720" width="251" height="31" color="#000000" bgColor="#ffffb3" fontSize="10">
      <math>
        <input>
          <e type="operand">segs.1</e>
          <e type="operand">101</e>
          <e type="operand" style="string">line</e>
          <e type="operand">1001</e>
          <e type="operand">1002</e>
          <e type="operand">0</e>
          <e type="operand">1</e>
          <e type="operand">5</e>
          <e type="function" args="7">mat</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="11" left="18" top="756" width="323" height="31" color="#000000" bgColor="#ffffb3" fontSize="10">
      <math optimize="2">
        <input>
          <e type="operand">points.2</e>
          <e type="operand">1002</e>
          <e type="operand" style="string">PI/PT</e>
          <e type="operand">770.83</e>
          <e type="operand">21.5</e>
          <e type="operand">5.75</e>
          <e type="operand">1</e>
          <e type="operand">5</e>
          <e type="function" args="7">mat</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="12" left="441" top="756" width="251" height="31" color="#000000" bgColor="#ffffb3" fontSize="10">
      <math>
        <input>
          <e type="operand">segs.2</e>
          <e type="operand">201</e>
          <e type="operand" style="string">line</e>
          <e type="operand">1002</e>
          <e type="operand">1003</e>
          <e type="operand">0</e>
          <e type="operand">1</e>
          <e type="operand">5</e>
          <e type="function" args="7">mat</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="13" left="18" top="792" width="283" height="31" color="#000000" bgColor="#ffffb3" fontSize="10">
      <math optimize="2">
        <input>
          <e type="operand">points.3</e>
          <e type="operand">1003</e>
          <e type="operand" style="string">PC</e>
          <e type="operand">770.83</e>
          <e type="operand">43</e>
          <e type="operand">11.5</e>
          <e type="operand">1</e>
          <e type="operand">5</e>
          <e type="function" args="7">mat</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="14" left="441" top="792" width="283" height="31" color="#000000" bgColor="#ffffb3" fontSize="10">
      <math>
        <input>
          <e type="operand">segs.3</e>
          <e type="operand">301</e>
          <e type="operand" style="string">curve</e>
          <e type="operand">1003</e>
          <e type="operand">1006</e>
          <e type="operand">1005</e>
          <e type="operand">1</e>
          <e type="operand">5</e>
          <e type="function" args="7">mat</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="15" left="18" top="837" width="259" height="31" color="#000000" bgColor="#ffffb3" fontSize="10">
      <math optimize="2">
        <input>
          <e type="operand">points.4</e>
          <e type="operand">1004</e>
          <e type="operand" style="string">PI</e>
          <e type="operand">0</e>
          <e type="operand">5000</e>
          <e type="operand">5000</e>
          <e type="operand">1</e>
          <e type="operand">5</e>
          <e type="function" args="7">mat</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="16" left="441" top="837" width="251" height="31" color="#000000" bgColor="#ffff9d" fontSize="10">
      <math>
        <input>
          <e type="operand">segs.4</e>
          <e type="operand">401</e>
          <e type="operand" style="string">line</e>
          <e type="operand">1006</e>
          <e type="operand">1007</e>
          <e type="operand">0</e>
          <e type="operand">1</e>
          <e type="operand">5</e>
          <e type="function" args="7">mat</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="17" left="18" top="873" width="331" height="31" color="#000000" bgColor="#ffffb3" fontSize="10">
      <math optimize="2">
        <input>
          <e type="operand">points.5</e>
          <e type="operand">1005</e>
          <e type="operand" style="string">CC</e>
          <e type="operand">0</e>
          <e type="operand">445.3870</e>
          <e type="operand">1858.0027</e>
          <e type="operand">1</e>
          <e type="operand">5</e>
          <e type="function" args="7">mat</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="18" left="18" top="909" width="291" height="31" color="#000000" bgColor="#ffffb3" fontSize="10">
      <math optimize="2">
        <input>
          <e type="operand">points.6</e>
          <e type="operand">1006</e>
          <e type="operand" style="string">PT</e>
          <e type="operand">899.33</e>
          <e type="operand">166</e>
          <e type="operand">48.5</e>
          <e type="operand">1</e>
          <e type="operand">5</e>
          <e type="function" args="7">mat</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="19" left="18" top="945" width="299" height="31" color="#000000" bgColor="#ffffb3" fontSize="10">
      <math optimize="2">
        <input>
          <e type="operand">points.7</e>
          <e type="operand">1007</e>
          <e type="operand" style="string">PI/PT</e>
          <e type="operand">1000</e>
          <e type="operand">261.5</e>
          <e type="operand">81</e>
          <e type="operand">1</e>
          <e type="operand">5</e>
          <e type="function" args="7">mat</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="20" left="18" top="1017" width="597" height="32" color="#000000" bgColor="#ffff9d" fontSize="10">
      <math>
        <input>
          <e type="operand">points</e>
          <e type="operand">points.1</e>
          <e type="operand">points.2</e>
          <e type="operand">points.3</e>
          <e type="operand">points.4</e>
          <e type="operand">points.5</e>
          <e type="operand">points.6</e>
          <e type="operand">points.7</e>
          <e type="function" args="7">stack</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="21" left="18" top="1053" width="313" height="32" color="#000000" bgColor="#ffff9d" fontSize="10">
      <math>
        <input>
          <e type="operand">segs</e>
          <e type="operand">segs.1</e>
          <e type="operand">segs.2</e>
          <e type="operand">segs.3</e>
          <e type="operand">segs.4</e>
          <e type="function" args="4">stack</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="22" left="18" top="1098" width="399" height="135" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">points</e>
        </input>
        <result action="numeric">
          <e type="operand">1001</e>
          <e type="operand" style="string">linePT</e>
          <e type="operand">726.32</e>
          <e type="operand">0</e>
          <e type="operand">0</e>
          <e type="operand">1002</e>
          <e type="operand" style="string">PI/PT</e>
          <e type="operand">770.83</e>
          <e type="operand">21.5</e>
          <e type="operand">5.75</e>
          <e type="operand">1003</e>
          <e type="operand" style="string">PC</e>
          <e type="operand">770.83</e>
          <e type="operand">43</e>
          <e type="operand">11.5</e>
          <e type="operand">1004</e>
          <e type="operand" style="string">PI</e>
          <e type="operand">0</e>
          <e type="operand">5000</e>
          <e type="operand">5000</e>
          <e type="operand">1005</e>
          <e type="operand" style="string">CC</e>
          <e type="operand">0</e>
          <e type="operand">445.387</e>
          <e type="operand">1858.0027</e>
          <e type="operand">1006</e>
          <e type="operand" style="string">PT</e>
          <e type="operand">899.33</e>
          <e type="operand">166</e>
          <e type="operand">48.5</e>
          <e type="operand">1007</e>
          <e type="operand" style="string">PI/PT</e>
          <e type="operand">1000</e>
          <e type="operand">261.5</e>
          <e type="operand">81</e>
          <e type="operand">7</e>
          <e type="operand">5</e>
          <e type="function" args="37">mat</e>
        </result>
      </math>
    </region>
    <region id="23" left="441" top="1134" width="287" height="81" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">segs</e>
        </input>
        <result action="numeric">
          <e type="operand">101</e>
          <e type="operand" style="string">line</e>
          <e type="operand">1001</e>
          <e type="operand">1002</e>
          <e type="operand">0</e>
          <e type="operand">201</e>
          <e type="operand" style="string">line</e>
          <e type="operand">1002</e>
          <e type="operand">1003</e>
          <e type="operand">0</e>
          <e type="operand">301</e>
          <e type="operand" style="string">curve</e>
          <e type="operand">1003</e>
          <e type="operand">1006</e>
          <e type="operand">1005</e>
          <e type="operand">401</e>
          <e type="operand" style="string">line</e>
          <e type="operand">1006</e>
          <e type="operand">1007</e>
          <e type="operand">0</e>
          <e type="operand">4</e>
          <e type="operand">5</e>
          <e type="function" args="22">mat</e>
        </result>
      </math>
    </region>
    <region id="24" left="9" top="1296" width="602" height="24" border="true" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="eng">
        <p bold="true">Assuming fascia lines are parallel the baseline, define offset distance.</p>
      </text>
    </region>
    <region id="25" left="639" top="1296" width="60" height="30" border="true" color="#000000" bgColor="#ffffc4" fontSize="10">
      <math optimize="2">
        <input>
          <e type="operand">Δ.o</e>
          <e type="operand">10</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="26" top="1350" color="#000000" bgColor="#ffffff">
      <area single="true" collapsed="true" />
    </region>
    <region id="27" left="9" top="1395" width="711" height="24" border="true" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="eng">
        <p bold="true">Routine that will assemble table with Northing and Eastings for baseline coordinates.</p>
      </text>
    </region>
    <region id="28" left="9" top="1431" width="663" height="448" color="#000000" bgColor="#ffffff" fontSize="10">
      <math optimize="2">
        <input>
          <e type="operand">Tseg</e>
          <e type="operand">Tpnt</e>
          <e type="function" args="2">Coors</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="operand">Tseg</e>
          <e type="function" args="1">rows</e>
          <e type="function" args="2">range</e>
          <e type="operand">Seg</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">Tseg</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="function" args="3">el</e>
          <e type="operator" args="2">:</e>
          <e type="operand">Type</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">Tseg</e>
          <e type="operand">i</e>
          <e type="operand">2</e>
          <e type="function" args="3">el</e>
          <e type="operator" args="2">:</e>
          <e type="operand">Nor_b</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">Tseg</e>
          <e type="operand">i</e>
          <e type="operand">3</e>
          <e type="function" args="3">el</e>
          <e type="operand">Tpnt</e>
          <e type="operand">4</e>
          <e type="function" args="3">vlookup</e>
          <e type="function" args="1">det</e>
          <e type="operator" args="2">:</e>
          <e type="operand">East_b</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">Tseg</e>
          <e type="operand">i</e>
          <e type="operand">3</e>
          <e type="function" args="3">el</e>
          <e type="operand">Tpnt</e>
          <e type="operand">5</e>
          <e type="function" args="3">vlookup</e>
          <e type="function" args="1">det</e>
          <e type="operator" args="2">:</e>
          <e type="operand">Nor_e</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">Tseg</e>
          <e type="operand">i</e>
          <e type="operand">4</e>
          <e type="function" args="3">el</e>
          <e type="operand">Tpnt</e>
          <e type="operand">4</e>
          <e type="function" args="3">vlookup</e>
          <e type="function" args="1">det</e>
          <e type="operator" args="2">:</e>
          <e type="operand">East_e</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">Tseg</e>
          <e type="operand">i</e>
          <e type="operand">4</e>
          <e type="function" args="3">el</e>
          <e type="operand">Tpnt</e>
          <e type="operand">5</e>
          <e type="function" args="3">vlookup</e>
          <e type="function" args="1">det</e>
          <e type="operator" args="2">:</e>
          <e type="operand">Tseg</e>
          <e type="operand">i</e>
          <e type="operand">2</e>
          <e type="function" args="3">el</e>
          <e type="operand" style="string">line</e>
          <e type="operator" args="2">≡</e>
          <e type="operand">Nor_c</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">0</e>
          <e type="operator" args="2">:</e>
          <e type="operand">East_c</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">0</e>
          <e type="operator" args="2">:</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">line</e>
          <e type="operand">Tseg</e>
          <e type="operand">i</e>
          <e type="operand">2</e>
          <e type="function" args="3">el</e>
          <e type="operand" style="string">curve</e>
          <e type="operator" args="2">≡</e>
          <e type="operand">Nor_c</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">Tseg</e>
          <e type="operand">i</e>
          <e type="operand">5</e>
          <e type="function" args="3">el</e>
          <e type="operand">Tpnt</e>
          <e type="operand">4</e>
          <e type="function" args="3">vlookup</e>
          <e type="function" args="1">det</e>
          <e type="operator" args="2">:</e>
          <e type="operand">East_c</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">Tseg</e>
          <e type="operand">i</e>
          <e type="operand">5</e>
          <e type="function" args="3">el</e>
          <e type="operand">Tpnt</e>
          <e type="operand">5</e>
          <e type="function" args="3">vlookup</e>
          <e type="function" args="1">det</e>
          <e type="operator" args="2">:</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">line</e>
          <e type="operand" style="string">UH-OH! :-(</e>
          <e type="function" args="3">if</e>
          <e type="function" args="3">if</e>
          <e type="operand">7</e>
          <e type="operand">1</e>
          <e type="function" args="9">line</e>
          <e type="function" args="3">for</e>
          <e type="operand">Seg</e>
          <e type="operand">Type</e>
          <e type="operand">Nor_b</e>
          <e type="operand">East_b</e>
          <e type="operand">Nor_e</e>
          <e type="operand">East_e</e>
          <e type="operand">Nor_c</e>
          <e type="operand">East_c</e>
          <e type="function" args="8">augment</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="29" left="9" top="1917" width="720" height="31" color="#000000" bgColor="#ffffff" fontSize="10">
      <math optimize="2">
        <input>
          <e type="operand">coor.head</e>
          <e type="operand" style="string">Seg. No.</e>
          <e type="operand" style="string">tpe</e>
          <e type="operand" style="string">Beg Nor</e>
          <e type="operand" style="string">Beg East</e>
          <e type="operand" style="string">End Nor</e>
          <e type="operand" style="string">End East</e>
          <e type="operand" style="string">Ctr Nor</e>
          <e type="operand" style="string">Ctr East</e>
          <e type="operand">1</e>
          <e type="operand">8</e>
          <e type="function" args="10">mat</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="30" left="9" top="1953" width="766" height="31" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">prop.head</e>
          <e type="operand" style="string">No.</e>
          <e type="operand" style="string">type</e>
          <e type="operand" style="string">length</e>
          <e type="operand" style="string">slope, m</e>
          <e type="operand" style="string">y-int, b</e>
          <e type="operand" style="string">theta</e>
          <e type="operand" style="string">chord</e>
          <e type="operand" style="string">radius</e>
          <e type="operand" style="string">central andgle</e>
          <e type="operand">1</e>
          <e type="operand">9</e>
          <e type="function" args="11">mat</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="31" top="2034" color="#000000" bgColor="#ffffff">
      <area single="true" collapsed="true" />
    </region>
    <region id="32" left="9" top="2061" width="735" height="24" border="true" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="eng">
        <p bold="true">Routine that will assemble table baseline segment (line and curve) geometric properties.</p>
      </text>
    </region>
    <region id="33" left="9" top="2097" width="755" height="863" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">Tseg</e>
          <e type="operand">Tpnt</e>
          <e type="function" args="2">Props</e>
          <e type="operand">mCoors</e>
          <e type="operand">Tseg</e>
          <e type="operand">Tpnt</e>
          <e type="function" args="2">Coors</e>
          <e type="operator" args="2">:</e>
          <e type="operand">Seg</e>
          <e type="operand">mCoors</e>
          <e type="operand">1</e>
          <e type="operand">mCoors</e>
          <e type="function" args="1">rows</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="5">submatrix</e>
          <e type="operator" args="2">:</e>
          <e type="operand">Type</e>
          <e type="operand">mCoors</e>
          <e type="operand">1</e>
          <e type="operand">mCoors</e>
          <e type="function" args="1">rows</e>
          <e type="operand">2</e>
          <e type="operand">2</e>
          <e type="function" args="5">submatrix</e>
          <e type="operator" args="2">:</e>
          <e type="operand">Nor_b</e>
          <e type="operand">mCoors</e>
          <e type="operand">1</e>
          <e type="operand">mCoors</e>
          <e type="function" args="1">rows</e>
          <e type="operand">3</e>
          <e type="operand">3</e>
          <e type="function" args="5">submatrix</e>
          <e type="operator" args="2">:</e>
          <e type="operand">East_b</e>
          <e type="operand">mCoors</e>
          <e type="operand">1</e>
          <e type="operand">mCoors</e>
          <e type="function" args="1">rows</e>
          <e type="operand">4</e>
          <e type="operand">4</e>
          <e type="function" args="5">submatrix</e>
          <e type="operator" args="2">:</e>
          <e type="operand">Nor_e</e>
          <e type="operand">mCoors</e>
          <e type="operand">1</e>
          <e type="operand">mCoors</e>
          <e type="function" args="1">rows</e>
          <e type="operand">5</e>
          <e type="operand">5</e>
          <e type="function" args="5">submatrix</e>
          <e type="operator" args="2">:</e>
          <e type="operand">East_e</e>
          <e type="operand">mCoors</e>
          <e type="operand">1</e>
          <e type="operand">mCoors</e>
          <e type="function" args="1">rows</e>
          <e type="operand">6</e>
          <e type="operand">6</e>
          <e type="function" args="5">submatrix</e>
          <e type="operator" args="2">:</e>
          <e type="operand">Nor_c</e>
          <e type="operand">mCoors</e>
          <e type="operand">1</e>
          <e type="operand">mCoors</e>
          <e type="function" args="1">rows</e>
          <e type="operand">7</e>
          <e type="operand">7</e>
          <e type="function" args="5">submatrix</e>
          <e type="operator" args="2">:</e>
          <e type="operand">East_c</e>
          <e type="operand">mCoors</e>
          <e type="operand">1</e>
          <e type="operand">mCoors</e>
          <e type="function" args="1">rows</e>
          <e type="operand">8</e>
          <e type="operand">8</e>
          <e type="function" args="5">submatrix</e>
          <e type="operator" args="2">:</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="operand">mCoors</e>
          <e type="function" args="1">rows</e>
          <e type="function" args="2">range</e>
          <e type="operand">Type</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand" style="string">line</e>
          <e type="operator" args="2">≡</e>
          <e type="operand">Len</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">Nor_e</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">Nor_b</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">-</e>
          <e type="bracket">(</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operand">East_e</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">East_b</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">-</e>
          <e type="bracket">(</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">+</e>
          <e type="function" args="1">sqrt</e>
          <e type="operator" args="2">:</e>
          <e type="operand">slope</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">Nor_e</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">Nor_b</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">-</e>
          <e type="bracket">(</e>
          <e type="operand">East_e</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">East_b</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">-</e>
          <e type="bracket">(</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">:</e>
          <e type="operand">yint</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">Nor_b</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">slope</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">East_b</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">:</e>
          <e type="operand">theta</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">East_e</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">East_b</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">-</e>
          <e type="operand">Nor_e</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">Nor_b</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">/</e>
          <e type="function" args="1">atan</e>
          <e type="operand">180</e>
          <e type="operand">π</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
          <e type="operand">chord</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">0</e>
          <e type="operator" args="2">:</e>
          <e type="operand">radius</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">0</e>
          <e type="operator" args="2">:</e>
          <e type="operand">central</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">0</e>
          <e type="operator" args="2">:</e>
          <e type="operand">7</e>
          <e type="operand">1</e>
          <e type="function" args="9">line</e>
          <e type="operand">Type</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand" style="string">curve</e>
          <e type="operator" args="2">≡</e>
          <e type="operand">central</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">East_e</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">East_c</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">-</e>
          <e type="operand">Nor_e</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">Nor_c</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">/</e>
          <e type="function" args="1">atan</e>
          <e type="operand">East_b</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">East_c</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">-</e>
          <e type="operand">Nor_b</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">Nor_c</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">-</e>
          <e type="operator" args="2">/</e>
          <e type="function" args="1">atan</e>
          <e type="operator" args="2">-</e>
          <e type="bracket">(</e>
          <e type="operand">180</e>
          <e type="operand">π</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
          <e type="operand">radius</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">Nor_c</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">Nor_b</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">-</e>
          <e type="bracket">(</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operand">East_c</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">East_b</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">-</e>
          <e type="bracket">(</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">+</e>
          <e type="function" args="1">sqrt</e>
          <e type="operator" args="2">:</e>
          <e type="operand">chord</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">Nor_e</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">Nor_b</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">-</e>
          <e type="bracket">(</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operand">East_e</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">East_b</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">-</e>
          <e type="bracket">(</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">+</e>
          <e type="function" args="1">sqrt</e>
          <e type="operator" args="2">:</e>
          <e type="operand">theta</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">0</e>
          <e type="operator" args="2">:</e>
          <e type="operand">yint</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">0</e>
          <e type="operator" args="2">:</e>
          <e type="operand">slope</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">0</e>
          <e type="operator" args="2">:</e>
          <e type="operand">Len</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">radius</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">central</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">*</e>
          <e type="operand">π</e>
          <e type="operand">180</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
          <e type="operand">7</e>
          <e type="operand">1</e>
          <e type="function" args="9">line</e>
          <e type="operand" style="string">UH-OH! :-(</e>
          <e type="function" args="3">if</e>
          <e type="function" args="3">if</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="3">line</e>
          <e type="function" args="3">for</e>
          <e type="operand">Seg</e>
          <e type="operand">Type</e>
          <e type="operand">Len</e>
          <e type="operand">slope</e>
          <e type="operand">yint</e>
          <e type="operand">theta</e>
          <e type="operand">chord</e>
          <e type="operand">radius</e>
          <e type="operand">central</e>
          <e type="function" args="9">augment</e>
          <e type="operand">11</e>
          <e type="operand">1</e>
          <e type="function" args="13">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="34" top="2970" color="#000000" bgColor="#ffffff">
      <area single="true" collapsed="true" />
    </region>
    <region id="35" left="9" top="3006" width="726" height="40" border="true" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="eng">
        <p bold="true">Routine to calculate parallel fascia line coordinates and properties, based on baselineand previously entered offset value.</p>
      </text>
    </region>
    <region id="36" left="18" top="3060" width="707" height="564" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">Tab.coor</e>
          <e type="operand">Tab.prop</e>
          <e type="operand">Δ</e>
          <e type="function" args="3">names</e>
          <e type="operand" style="string">Create ZERO matrix...</e>
          <e type="operand">BOT</e>
          <e type="operand">1</e>
          <e type="operand">Tab.coor</e>
          <e type="function" args="1">rows</e>
          <e type="function" args="2">range</e>
          <e type="operand">1</e>
          <e type="operand">Tab.coor</e>
          <e type="function" args="1">cols</e>
          <e type="operand">Tab.prop</e>
          <e type="function" args="1">cols</e>
          <e type="operator" args="2">+</e>
          <e type="operand">2</e>
          <e type="operator" args="2">-</e>
          <e type="bracket">(</e>
          <e type="function" args="2">range</e>
          <e type="function" args="3">el</e>
          <e type="operand">0</e>
          <e type="operator" args="2">:</e>
          <e type="operand" style="string">Break up tables into local vectors for easy notation</e>
          <e type="operand">Seg</e>
          <e type="operand">Tab.coor</e>
          <e type="operand">1</e>
          <e type="operand">Tab.coor</e>
          <e type="function" args="1">rows</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="5">submatrix</e>
          <e type="operator" args="2">:</e>
          <e type="operand">Type</e>
          <e type="operand">Tab.coor</e>
          <e type="operand">1</e>
          <e type="operand">Tab.coor</e>
          <e type="function" args="1">rows</e>
          <e type="operand">2</e>
          <e type="operand">2</e>
          <e type="function" args="5">submatrix</e>
          <e type="operator" args="2">:</e>
          <e type="operand">Nor_b</e>
          <e type="operand">Tab.coor</e>
          <e type="operand">1</e>
          <e type="operand">Tab.coor</e>
          <e type="function" args="1">rows</e>
          <e type="operand">3</e>
          <e type="operand">3</e>
          <e type="function" args="5">submatrix</e>
          <e type="operator" args="2">:</e>
          <e type="operand">East_b</e>
          <e type="operand">Tab.coor</e>
          <e type="operand">1</e>
          <e type="operand">Tab.coor</e>
          <e type="function" args="1">rows</e>
          <e type="operand">4</e>
          <e type="operand">4</e>
          <e type="function" args="5">submatrix</e>
          <e type="operator" args="2">:</e>
          <e type="operand">Nor_e</e>
          <e type="operand">Tab.coor</e>
          <e type="operand">1</e>
          <e type="operand">Tab.coor</e>
          <e type="function" args="1">rows</e>
          <e type="operand">5</e>
          <e type="operand">5</e>
          <e type="function" args="5">submatrix</e>
          <e type="operator" args="2">:</e>
          <e type="operand">East_e</e>
          <e type="operand">Tab.coor</e>
          <e type="operand">1</e>
          <e type="operand">Tab.coor</e>
          <e type="function" args="1">rows</e>
          <e type="operand">6</e>
          <e type="operand">6</e>
          <e type="function" args="5">submatrix</e>
          <e type="operator" args="2">:</e>
          <e type="operand">Nor_c</e>
          <e type="operand">Tab.coor</e>
          <e type="operand">1</e>
          <e type="operand">Tab.coor</e>
          <e type="function" args="1">rows</e>
          <e type="operand">7</e>
          <e type="operand">7</e>
          <e type="function" args="5">submatrix</e>
          <e type="operator" args="2">:</e>
          <e type="operand">East_c</e>
          <e type="operand">Tab.coor</e>
          <e type="operand">1</e>
          <e type="operand">Tab.coor</e>
          <e type="function" args="1">rows</e>
          <e type="operand">8</e>
          <e type="operand">8</e>
          <e type="function" args="5">submatrix</e>
          <e type="operator" args="2">:</e>
          <e type="operand">Len</e>
          <e type="operand">Tab.prop</e>
          <e type="operand">1</e>
          <e type="operand">Tab.prop</e>
          <e type="function" args="1">rows</e>
          <e type="operand">3</e>
          <e type="operand">3</e>
          <e type="function" args="5">submatrix</e>
          <e type="operator" args="2">:</e>
          <e type="operand">slope</e>
          <e type="operand">Tab.prop</e>
          <e type="operand">1</e>
          <e type="operand">Tab.prop</e>
          <e type="function" args="1">rows</e>
          <e type="operand">4</e>
          <e type="operand">4</e>
          <e type="function" args="5">submatrix</e>
          <e type="operator" args="2">:</e>
          <e type="operand">yint</e>
          <e type="operand">Tab.prop</e>
          <e type="operand">1</e>
          <e type="operand">Tab.prop</e>
          <e type="function" args="1">rows</e>
          <e type="operand">5</e>
          <e type="operand">5</e>
          <e type="function" args="5">submatrix</e>
          <e type="operator" args="2">:</e>
          <e type="operand">theta</e>
          <e type="operand">Tab.prop</e>
          <e type="operand">1</e>
          <e type="operand">Tab.prop</e>
          <e type="function" args="1">rows</e>
          <e type="operand">6</e>
          <e type="operand">6</e>
          <e type="function" args="5">submatrix</e>
          <e type="operator" args="2">:</e>
          <e type="operand">chord</e>
          <e type="operand">Tab.prop</e>
          <e type="operand">1</e>
          <e type="operand">Tab.prop</e>
          <e type="function" args="1">rows</e>
          <e type="operand">7</e>
          <e type="operand">7</e>
          <e type="function" args="5">submatrix</e>
          <e type="operator" args="2">:</e>
          <e type="operand">radius</e>
          <e type="operand">Tab.prop</e>
          <e type="operand">1</e>
          <e type="operand">Tab.prop</e>
          <e type="function" args="1">rows</e>
          <e type="operand">3</e>
          <e type="operand">3</e>
          <e type="function" args="5">submatrix</e>
          <e type="operator" args="2">:</e>
          <e type="operand">central</e>
          <e type="operand">Tab.prop</e>
          <e type="operand">1</e>
          <e type="operand">Tab.prop</e>
          <e type="function" args="1">rows</e>
          <e type="operand">3</e>
          <e type="operand">3</e>
          <e type="function" args="5">submatrix</e>
          <e type="operator" args="2">:</e>
          <e type="operand">BOT</e>
          <e type="operand">Seg</e>
          <e type="operand">Type</e>
          <e type="operand">Nor_b</e>
          <e type="operand">East_b</e>
          <e type="operand">Nor_e</e>
          <e type="operand">East_e</e>
          <e type="function" args="6">augment</e>
          <e type="operator" args="2">:</e>
          <e type="operand">BOT</e>
          <e type="operand">BOT</e>
          <e type="operand">Nor_c</e>
          <e type="operand">East_c</e>
          <e type="operand">Len</e>
          <e type="operand">slope</e>
          <e type="operand">yint</e>
          <e type="operand">theta</e>
          <e type="function" args="7">augment</e>
          <e type="operator" args="2">:</e>
          <e type="operand">BOT</e>
          <e type="operand">BOT</e>
          <e type="operand">chord</e>
          <e type="operand">radius</e>
          <e type="operand">central</e>
          <e type="function" args="4">augment</e>
          <e type="operator" args="2">:</e>
          <e type="operand">21</e>
          <e type="operand">1</e>
          <e type="function" args="23">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="37" top="3780" color="#000000" bgColor="#ffffff">
      <area single="true" collapsed="true" />
    </region>
    <region id="38" left="9" top="3807" width="726" height="40" border="true" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="eng">
        <p bold="true">Routine to calculate parallel fascia line coordinates and properties, based on baselineand previously entered offset value.</p>
      </text>
    </region>
    <region id="39" left="18" top="3870" width="649" height="607" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">Tab.coor</e>
          <e type="operand">Tab.prop</e>
          <e type="operand">Δ</e>
          <e type="function" args="3">Off.a</e>
          <e type="operand" style="string">Break up tables into local vectors for easy notation</e>
          <e type="operand">Tab.coor</e>
          <e type="operand">Tab.prop</e>
          <e type="operand">Δ</e>
          <e type="function" args="3">names</e>
          <e type="operand" style="string">Begin creating new table for offset lines</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="operand">Tab.coor</e>
          <e type="function" args="1">rows</e>
          <e type="bracket">(</e>
          <e type="function" args="2">range</e>
          <e type="operand">BOT</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="function" args="3">el</e>
          <e type="operand">Seg</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">:</e>
          <e type="operand">BOT</e>
          <e type="operand">i</e>
          <e type="operand">2</e>
          <e type="function" args="3">el</e>
          <e type="operand">Type</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">:</e>
          <e type="operand">BOT</e>
          <e type="operand">i</e>
          <e type="operand">7</e>
          <e type="function" args="3">el</e>
          <e type="operand">Nor_c</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">:</e>
          <e type="operand">BOT</e>
          <e type="operand">i</e>
          <e type="operand">8</e>
          <e type="function" args="3">el</e>
          <e type="operand">East_c</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">:</e>
          <e type="operand">Type</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand" style="string">line</e>
          <e type="operator" args="2">≡</e>
          <e type="operand">Δ.y</e>
          <e type="operand">Δ</e>
          <e type="operand">theta</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">π</e>
          <e type="operand">180</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
          <e type="function" args="1">sin</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
          <e type="operand">Δ.x</e>
          <e type="operand">Δ</e>
          <e type="operand">theta</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">π</e>
          <e type="operand">180</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
          <e type="function" args="1">cos</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
          <e type="operand">BOT</e>
          <e type="operand">i</e>
          <e type="operand">3</e>
          <e type="function" args="3">el</e>
          <e type="operand">Nor_b</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">Δ.y</e>
          <e type="operator" args="2">+</e>
          <e type="operator" args="2">:</e>
          <e type="operand">BOT</e>
          <e type="operand">i</e>
          <e type="operand">4</e>
          <e type="function" args="3">el</e>
          <e type="operand">East_b</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">Δ.x</e>
          <e type="operator" args="2">+</e>
          <e type="operator" args="2">:</e>
          <e type="operand">BOT</e>
          <e type="operand">i</e>
          <e type="operand">5</e>
          <e type="function" args="3">el</e>
          <e type="operand">Nor_e</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">Δ.y</e>
          <e type="operator" args="2">+</e>
          <e type="operator" args="2">:</e>
          <e type="operand">BOT</e>
          <e type="operand">i</e>
          <e type="operand">6</e>
          <e type="function" args="3">el</e>
          <e type="operand">East_e</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">Δ.x</e>
          <e type="operator" args="2">+</e>
          <e type="operator" args="2">:</e>
          <e type="operand" style="string">spacer line</e>
          <e type="operand">BOT</e>
          <e type="operand">i</e>
          <e type="operand">9</e>
          <e type="function" args="3">el</e>
          <e type="operand">Len</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">:</e>
          <e type="operand">BOT</e>
          <e type="operand">i</e>
          <e type="operand">10</e>
          <e type="function" args="3">el</e>
          <e type="operand">slope</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">:</e>
          <e type="operand">BOT</e>
          <e type="operand">i</e>
          <e type="operand">11</e>
          <e type="function" args="3">el</e>
          <e type="operand">yint</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">Δ.y</e>
          <e type="operator" args="2">+</e>
          <e type="operator" args="2">:</e>
          <e type="operand">BOT</e>
          <e type="operand">i</e>
          <e type="operand">12</e>
          <e type="function" args="3">el</e>
          <e type="operand">theta</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">:</e>
          <e type="operand">BOT</e>
          <e type="operand">i</e>
          <e type="operand">13</e>
          <e type="operand">15</e>
          <e type="function" args="2">range</e>
          <e type="function" args="3">el</e>
          <e type="operand">0</e>
          <e type="operator" args="2">:</e>
          <e type="operand">12</e>
          <e type="operand">1</e>
          <e type="function" args="14">line</e>
          <e type="operand">continue</e>
          <e type="function" args="3">if</e>
          <e type="operand">5</e>
          <e type="operand">1</e>
          <e type="function" args="7">line</e>
          <e type="function" args="3">for</e>
          <e type="operand">4</e>
          <e type="operand">1</e>
          <e type="function" args="6">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="40" top="4689" color="#000000" bgColor="#ffffff">
      <area single="true" collapsed="true" />
    </region>
    <region id="41" left="9" top="4716" width="710" height="56" border="true" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="eng">
        <p bold="true">Continuation of routine to calculate parallel fascia line coordinates and properties,based on baseline and previously entered offset value.Broken up into multiple functions definitions for printing purposed.</p>
      </text>
    </region>
    <region id="42" left="18" top="4797" width="665" height="515" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">Tab.coor</e>
          <e type="operand">Tab.prop</e>
          <e type="operand">Δ</e>
          <e type="function" args="3">Off.b</e>
          <e type="operand" style="string">Call to previous portion of routine</e>
          <e type="operand">BOT</e>
          <e type="operand">Tab.coor</e>
          <e type="operand">Tab.prop</e>
          <e type="operand">Δ</e>
          <e type="function" args="3">Off.a</e>
          <e type="operator" args="2">:</e>
          <e type="operand" style="string">Continue calculating properties for offset line/curve.</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="operand">Tab.coor</e>
          <e type="function" args="1">rows</e>
          <e type="bracket">(</e>
          <e type="function" args="2">range</e>
          <e type="operand">Tab.coor</e>
          <e type="operand">i</e>
          <e type="operand">2</e>
          <e type="function" args="3">el</e>
          <e type="operand" style="string">curve</e>
          <e type="operator" args="2">≡</e>
          <e type="operand" style="string">Ensure a tangent is defined before &amp; after curve</e>
          <e type="operand" style="string">Define begin &amp; end coor. from tangents.</e>
          <e type="operand">BOT</e>
          <e type="operand">i</e>
          <e type="operand">3</e>
          <e type="function" args="3">el</e>
          <e type="operand">BOT</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="operator" args="2">-</e>
          <e type="bracket">(</e>
          <e type="operand">5</e>
          <e type="function" args="3">el</e>
          <e type="operator" args="2">:</e>
          <e type="operand">BOT</e>
          <e type="operand">i</e>
          <e type="operand">4</e>
          <e type="function" args="3">el</e>
          <e type="operand">BOT</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="operator" args="2">-</e>
          <e type="bracket">(</e>
          <e type="operand">6</e>
          <e type="function" args="3">el</e>
          <e type="operator" args="2">:</e>
          <e type="operand">BOT</e>
          <e type="operand">i</e>
          <e type="operand">5</e>
          <e type="function" args="3">el</e>
          <e type="operand">BOT</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="operator" args="2">+</e>
          <e type="bracket">(</e>
          <e type="operand">3</e>
          <e type="function" args="3">el</e>
          <e type="operator" args="2">:</e>
          <e type="operand">BOT</e>
          <e type="operand">i</e>
          <e type="operand">6</e>
          <e type="function" args="3">el</e>
          <e type="operand">BOT</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="operator" args="2">+</e>
          <e type="bracket">(</e>
          <e type="operand">4</e>
          <e type="function" args="3">el</e>
          <e type="operator" args="2">:</e>
          <e type="operand" style="string">spacer line</e>
          <e type="operand">BOT</e>
          <e type="operand">i</e>
          <e type="operand">9</e>
          <e type="function" args="3">el</e>
          <e type="operand">radius</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">Δ</e>
          <e type="operator" args="2">+</e>
          <e type="bracket">(</e>
          <e type="operand">central</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">*</e>
          <e type="operand">π</e>
          <e type="operand">180</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
          <e type="operand">BOT</e>
          <e type="operand">i</e>
          <e type="operand">10</e>
          <e type="operand">12</e>
          <e type="function" args="2">range</e>
          <e type="function" args="3">el</e>
          <e type="operand">0</e>
          <e type="operator" args="2">:</e>
          <e type="operand">BOT</e>
          <e type="operand">i</e>
          <e type="operand">13</e>
          <e type="function" args="3">el</e>
          <e type="operand">BOT</e>
          <e type="operand">i</e>
          <e type="operand">5</e>
          <e type="function" args="3">el</e>
          <e type="operand">BOT</e>
          <e type="operand">i</e>
          <e type="operand">3</e>
          <e type="function" args="3">el</e>
          <e type="operator" args="2">-</e>
          <e type="bracket">(</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operand">BOT</e>
          <e type="operand">i</e>
          <e type="operand">6</e>
          <e type="function" args="3">el</e>
          <e type="operand">BOT</e>
          <e type="operand">i</e>
          <e type="operand">4</e>
          <e type="function" args="3">el</e>
          <e type="operator" args="2">-</e>
          <e type="bracket">(</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">+</e>
          <e type="function" args="1">sqrt</e>
          <e type="operator" args="2">:</e>
          <e type="operand">BOT</e>
          <e type="operand">i</e>
          <e type="operand">14</e>
          <e type="function" args="3">el</e>
          <e type="operand">radius</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operand">Δ</e>
          <e type="operator" args="2">+</e>
          <e type="operator" args="2">:</e>
          <e type="operand">BOT</e>
          <e type="operand">i</e>
          <e type="operand">15</e>
          <e type="function" args="3">el</e>
          <e type="operand">central</e>
          <e type="operand">i</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">:</e>
          <e type="operand">12</e>
          <e type="operand">1</e>
          <e type="function" args="14">line</e>
          <e type="operand">continue</e>
          <e type="function" args="3">if</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="3">line</e>
          <e type="function" args="3">for</e>
          <e type="operand">BOT</e>
          <e type="operand">5</e>
          <e type="operand">1</e>
          <e type="function" args="7">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="43" left="18" top="5328" width="619" height="81" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">Tab.coor</e>
          <e type="operand">Tab.prop</e>
          <e type="operand">Δ</e>
          <e type="function" args="3">Ocoor</e>
          <e type="operand">BOT</e>
          <e type="operand">Tab.coor</e>
          <e type="operand">Tab.prop</e>
          <e type="operand">Δ</e>
          <e type="function" args="3">Off.b</e>
          <e type="operator" args="2">:</e>
          <e type="operand">out</e>
          <e type="operand">BOT</e>
          <e type="operand">1</e>
          <e type="operand">BOT</e>
          <e type="function" args="1">rows</e>
          <e type="operand">1</e>
          <e type="operand">Tab.coor</e>
          <e type="function" args="1">cols</e>
          <e type="function" args="5">submatrix</e>
          <e type="operator" args="2">:</e>
          <e type="operand">out</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="5">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="44" left="18" top="5427" width="709" height="105" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">Tab.coor</e>
          <e type="operand">Tab.prop</e>
          <e type="operand">Δ</e>
          <e type="function" args="3">Oprop</e>
          <e type="operand">BOT</e>
          <e type="operand">Tab.coor</e>
          <e type="operand">Tab.prop</e>
          <e type="operand">Δ</e>
          <e type="function" args="3">Off.b</e>
          <e type="operator" args="2">:</e>
          <e type="operand">out</e>
          <e type="operand">BOT</e>
          <e type="operand">1</e>
          <e type="operand">BOT</e>
          <e type="function" args="1">rows</e>
          <e type="operand">Tab.coor</e>
          <e type="function" args="1">cols</e>
          <e type="operand">1</e>
          <e type="operator" args="2">+</e>
          <e type="operand">BOT</e>
          <e type="function" args="1">cols</e>
          <e type="function" args="5">submatrix</e>
          <e type="operator" args="2">:</e>
          <e type="operand">out</e>
          <e type="operand">BOT</e>
          <e type="operand">1</e>
          <e type="operand">BOT</e>
          <e type="function" args="1">rows</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="function" args="5">submatrix</e>
          <e type="operand">out</e>
          <e type="function" args="2">augment</e>
          <e type="operator" args="2">:</e>
          <e type="operand">out</e>
          <e type="operand">4</e>
          <e type="operand">1</e>
          <e type="function" args="6">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="45" top="5544" color="#000000" bgColor="#ffffff">
      <area single="true" collapsed="true" />
    </region>
    <region id="46" left="18" top="5580" width="594" height="24" border="true" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="eng">
        <p bold="true">Comparison of properties and coordinates for baseline and fascia lines.</p>
      </text>
    </region>
    <region id="47" left="18" top="5634" width="224" height="31" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">BL.coor</e>
          <e type="operand">segs</e>
          <e type="operand">points</e>
          <e type="function" args="2">Coors</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="48" left="351" top="5634" width="224" height="31" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">BL.prop</e>
          <e type="operand">segs</e>
          <e type="operand">points</e>
          <e type="function" args="2">Props</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="49" left="18" top="5670" width="252" height="32" color="#000000" bgColor="#ffffff" fontSize="10">
      <math error="64">
        <input>
          <e type="operand">FL1.coor</e>
          <e type="operand">BL.coor</e>
          <e type="operand">BL.prop</e>
          <e type="operand">Δ.o</e>
          <e type="function" args="3">Ocoor</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="50" left="351" top="5670" width="252" height="32" color="#000000" bgColor="#ffffff" fontSize="10">
      <math optimize="2" error="64">
        <input>
          <e type="operand">FL1.prop</e>
          <e type="operand">BL.coor</e>
          <e type="operand">BL.prop</e>
          <e type="operand">Δ.o</e>
          <e type="function" args="3">Oprop</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="51" left="18" top="5715" width="264" height="32" color="#000000" bgColor="#ffffff" fontSize="10">
      <math error="64">
        <input>
          <e type="operand">FL2.coor</e>
          <e type="operand">BL.coor</e>
          <e type="operand">BL.prop</e>
          <e type="operand">Δ.o</e>
          <e type="operator" args="1">-</e>
          <e type="function" args="3">Ocoor</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="52" left="351" top="5715" width="264" height="32" color="#000000" bgColor="#ffffff" fontSize="10">
      <math optimize="2" error="64">
        <input>
          <e type="operand">FL2.prop</e>
          <e type="operand">BL.coor</e>
          <e type="operand">BL.prop</e>
          <e type="operand">Δ.o</e>
          <e type="operator" args="1">-</e>
          <e type="function" args="3">Oprop</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
  </regions>
</worksheet>