TRIANGLE_ANALYZE
Compute Properties of a Triangle


TRIANGLE_ANALYZE is a C program 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 GNU LGPL 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 library which performs geometric calculations in 2, 3 and N dimensional space.

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

TRIANGLE_PROPERTIES, a C program which computes properties of triangles.

TRIANGLES, a dataset directory which contains examples of triangles;

Source Code:

Examples and Tests:

List of Routines:

You can go up one level to the C++ source codes.


Last revised on 01 November 2015.