libsim  Versione6.3.0
integer function contng_simc ( type (xy), dimension(:), intent(in)  co,
integer, intent(out)  NT,
integer, dimension(:), intent(out)  IPT,
integer, intent(out)  NL,
integer, dimension(:), intent(out)  IPL 
)
private

THIS SUBROUTINE PERFORMS TRIANGULATION.

IT DIVIDES THE X-Y PLANE INTO A NUMBER OF TRIANGLES ACCORDING TO GIVEN DATA POINTS IN THE PLANE, DETERMINES LINE SEGMENTS THAT FORM THE BORDER OF DATA AREA, AND DETERMINES THE TRIANGLE NUMBERS CORRESPONDING TO THE BORDER LINE SEGMENTS. AT COMPLETION, POINT NUMBERS OF THE VERTEXES OF EACH TRIANGLE ARE LISTED COUNTER-CLOCKWISE. POINT NUMBERS OF THE END POINTS OF EACH BORDER LINE SEGMENT ARE LISTED COUNTER-CLOCKWISE, LISTING ORDER OF THE LINE SEGMENTS BEING COUNTER-CLOCKWISE.

Return 0 if all right return 1 if IDENTICAL INPUT DATA POINTS FOUND return 2 if ALL DATA ARE COLLINEAR DATA POINTS

Parametri
[in]coARRAY OF DIMENSION NDP CONTAINING THE COORDINATES OF THE DATA POINTS
[out]ntNUMBER OF TRIANGLES
[out]nlNUMBER OF BORDER LINE SEGMENTS
[out]iptARRAY OF DIMENSION 6*NDP-15, WHERE THE POINT NUMBERS OF THE VERTEXES OF THE (IT)TH TRIANGLE ARE TO BE STORED AS THE (3*IT-2)ND, (3*IT-1)ST, AND (3*IT)TH ELEMENTS, IT=1,2,...,NT
[out]iplARRAY OF DIMENSION 6*NDP, WHERE THE POINT NUMBERS OF THE END POINTS OF THE (IL)TH BORDER LINE SEGMENT AND ITS RESPECTIVE TRIANGLE NUMBER ARE TO BE STORED AS THE (3*IL-2)ND, (3*IL-1)ST, AND (3*IL)TH ELEMENTS, IL=1,2,..., NL.

Definizione alla linea 367 del file space_utilities.F90.


Generated with Doxygen.