# SMS:Linear Interpolation

From XMS Wiki

If the linear interpolation scheme is selected, the 2D scatter points are first triangulated to form a temporary TIN. If the surface is assumed to vary linearly across each triangle, the TIN describes a piecewise linear surface which interpolates the scatter points. The equation of the plane defined by the three vertices of a triangle is as follows:

- where
*A*,*B*, and*C*>, and*D*are computed from the coordinates of the three vertices*(x*,_{1},y_{1},z_{1})*(x*, and_{2},y_{2},z_{2})*(x*:_{3},y_{3},z_{3})

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 a TIN only covers the convex hull of a scatter point set, extrapolation beyond the convex hull is not possible with the linear interpolation scheme. Any points outside the convex hull of the scatter point set are assigned the default extrapolation value entered at the bottom of the *Interpolation Options* dialog.

## Related Topics

SMS – Surface-water Modeling System | ||
---|---|---|

Modules: | 1D Grid • Cartesian Grid • Curvilinear Grid • GIS • Map • Mesh • Particle • Quadtree • Raster • Scatter | |

General Models: | FVCOM • Generic • PTM • TUFLOW FV | |

Coastal Models: | ADCIRC • BOUSS-2D • CGWAVE • CMS-Flow • CMS-Wave • GenCade • STWAVE • WAM | |

Riverine/Estuarine Models: | ADH • FESWMS • HEC-RAS • HYDRO AS-2D • RMA2 • RMA4 • SRH-2D • Steering • TUFLOW | |

Aquaveo • SMS Tutorials • SMS Workflows |