triangulation_display


triangulation_display, an Octave code which plots a triangulation.

The code reads one file listing the nodes, and a second file consisting of groups of 3 or 6 nodes that make up the elements, and creates an Encapsulated PostScript image of the triangulation.

If a third file is available, listing the element neighbors of each element, then the program will read that file, and can display that information as well.

Usage:

triangulation_display ( 'prefix', node_vis, element_vis, (neighbor_vis) )
where 'prefix' is the common prefix for the node and element files, and will also be used to name the output file: and node_vis is an integer defining the node visibility: and element_vis is an integer defining the element visibility: and neighbor_vis is an integer defining the element neighbor visibility:

Licensing:

The computer code and data files described and made available on this web page are distributed under the MIT license

Languages:

triangulation_display is available in a C++ version and a MATLAB version and an Octave version.

Related Data and Programs:

triangulation_display_test

fem_basis_t3_display, an Octave code which displays a basis function associated with a linear triangle ("t3") mesh.

fem_basis_t6_display, an Octave code which reads a quadratic triangle mesh and displays any associated basis function.

gridlines, an Octave code which gives the user more control over drawing gridlines on a graph than the builtin "grid on" command.

mesh_display, an Octave code which reads data defining a polygonal mesh and displays it, with optional numbering.

tri_surface_display, an Octave code which reads data defining a triangular mesh of a 3d surface and displays it.

triangle_display, an Octave code which displays the nodes and elements of a triangulation, assuming the data has been stored in node and ele files by the triangle() program.

triangulation_plot, an Octave code which plots a triangulation as an encapsulated postscript (eps) file.

triangulation_svg, an Octave code which creates an SVG image of a triangulation, which can be displayed by an web browser.

Reference:

  1. Marc deBerg, Marc Krevald, Mark Overmars, Otfried Schwarzkopf,
    Computational Geometry,
    Springer, 2000,
    ISBN: 3-540-65620-0,
    LC: QA448.D38.C65.
  2. Joseph ORourke,
    Computational Geometry,
    Second Edition,
    Cambridge, 1998,
    ISBN: 0521649765,
    LC: QA448.D38.

Source Code:


Last revised on 05 July 2023.