>> triangulation_delaunay_discrepancy ( 'ted3' ) 11-Sep-2009 21:42:52 TRIANGULATION_DELAUNAY_DISCREPANCY MATLAB version Read a node dataset of NODE_NUM points in 2 dimensions. Read an associated triangulation file of TRIANGLE_NUM triangles using 3 or 6 nodes. Determine the Delaunay discrepancy, that is, the amount by which the minimum angle in the triangulation could be changed by a single adjustment of a pair of triangles. If this discrepancy is negative, then the triangulation is not a Delaunay triangulation. If this discrepancy is 0 or essentially so, then the triangulation is a Delaunay triangulation. Read the header of "ted3_nodes.txt". Spatial dimension DIM_NUM = 2 Number of points NODE_NUM = 10 Read the data in "ted3_nodes.txt". First 5 nodes: Row: 1 2 Col 1 0.000000 4.000000 2 1.000000 13.000000 3 4.000000 7.000000 4 5.000000 2.000000 5 6.000000 15.000000 Read the header of ""ted3_elements.txt". Triangle order = 3 Number of triangles TRIANGLE_NUM = 10 Read the data in ""ted3_elements.txt". First 5 triangles: Row: 1 2 3 Col 1 2 1 3 2 3 1 4 3 3 4 7 4 2 3 5 5 5 3 6 First 5 triangle neighbors: Row: 1 2 3 Col 1 2 4 -1 2 -1 3 1 3 -1 6 2 4 5 -1 1 5 6 8 4 Discrepancy (degrees) = 0.000000 Minimum angle (degrees) = 26.995838 occurred in triangle 7 Maximum angle (degrees) = 100.304846 occurred in triangle 1 TRIANGULATION_DELAUNAY_DISCREPANCY: Normal end of execution. 11-Sep-2009 21:42:52 >>