initial commit for version 1.6.x patch release
[OpenFOAM-1.6.x.git] / src / meshTools / triSurface / triSurfaceTools / geompack / geompack.H
blobc00a63bc5b3800d1063e369438fca723bf408650
1 double d_epsilon ( void );
2 double d_max ( double x, double y );
3 double d_min ( double x, double y );
4 void d2vec_part_quick_a ( int n, double a[], int *l, int *r );
5 void d2vec_permute ( int n, double a[], int p[] );
6 int *d2vec_sort_heap_index_a ( int n, double a[] );
7 void d2vec_sort_quick_a ( int n, double a[] );
8 int diaedg ( double x0, double y0, double x1, double y1, double x2, double y2, 
9   double x3, double y3 );
10 void dmat_transpose_print ( int m, int n, double a[], const char *title );
11 void dmat_transpose_print_some ( int m, int n, double a[], int ilo, int jlo, 
12   int ihi, int jhi, const char *title );
13 void dmat_uniform ( int m, int n, double b, double c, int *seed, double r[] );
14 int dtris2 ( int point_num, double point_xy[], int *tri_num, 
15   int tri_vert[], int tri_nabe[] );
16 bool dvec_eq ( int n, double a1[], double a2[] );
17 bool dvec_gt ( int n, double a1[], double a2[] );
18 bool dvec_lt ( int n, double a1[], double a2[] );
19 void dvec_print ( int n, double a[], const char *title );
20 void dvec_swap ( int n, double a1[], double a2[] );
21 int i_max ( int i1, int i2 );
22 int i_min ( int i1, int i2 );
23 int i_modp ( int i, int j );
24 int i_sign ( int i );
25 int i_wrap ( int ival, int ilo, int ihi );
26 void imat_transpose_print ( int m, int n, int a[], const char *title );
27 void imat_transpose_print_some ( int m, int n, int a[], int ilo, int jlo, 
28   int ihi, int jhi, const char *title );
29 void ivec_heap_d ( int n, int a[] );
30 int *ivec_indicator ( int n );
31 void ivec_sort_heap_a ( int n, int a[] );
32 void ivec_sorted_unique ( int n, int a[], int *nuniq );
33 int lrline ( double xu, double yu, double xv1, double yv1, double xv2, double yv2, 
34   double dv );
35 bool perm_check ( int n, int p[] );
36 void perm_inv ( int n, int p[] );
37 int *points_delaunay_naive_2d ( int n, double p[], int *ntri );
38 int s_len_trim ( const char *s );
39 int swapec ( int i, int *top, int *btri, int *bedg, int point_num, 
40   double point_xy[], int tri_num, int tri_vert[], int tri_nabe[], 
41   int stack[] );
42 void timestamp ( void );
43 char *timestring ( void );
44 double *triangle_circumcenter_2d ( double t[] );
45 bool triangulation_plot_eps ( const char *file_out_name, int g_num, double g_xy[], 
46   int tri_num, int nod_tri[] );
47 void triangulation_print ( int point_num, double xc[], int tri_num, 
48   int tri_vert[], int tri_nabe[] );
49 void vbedg ( double x, double y, int point_num, double point_xy[], int tri_num, 
50   int tri_vert[], int tri_nabe[], int *ltri, int *ledg, int *rtri, int *redg );