triangulation_orient_test


triangulation_orient_test, an Octave code which calls triangulation_orient(), which reads a triangulation, and reorient each triangle that has a negative area. If at least one such triangle is encountered, the program writes out a new copy of the triangle file in which all the triangles have been correctly oriented.

Licensing:

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

Related Data and Programs:

triangulation_orient, an Octave code which ensures that the triangles in an order 3 or order 6 triangulation have positive orientation;

Source Code:

P15 is a triangulation created by DISTMESH. Unfortunately, 512 of the triangles have a negative orientation. In this example, TRIANGULATION_ORIENT was used to reorient those triangles.


Last revised on 01 September 2024.