triangulation_plot


triangulation_plot, a C++ 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 triangles, and creates an Encapsulated PostScript image of the triangulation.

Usage:

triangulation_plot prefix node_vis triangle_vis
where prefix is the common prefix for the node and triangle files, and will also be used to name the output file: and node_vis is an integer defining the node visibility: and triangle_vis is an integer defining the triangle visibility:

Licensing:

The information on this web page is distributed under the MIT license.

Languages:

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

Related Data and Programs:

triangulation_plot_test

triangle, a C program which computes a triangulation of a geometric region.

triangulation, a C++ code which is useful for working with triangulations.

triangulation_display, a MATLAB program which displays the nodes and elements of a triangulation;

triangulation_display_opengl, a C++ code which reads files defining a triangulation and displays an image using Open GL.

triangulation_node_to_element, a C++ code which reads files describing a set of nodes, their triangulation, and the value of one or more quantities at each node, and outputs a file that averages the quantities for each element. This operation in effect creates an "order1" finite element model of the data.

triangulation_order3, a directory which contains a description and examples of order 3 triangulations.

triangulation_order6, a directory which contains a description and examples of order 6 triangulations.

triangulation_svg, a C++ code which creates an SVG image of a triangulation, which can be displayed by a 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 06 May 2020.