triangle_analyze


triangle_analyze, a FORTRAN90 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 FORTRAN90 code which performs geometric calculations in 2, 3 and N dimensional space.

triangle_analyze_test

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

TRIANGLE_PROPERTIES, a FORTRAN90 code which computes properties of triangles.

Source Code:


Last revised on 08 September 2020.