20.07.2013 Views

Download the report (PDF, 25.2 MB)

Download the report (PDF, 25.2 MB)

Download the report (PDF, 25.2 MB)

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

(1)<br />

7)<br />

Fig. 2: Triangulation of a Grid Cell with Nodes<br />

numbered (1) - (9) and Edges Labelled A - P<br />

The network of triangles imposed on <strong>the</strong> cell has nine<br />

nodes, interconnected by sixteen edges. Each of <strong>the</strong><br />

nodes is assigned a z-value which is <strong>the</strong> average of <strong>the</strong><br />

classified values of all cells touching that node.<br />

Thus, in <strong>the</strong> above figure, node 9 is assigned <strong>the</strong> value<br />

of <strong>the</strong> cell , nodes 2,4,6 and 8 are assigned averages<br />

of <strong>the</strong> cell with values in <strong>the</strong> top, right, bottom and<br />

left cell neighbors, respectively, and nodes 1,3,5 and<br />

7 are assigned z-values averaged using <strong>the</strong> cell and <strong>the</strong><br />

3 o<strong>the</strong>r cells touching each node. Cells with missing<br />

values are excluded from this averaging process.<br />

First, <strong>the</strong> minimum and maximum z-values are checked to<br />

determine if <strong>the</strong>y fall into different classes. If both<br />

are in <strong>the</strong> same class (which will normally be true), no<br />

contours exist in <strong>the</strong> cell, and. <strong>the</strong> next cell in <strong>the</strong><br />

row is processed. O<strong>the</strong>rwise, a scan of <strong>the</strong> 16 edges is<br />

performed, referencing a table of <strong>the</strong> z-values of <strong>the</strong><br />

nodes bounding edges A through P. Should both nodal<br />

values for an edge lie in <strong>the</strong> same contour interval,<br />

<strong>the</strong> edge has no contours crossing it, and <strong>the</strong> next edge<br />

can be inspected. O<strong>the</strong>rwise, <strong>the</strong> intersection of <strong>the</strong><br />

contour with <strong>the</strong> edge is interpolated. The resultant<br />

coordinate marks <strong>the</strong> location where <strong>the</strong> contour crosses<br />

into a triangle. Each such intersection is entered in<br />

a table with <strong>the</strong> identifier of <strong>the</strong> edge and <strong>the</strong> class<br />

break involved.<br />

324

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!