GMS:Linear: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 23: Line 23:
Since the network of triangles only covers the convex hull of the point data, extrapolation beyond the convex hull is not possible with the linear interpolation scheme. Any points outside the convex hull of the point data are assigned the default extrapolation value entered at the bottom of the ''Interpolation Options'' dialog. The figure below shows a network of triangles created from point data.
Since the network of triangles only covers the convex hull of the point data, extrapolation beyond the convex hull is not possible with the linear interpolation scheme. Any points outside the convex hull of the point data are assigned the default extrapolation value entered at the bottom of the ''Interpolation Options'' dialog. The figure below shows a network of triangles created from point data.


{{hide in print|[[Image:convex_hull.jpg|thumb|none|left|300 px|Network of triangles]]}}
{{hide in print|[[File:convex_hull.jpg|thumb|none|left|300 px|Network of triangles]]}}
{{only in print|[[Image:convex_hull.jpg|275px|frame|center|Network of triangles]]}}
{{only in print|[[File:convex_hull.jpg|275px|frame|center|Network of triangles]]}}





Revision as of 14:16, 29 March 2017

If the linear interpolation scheme is selected, the data points are first triangulated to form a network of triangles. The equation of the plane defined by the three vertices of a triangle is as follows:

Linear eq1.jpg

where A, B, C, and D are computed from the coordinates of the three vertices (x1,y1,z1), (x2,y2,z2), and (x3,y3,z3):

The plane equation can also be written as:

which is the form of the plane equation used to compute the elevation at any point on the triangle.

Since the network of triangles only covers the convex hull of the point data, extrapolation beyond the convex hull is not possible with the linear interpolation scheme. Any points outside the convex hull of the point data are assigned the default extrapolation value entered at the bottom of the Interpolation Options dialog. The figure below shows a network of triangles created from point data.

Network of triangles


See also