﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio" version="0.90"?>
<regions>
  <settings>
    <editable>true</editable>
    <calculation>
      <precision>4</precision>
      <exponentialThreshold>5</exponentialThreshold>
      <fractions>decimal</fractions>
    </calculation>
    <dependences>
      <assembly name="SMath Studio" version="0.90" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="Text Region" version="1.3.4399.37773" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
      <assembly name="Area Region" version="0.90" guid="4974b228-4974-44cf-8274-bf2936b4a766" />
      <assembly name="Special Functions" version="1.4.4408.9216" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
      <assembly name="Math Region" version="0.90" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="Plot Region" version="1.2.4401.29839" guid="c451c2b5-798b-4f08-b9ec-b90963d1ddaa" />
    </dependences>
  </settings>
  <region id="0" left="9" top="9" width="171" height="28" color="#0000ff" background-color="#ffffff" font-size="12">
    <text lang="rus">
      <p bold="true" font-name="Courier New">Сканирование поверхности</p>
    </text>
    <text lang="eng">
      <p bold="true" font-name="Courier New">Surface scanning</p>
    </text>
  </region>
  <region id="1" top="36" color="#000000" background-color="#ffffff">
    <area is-collapsed="true">
      <region id="2" left="9" top="54" width="813" height="305" color="#000000" background-color="#ffffff" font-size="10">
        <math>
          <input>
            <e type="operand">x</e>
            <e type="operand">y</e>
            <e type="function" args="2">f</e>
            <e type="operand">x.1</e>
            <e type="operand">x.2</e>
            <e type="operand">y.1</e>
            <e type="operand">y.2</e>
            <e type="operand">accuracy</e>
            <e type="function" args="6">scanSurface</e>
            <e type="operand">i</e>
            <e type="operand">1</e>
            <e type="operator" args="2">←</e>
            <e type="operand">dx</e>
            <e type="operand">x.2</e>
            <e type="operand">x.1</e>
            <e type="operator" args="2">-</e>
            <e type="operand">accuracy</e>
            <e type="operator" args="2">/</e>
            <e type="operator" args="2">←</e>
            <e type="operand">dy</e>
            <e type="operand">y.2</e>
            <e type="operand">y.1</e>
            <e type="operator" args="2">-</e>
            <e type="operand">accuracy</e>
            <e type="operator" args="2">/</e>
            <e type="operator" args="2">←</e>
            <e type="operand">x</e>
            <e type="operand">x.1</e>
            <e type="operand">x.2</e>
            <e type="operand">x.1</e>
            <e type="operand">dx</e>
            <e type="operator" args="2">+</e>
            <e type="function" preserve="true" args="3">range</e>
            <e type="operand">y</e>
            <e type="operand">y.1</e>
            <e type="operand">y.2</e>
            <e type="operand">y.1</e>
            <e type="operand">dy</e>
            <e type="operator" args="2">+</e>
            <e type="function" preserve="true" args="3">range</e>
            <e type="operand">x</e>
            <e type="operand">y</e>
            <e type="function" args="2">f</e>
            <e type="operand">x</e>
            <e type="operand">dx</e>
            <e type="operator" args="2">+</e>
            <e type="operand">y</e>
            <e type="function" args="2">f</e>
            <e type="operator" args="2">*</e>
            <e type="operand">0</e>
            <e type="operator" args="2">&lt;</e>
            <e type="bracket">(</e>
            <e type="operand">x</e>
            <e type="operand">y</e>
            <e type="function" args="2">f</e>
            <e type="operand">x</e>
            <e type="operand">y</e>
            <e type="operand">dy</e>
            <e type="operator" args="2">+</e>
            <e type="function" args="2">f</e>
            <e type="operator" args="2">*</e>
            <e type="operand">0</e>
            <e type="operator" args="2">&lt;</e>
            <e type="bracket">(</e>
            <e type="operator" args="2">|</e>
            <e type="operand">Y</e>
            <e type="operand">i</e>
            <e type="function" preserve="true" args="2">el</e>
            <e type="operand">y</e>
            <e type="operator" args="2">←</e>
            <e type="operand">X</e>
            <e type="operand">i</e>
            <e type="function" preserve="true" args="2">el</e>
            <e type="operand">x</e>
            <e type="operator" args="2">←</e>
            <e type="operand">i</e>
            <e type="operand">i</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="operator" args="2">←</e>
            <e type="operand">3</e>
            <e type="operand">1</e>
            <e type="function" preserve="true" args="5">line</e>
            <e type="operand">0</e>
            <e type="function" preserve="true" args="3">if</e>
            <e type="function" preserve="true" args="3">for</e>
            <e type="function" preserve="true" args="3">for</e>
            <e type="operand">X</e>
            <e type="operand">Y</e>
            <e type="function" preserve="true" args="2">augment</e>
            <e type="operand">5</e>
            <e type="operand">1</e>
            <e type="function" preserve="true" args="7">line</e>
            <e type="operator" args="2">←</e>
          </input>
        </math>
      </region>
      <region id="3" top="360" color="#000000" background-color="#ffffff">
        <area terminator="true" />
      </region>
    </area>
  </region>
  <region id="4" left="261" top="369" width="249" height="44" color="#000000" background-color="#ffffff" font-size="10">
    <math>
      <input>
        <e type="operand">x</e>
        <e type="operand">y</e>
        <e type="function" args="2">f2</e>
        <e type="operand">x</e>
        <e type="operand">2</e>
        <e type="operator" args="2">^</e>
        <e type="operand">y</e>
        <e type="operand">2</e>
        <e type="operator" args="2">^</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">7</e>
        <e type="operand">x</e>
        <e type="operand">2</e>
        <e type="operator" args="2">^</e>
        <e type="operand">y</e>
        <e type="operand">2</e>
        <e type="operator" args="2">^</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="operator" args="2">←</e>
      </input>
    </math>
  </region>
  <region id="5" left="9" top="378" width="230" height="34" color="#000000" background-color="#ffffff" font-size="10">
    <math>
      <input>
        <e type="operand">x</e>
        <e type="operand">y</e>
        <e type="function" args="2">f1</e>
        <e type="operand">x</e>
        <e type="operand">2</e>
        <e type="operator" args="2">^</e>
        <e type="operand">y</e>
        <e type="operand">3</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">*</e>
        <e type="operand">7</e>
        <e type="operand">x</e>
        <e type="operand">3</e>
        <e type="operator" args="2">^</e>
        <e type="operator" args="2">*</e>
        <e type="operand">y</e>
        <e type="operand">3</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="operator" args="2">-</e>
        <e type="operator" args="2">←</e>
      </input>
    </math>
  </region>
  <region id="6" left="540" top="387" width="294" height="28" color="#000000" background-color="#ffffff" font-size="10">
    <math>
      <input>
        <e type="operand">x</e>
        <e type="operand">y</e>
        <e type="function" args="2">f3</e>
        <e type="operand">x</e>
        <e type="operand">x</e>
        <e type="function" preserve="true" args="1">sin</e>
        <e type="operator" args="2">*</e>
        <e type="function" preserve="true" args="1">sin</e>
        <e type="operand">y</e>
        <e type="operand">y</e>
        <e type="function" preserve="true" args="1">cos</e>
        <e type="operator" args="2">*</e>
        <e type="function" preserve="true" args="1">cos</e>
        <e type="operator" args="2">-</e>
        <e type="operator" args="2">←</e>
      </input>
    </math>
  </region>
  <region id="7" left="9" top="414" width="386" height="34" color="#000000" background-color="#ffffff" font-size="10">
    <math>
      <input>
        <e type="operand">data.1</e>
        <e type="operand">x</e>
        <e type="operand">y</e>
        <e type="function" args="2">f1</e>
        <e type="operand">3</e>
        <e type="operator" args="1">-</e>
        <e type="operand">3</e>
        <e type="operand">3</e>
        <e type="operator" args="1">-</e>
        <e type="operand">3</e>
        <e type="operand">100</e>
        <e type="function" args="6">scanSurface</e>
        <e type="operator" args="2">←</e>
      </input>
    </math>
  </region>
  <region id="8" left="540" top="414" width="418" height="34" color="#000000" background-color="#ffffff" font-size="10">
    <math>
      <input>
        <e type="operand">data.3</e>
        <e type="operand">x</e>
        <e type="operand">y</e>
        <e type="function" args="2">f3</e>
        <e type="operand">10</e>
        <e type="operator" args="1">-</e>
        <e type="operand">10</e>
        <e type="operand">10</e>
        <e type="operator" args="1">-</e>
        <e type="operand">10</e>
        <e type="operand">100</e>
        <e type="function" args="6">scanSurface</e>
        <e type="operator" args="2">←</e>
      </input>
    </math>
  </region>
  <region id="9" left="9" top="432" width="386" height="34" color="#000000" background-color="#ffffff" font-size="10">
    <math>
      <input>
        <e type="operand">data.2</e>
        <e type="operand">x</e>
        <e type="operand">y</e>
        <e type="function" args="2">f2</e>
        <e type="operand">3</e>
        <e type="operator" args="1">-</e>
        <e type="operand">3</e>
        <e type="operand">3</e>
        <e type="operator" args="1">-</e>
        <e type="operand">3</e>
        <e type="operand">100</e>
        <e type="function" args="6">scanSurface</e>
        <e type="operator" args="2">←</e>
      </input>
    </math>
  </region>
  <region id="10" left="9" top="468" width="456" height="438" color="#000000" background-color="#ffffff" font-size="10" showInputData="False">
    <plot type="2d" render="points" scale_x="11.5004304719646" scale_y="11.5004304719646" scale_z="11.5004304719646" rotate_x="0" rotate_y="0" rotate_z="0" transpose_x="1" transpose_y="0" transpose_z="0">
      <input>
        <e type="operand">data.1</e>
        <e type="operand">data.2</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="4">sys</e>
      </input>
    </plot>
  </region>
  <region id="11" left="540" top="468" width="456" height="438" color="#000000" background-color="#ffffff" font-size="10" showInputData="False">
    <plot axes="false" type="2d" render="points" scale_x="3.36604507524903" scale_y="3.36604507524903" scale_z="3.36604507524903" rotate_x="0" rotate_y="0" rotate_z="0" transpose_x="0" transpose_y="1" transpose_z="0">
      <input>
        <e type="operand">data.3</e>
      </input>
    </plot>
  </region>
  <region id="12" left="9" top="918" width="151" height="24" color="#000000" background-color="#ffffff" font-size="10">
    <text lang="eng">
      <p font-name="Courier New">Number of points:</p>
    </text>
  </region>
  <region id="13" left="162" top="918" width="49" height="24" color="#000000" background-color="#ffffff" font-size="10" showInputData="False">
    <math>
      <input>
        <e type="operand">data.1</e>
        <e type="function" preserve="true" args="1">rows</e>
        <e type="operand">data.2</e>
        <e type="function" preserve="true" args="1">rows</e>
        <e type="operator" args="2">+</e>
      </input>
      <result action="numeric">
        <e type="operand">429</e>
      </result>
    </math>
  </region>
  <region id="14" left="540" top="918" width="151" height="24" color="#000000" background-color="#ffffff" font-size="10">
    <text lang="eng">
      <p font-name="Courier New">Number of points:</p>
    </text>
  </region>
  <region id="15" left="693" top="918" width="57" height="24" color="#000000" background-color="#ffffff" font-size="10" showInputData="False">
    <math>
      <input>
        <e type="operand">data.3</e>
        <e type="function" preserve="true" args="1">rows</e>
      </input>
      <result action="numeric">
        <e type="operand">2767</e>
      </result>
    </math>
  </region>
</regions>