Triangulate a Rectangular Region

TRIANGULATE_RECTANGLE is a MATLAB library which computes a simple triangulation of a rectangular region.

The triangulation will be represented by two sets of data:


triangulate_rectangle ( xl, xr, xn, yb, yt, yn, base )


The computer code and data files made available on this web page are distributed under the GNU LGPL license.


TRIANGULATE_RECTANGLE is available in a MATLAB version.

Related Data and Programs:

FEM2D_POISSON_RECTANGLE_LINEAR, a MATLAB program which solves the 2D Poisson equation on a rectangle, using the finite element method (FEM), and piecewise linear triangular elements.

TRIANGULATION, a MATLAB library which performs various operations on order 3 (linear) or order 6 (quadratic) triangulations, including searching a Delaunay triangulation to find which triangle contains a given point.

TRIANGULATION_DISPLAY, a MATLAB program which displays the nodes and elements of a triangulation on the MATLAB graphics screen;

Source Code:

Examples and Tests:

You can go up one level to the MATLAB source codes.

Last modified on 31 March 2015.