triangle_analyze


triangle_analyze, a C code which reads a triangle defined in a file, and uses the TRIANGLE_PROPERTIES library to compute angles, area, centroid, circumcircle, edge lengths, incircle, orientation, orthocenter, and quality.

Usage:

triangle_analyze filename
where filename contains the vertex coordinates.

Licensing:

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

Languages:

triangle_analyze is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version.

Related Data and Programs:

GEOMETRY, a C code which performs geometric calculations in 2, 3 and N dimensional space.

triangle_analyze_test

TRIANGLE_INTERPOLATE, a C code which shows how vertex data can be interpolated at any point in the interior of a triangle.

TRIANGLE_PROPERTIES, a C code which computes properties of triangles.

TRIANGLES, a dataset directory which contains examples of triangles;

Source Code:


Last revised on 21 August 2019.