|
GDAL
|
00001 /****************************************************************************** 00002 * $Id: internal_qhull_headers.h 34641 2016-07-12 10:54:28Z rouault $ 00003 * 00004 * Project: GDAL 00005 * Purpose: Includes internal qhull headers 00006 * Author: Even Rouault <even dot rouault at spatialys dot com> 00007 * 00008 ****************************************************************************** 00009 * Copyright (c) 2015, Even Rouault <even dot rouault at spatialys dot com> 00010 * 00011 * Permission is hereby granted, free of charge, to any person obtaining a 00012 * copy of this software and associated documentation files (the "Software"), 00013 * to deal in the Software without restriction, including without limitation 00014 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 00015 * and/or sell copies of the Software, and to permit persons to whom the 00016 * Software is furnished to do so, subject to the following conditions: 00017 * 00018 * The above copyright notice and this permission notice shall be included 00019 * in all copies or substantial portions of the Software. 00020 * 00021 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 00022 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 00023 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 00024 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 00025 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 00026 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 00027 * DEALINGS IN THE SOFTWARE. 00028 *****************************************************************************/ 00029 00030 #ifndef INTERNAL_QHULL_HEADERS_H 00031 #define INTERNAL_QHULL_HEADERS_H 00032 00033 #ifdef HAVE_GCC_SYSTEM_HEADER 00034 #pragma GCC system_header 00035 #endif 00036 00037 #if defined(__MINGW64__) 00038 /* See https://github.com/scipy/scipy/issues/3237 */ 00039 /* This ensures that ptr_intT is a long lon on MinGW 64 */ 00040 #define _MSC_VER 1 00041 #endif 00042 00043 // To avoid issue with icc that defines a template in qhull_a.h 00044 #if defined(__INTEL_COMPILER) 00045 #define QHULL_OS_WIN 00046 #endif 00047 00048 /* Below a lot of renames and static definition of the symbols so as */ 00049 /* to avoid "contaminating" with a potential external qhull */ 00050 typedef struct setT gdal_setT; 00051 typedef struct facetT gdal_facetT; 00052 typedef struct vertexT gdal_vertexT; 00053 typedef struct qhT gdal_qhT; 00054 typedef struct ridgeT gdal_ridgeT; 00055 #define gdal_realT double 00056 #define gdal_pointT double 00057 #define gdal_realT double 00058 #define gdal_coordT double 00059 #define gdal_boolT unsigned int 00060 00061 #define qhmem gdal_qhmem 00062 #define qh_rand_seed gdal_qh_rand_seed 00063 #define qh_qh gdal_qh_qh 00064 #define qh_qhstat gdal_qh_qhstat 00065 #define qh_version gdal_qh_version 00066 #define qhull_inuse gdal_qhull_inuse 00067 00068 #define qh_compare_vertexpoint gdal_qh_compare_vertexpoint 00069 static int qh_compare_vertexpoint(); 00070 00071 #define qh_intcompare gdal_qh_intcompare 00072 00073 #ifdef notdef 00074 00075 Generated by the following Python script + manual cleaning of the result 00076 00077 f = open('headers.txt') 00078 for line in f.readlines(): 00079 line = line[0:-1].strip() 00080 if len(line) > 3 and line[0] != '#' and (line[-2:] == ');' or line[-1:] == ',') and \ 00081 line.find('(') > 0 and line.find('=') < 0 and line.find('typedef') < 0 and line.find('are used by') < 0 and \ 00082 line.find('&') < 0 and line.find('"') < 0 and line.find(' ') < line.find('('): 00083 line = line[0:line.find('(')].strip() 00084 last_star = line.rfind('*') 00085 last_space = line.rfind(' ') 00086 if last_star > last_space: 00087 (type, name) = (line[0:last_star+1], line[last_star+1:]) 00088 else: 00089 (type, name) = (line[0:last_space], line[last_space+1:]) 00090 type = type.strip() 00091 print('#define %s gdal_%s' % (name, name)) 00092 if type.find('void') != 0 and type.find('int') != 0 and type.find('char') != 0 and type.find('double') != 0 and type.find('unsigned') != 0: 00093 type = 'gdal_' + type 00094 print("static %s %s();" % (type, name)) 00095 #endif 00096 00097 #define qh_backnormal gdal_qh_backnormal 00098 static void qh_backnormal(); 00099 #define qh_distplane gdal_qh_distplane 00100 static void qh_distplane(); 00101 #define qh_findbest gdal_qh_findbest 00102 static gdal_facetT * qh_findbest(); 00103 #define qh_findbesthorizon gdal_qh_findbesthorizon 00104 static gdal_facetT * qh_findbesthorizon(); 00105 #define qh_findbestnew gdal_qh_findbestnew 00106 static gdal_facetT * qh_findbestnew(); 00107 #define qh_gausselim gdal_qh_gausselim 00108 static void qh_gausselim(); 00109 #define qh_getangle gdal_qh_getangle 00110 static gdal_realT qh_getangle(); 00111 #define qh_getcenter gdal_qh_getcenter 00112 static gdal_pointT * qh_getcenter(); 00113 #define qh_getcentrum gdal_qh_getcentrum 00114 static gdal_pointT * qh_getcentrum(); 00115 #define qh_getdistance gdal_qh_getdistance 00116 static gdal_realT qh_getdistance(); 00117 #define qh_normalize gdal_qh_normalize 00118 static void qh_normalize(); 00119 #define qh_normalize2 gdal_qh_normalize2 00120 static void qh_normalize2(); 00121 #define qh_projectpoint gdal_qh_projectpoint 00122 static gdal_pointT * qh_projectpoint(); 00123 #define qh_setfacetplane gdal_qh_setfacetplane 00124 static void qh_setfacetplane(); 00125 #define qh_sethyperplane_det gdal_qh_sethyperplane_det 00126 static void qh_sethyperplane_det(); 00127 #define qh_sethyperplane_gauss gdal_qh_sethyperplane_gauss 00128 static void qh_sethyperplane_gauss(); 00129 #define qh_sharpnewfacets gdal_qh_sharpnewfacets 00130 static gdal_boolT qh_sharpnewfacets(); 00131 #define qh_copypoints gdal_qh_copypoints 00132 static gdal_coordT * qh_copypoints(); 00133 #define qh_crossproduct gdal_qh_crossproduct 00134 static void qh_crossproduct(); 00135 #define qh_determinant gdal_qh_determinant 00136 static gdal_realT qh_determinant(); 00137 #define qh_detjoggle gdal_qh_detjoggle 00138 static gdal_realT qh_detjoggle(); 00139 #define qh_detroundoff gdal_qh_detroundoff 00140 static void qh_detroundoff(); 00141 #define qh_detsimplex gdal_qh_detsimplex 00142 static gdal_realT qh_detsimplex(); 00143 #define qh_distnorm gdal_qh_distnorm 00144 static gdal_realT qh_distnorm(); 00145 #define qh_distround gdal_qh_distround 00146 static gdal_realT qh_distround(); 00147 #define qh_divzero gdal_qh_divzero 00148 static gdal_realT qh_divzero(); 00149 #define qh_facetarea gdal_qh_facetarea 00150 static gdal_realT qh_facetarea(); 00151 #define qh_facetarea_simplex gdal_qh_facetarea_simplex 00152 static gdal_realT qh_facetarea_simplex(); 00153 #define qh_facetcenter gdal_qh_facetcenter 00154 static gdal_pointT * qh_facetcenter(); 00155 #define qh_findgooddist gdal_qh_findgooddist 00156 static gdal_facetT * qh_findgooddist(); 00157 #define qh_getarea gdal_qh_getarea 00158 static void qh_getarea(); 00159 #define qh_gram_schmidt gdal_qh_gram_schmidt 00160 static gdal_boolT qh_gram_schmidt(); 00161 #define qh_inthresholds gdal_qh_inthresholds 00162 static gdal_boolT qh_inthresholds(); 00163 #define qh_joggleinput gdal_qh_joggleinput 00164 static void qh_joggleinput(); 00165 #define qh_maxabsval gdal_qh_maxabsval 00166 static gdal_realT * qh_maxabsval(); 00167 #define qh_maxmin gdal_qh_maxmin 00168 static gdal_setT * qh_maxmin(); 00169 #define qh_maxouter gdal_qh_maxouter 00170 static gdal_realT qh_maxouter(); 00171 #define qh_maxsimplex gdal_qh_maxsimplex 00172 static void qh_maxsimplex(); 00173 #define qh_minabsval gdal_qh_minabsval 00174 static gdal_realT qh_minabsval(); 00175 #define qh_mindiff gdal_qh_mindiff 00176 static int qh_mindiff(); 00177 #define qh_orientoutside gdal_qh_orientoutside 00178 static gdal_boolT qh_orientoutside(); 00179 #define qh_outerinner gdal_qh_outerinner 00180 static void qh_outerinner(); 00181 #define qh_pointdist gdal_qh_pointdist 00182 static gdal_coordT qh_pointdist(); 00183 #define qh_printmatrix gdal_qh_printmatrix 00184 static void qh_printmatrix(); 00185 #define qh_printpoints gdal_qh_printpoints 00186 static void qh_printpoints(); 00187 #define qh_projectinput gdal_qh_projectinput 00188 static void qh_projectinput(); 00189 #define qh_projectpoints gdal_qh_projectpoints 00190 static void qh_projectpoints(); 00191 #define qh_rotateinput gdal_qh_rotateinput 00192 static void qh_rotateinput(); 00193 #define qh_rotatepoints gdal_qh_rotatepoints 00194 static void qh_rotatepoints(); 00195 #define qh_scaleinput gdal_qh_scaleinput 00196 static void qh_scaleinput(); 00197 #define qh_scalelast gdal_qh_scalelast 00198 static void qh_scalelast(); 00199 #define qh_scalepoints gdal_qh_scalepoints 00200 static void qh_scalepoints(); 00201 #define qh_sethalfspace gdal_qh_sethalfspace 00202 static gdal_boolT qh_sethalfspace(); 00203 #define qh_sethalfspace_all gdal_qh_sethalfspace_all 00204 static gdal_coordT * qh_sethalfspace_all(); 00205 #define qh_voronoi_center gdal_qh_voronoi_center 00206 static gdal_pointT * qh_voronoi_center(); 00207 #define dfacet gdal_dfacet 00208 static void dfacet(); 00209 #define dvertex gdal_dvertex 00210 static void dvertex(); 00211 #define qh_compare_facetarea gdal_qh_compare_facetarea 00212 static int qh_compare_facetarea(); 00213 #define qh_compare_facetmerge gdal_qh_compare_facetmerge 00214 static int qh_compare_facetmerge(); 00215 #define qh_compare_facetvisit gdal_qh_compare_facetvisit 00216 static int qh_compare_facetvisit(); 00217 #define qh_copyfilename gdal_qh_copyfilename 00218 static void qh_copyfilename(); 00219 #define qh_countfacets gdal_qh_countfacets 00220 static void qh_countfacets(); 00221 #define qh_detvnorm gdal_qh_detvnorm 00222 static gdal_pointT * qh_detvnorm(); 00223 #define qh_detvridge gdal_qh_detvridge 00224 static gdal_setT * qh_detvridge(); 00225 #define qh_detvridge3 gdal_qh_detvridge3 00226 static gdal_setT * qh_detvridge3(); 00227 #define qh_eachvoronoi gdal_qh_eachvoronoi 00228 static int qh_eachvoronoi(); 00229 #define qh_eachvoronoi_all gdal_qh_eachvoronoi_all 00230 static int qh_eachvoronoi_all(); 00231 #define qh_facet2point gdal_qh_facet2point 00232 static void qh_facet2point(); 00233 #define qh_facetvertices gdal_qh_facetvertices 00234 static gdal_setT * qh_facetvertices(); 00235 #define qh_geomplanes gdal_qh_geomplanes 00236 static void qh_geomplanes(); 00237 #define qh_markkeep gdal_qh_markkeep 00238 static void qh_markkeep(); 00239 #define qh_markvoronoi gdal_qh_markvoronoi 00240 static gdal_setT * qh_markvoronoi(); 00241 #define qh_order_vertexneighbors gdal_qh_order_vertexneighbors 00242 static void qh_order_vertexneighbors(); 00243 #define qh_prepare_output gdal_qh_prepare_output 00244 static void qh_prepare_output(); 00245 #define qh_printafacet gdal_qh_printafacet 00246 static void qh_printafacet(); 00247 #define qh_printbegin gdal_qh_printbegin 00248 static void qh_printbegin(); 00249 #define qh_printcenter gdal_qh_printcenter 00250 static void qh_printcenter(); 00251 #define qh_printcentrum gdal_qh_printcentrum 00252 static void qh_printcentrum(); 00253 #define qh_printend gdal_qh_printend 00254 static void qh_printend(); 00255 #define qh_printend4geom gdal_qh_printend4geom 00256 static void qh_printend4geom(); 00257 #define qh_printextremes gdal_qh_printextremes 00258 static void qh_printextremes(); 00259 #define qh_printextremes_2d gdal_qh_printextremes_2d 00260 static void qh_printextremes_2d(); 00261 #define qh_printextremes_d gdal_qh_printextremes_d 00262 static void qh_printextremes_d(); 00263 #define qh_printfacet gdal_qh_printfacet 00264 static void qh_printfacet(); 00265 #define qh_printfacet2math gdal_qh_printfacet2math 00266 static void qh_printfacet2math(); 00267 #define qh_printfacet2geom gdal_qh_printfacet2geom 00268 static void qh_printfacet2geom(); 00269 #define qh_printfacet2geom_points gdal_qh_printfacet2geom_points 00270 static void qh_printfacet2geom_points(); 00271 #define qh_printfacet3math gdal_qh_printfacet3math 00272 static void qh_printfacet3math(); 00273 #define qh_printfacet3geom_nonsimplicial gdal_qh_printfacet3geom_nonsimplicial 00274 static void qh_printfacet3geom_nonsimplicial(); 00275 #define qh_printfacet3geom_points gdal_qh_printfacet3geom_points 00276 static void qh_printfacet3geom_points(); 00277 #define qh_printfacet3geom_simplicial gdal_qh_printfacet3geom_simplicial 00278 static void qh_printfacet3geom_simplicial(); 00279 #define qh_printfacet3vertex gdal_qh_printfacet3vertex 00280 static void qh_printfacet3vertex(); 00281 #define qh_printfacet4geom_nonsimplicial gdal_qh_printfacet4geom_nonsimplicial 00282 static void qh_printfacet4geom_nonsimplicial(); 00283 #define qh_printfacet4geom_simplicial gdal_qh_printfacet4geom_simplicial 00284 static void qh_printfacet4geom_simplicial(); 00285 #define qh_printfacetNvertex_nonsimplicial gdal_qh_printfacetNvertex_nonsimplicial 00286 static void qh_printfacetNvertex_nonsimplicial(); 00287 #define qh_printfacetNvertex_simplicial gdal_qh_printfacetNvertex_simplicial 00288 static void qh_printfacetNvertex_simplicial(); 00289 #define qh_printfacetheader gdal_qh_printfacetheader 00290 static void qh_printfacetheader(); 00291 #define qh_printfacetridges gdal_qh_printfacetridges 00292 static void qh_printfacetridges(); 00293 #define qh_printfacets gdal_qh_printfacets 00294 static void qh_printfacets(); 00295 #define qh_printhyperplaneintersection gdal_qh_printhyperplaneintersection 00296 static void qh_printhyperplaneintersection(); 00297 #define qh_printneighborhood gdal_qh_printneighborhood 00298 static void qh_printneighborhood(); 00299 #define qh_printline3geom gdal_qh_printline3geom 00300 static void qh_printline3geom(); 00301 #define qh_printpoint gdal_qh_printpoint 00302 static void qh_printpoint(); 00303 #define qh_printpointid gdal_qh_printpointid 00304 static void qh_printpointid(); 00305 #define qh_printpoint3 gdal_qh_printpoint3 00306 static void qh_printpoint3(); 00307 #define qh_printpoints_out gdal_qh_printpoints_out 00308 static void qh_printpoints_out(); 00309 #define qh_printpointvect gdal_qh_printpointvect 00310 static void qh_printpointvect(); 00311 #define qh_printpointvect2 gdal_qh_printpointvect2 00312 static void qh_printpointvect2(); 00313 #define qh_printridge gdal_qh_printridge 00314 static void qh_printridge(); 00315 #define qh_printspheres gdal_qh_printspheres 00316 static void qh_printspheres(); 00317 #define qh_printvdiagram gdal_qh_printvdiagram 00318 static void qh_printvdiagram(); 00319 #define qh_printvdiagram2 gdal_qh_printvdiagram2 00320 static int qh_printvdiagram2(); 00321 #define qh_printvertex gdal_qh_printvertex 00322 static void qh_printvertex(); 00323 #define qh_printvertexlist gdal_qh_printvertexlist 00324 static void qh_printvertexlist(); 00325 #define qh_printvertices gdal_qh_printvertices 00326 static void qh_printvertices(); 00327 #define qh_printvneighbors gdal_qh_printvneighbors 00328 static void qh_printvneighbors(); 00329 #define qh_printvoronoi gdal_qh_printvoronoi 00330 static void qh_printvoronoi(); 00331 #define qh_printvnorm gdal_qh_printvnorm 00332 static void qh_printvnorm(); 00333 #define qh_printvridge gdal_qh_printvridge 00334 static void qh_printvridge(); 00335 #define qh_produce_output gdal_qh_produce_output 00336 static void qh_produce_output(); 00337 #define qh_produce_output2 gdal_qh_produce_output2 00338 static void qh_produce_output2(); 00339 #define qh_projectdim3 gdal_qh_projectdim3 00340 static void qh_projectdim3(); 00341 #define qh_readfeasible gdal_qh_readfeasible 00342 static int qh_readfeasible(); 00343 #define qh_readpoints gdal_qh_readpoints 00344 static gdal_coordT * qh_readpoints(); 00345 #define qh_setfeasible gdal_qh_setfeasible 00346 static void qh_setfeasible(); 00347 #define qh_skipfacet gdal_qh_skipfacet 00348 static gdal_boolT qh_skipfacet(); 00349 #define qh_skipfilename gdal_qh_skipfilename 00350 static char * qh_skipfilename(); 00351 #define qh_qhull gdal_qh_qhull 00352 static void qh_qhull(); 00353 #define qh_addpoint gdal_qh_addpoint 00354 static gdal_boolT qh_addpoint(); 00355 #define qh_printsummary gdal_qh_printsummary 00356 static void qh_printsummary(); 00357 #define qh_errexit gdal_qh_errexit 00358 static void qh_errexit(); 00359 #define qh_errprint gdal_qh_errprint 00360 static void qh_errprint(); 00361 #define qh_new_qhull gdal_qh_new_qhull 00362 static int qh_new_qhull(); 00363 #define qh_printfacetlist gdal_qh_printfacetlist 00364 static void qh_printfacetlist(); 00365 #define qh_printhelp_degenerate gdal_qh_printhelp_degenerate 00366 static void qh_printhelp_degenerate(); 00367 #define qh_printhelp_narrowhull gdal_qh_printhelp_narrowhull 00368 static void qh_printhelp_narrowhull(); 00369 #define qh_printhelp_singular gdal_qh_printhelp_singular 00370 static void qh_printhelp_singular(); 00371 #define qh_user_memsizes gdal_qh_user_memsizes 00372 static void qh_user_memsizes(); 00373 #define qh_exit gdal_qh_exit 00374 static void qh_exit(); 00375 #define qh_free gdal_qh_free 00376 static void qh_free(); 00377 #define qh_malloc gdal_qh_malloc 00378 static void * qh_malloc(); 00379 #define qh_fprintf gdal_qh_fprintf 00380 static void qh_fprintf(FILE *fp, int msgcode, const char *fmt, ... ); 00381 /*#define qh_fprintf_rbox gdal_qh_fprintf_rbox*/ 00382 /*static void qh_fprintf_rbox(FILE *fp, int msgcode, const char *fmt, ... );*/ 00383 #define qh_findbest gdal_qh_findbest 00384 static gdal_facetT * qh_findbest(); 00385 #define qh_findbestnew gdal_qh_findbestnew 00386 static gdal_facetT * qh_findbestnew(); 00387 #define qh_gram_schmidt gdal_qh_gram_schmidt 00388 static gdal_boolT qh_gram_schmidt(); 00389 #define qh_outerinner gdal_qh_outerinner 00390 static void qh_outerinner(); 00391 #define qh_printsummary gdal_qh_printsummary 00392 static void qh_printsummary(); 00393 #define qh_projectinput gdal_qh_projectinput 00394 static void qh_projectinput(); 00395 #define qh_randommatrix gdal_qh_randommatrix 00396 static void qh_randommatrix(); 00397 #define qh_rotateinput gdal_qh_rotateinput 00398 static void qh_rotateinput(); 00399 #define qh_scaleinput gdal_qh_scaleinput 00400 static void qh_scaleinput(); 00401 #define qh_setdelaunay gdal_qh_setdelaunay 00402 static void qh_setdelaunay(); 00403 #define qh_sethalfspace_all gdal_qh_sethalfspace_all 00404 static gdal_coordT * qh_sethalfspace_all(); 00405 #define qh_clock gdal_qh_clock 00406 static unsigned long qh_clock(); 00407 #define qh_checkflags gdal_qh_checkflags 00408 static void qh_checkflags(); 00409 #define qh_clear_outputflags gdal_qh_clear_outputflags 00410 static void qh_clear_outputflags(); 00411 #define qh_freebuffers gdal_qh_freebuffers 00412 static void qh_freebuffers(); 00413 #define qh_freeqhull gdal_qh_freeqhull 00414 static void qh_freeqhull(); 00415 #define qh_freeqhull2 gdal_qh_freeqhull2 00416 static void qh_freeqhull2(); 00417 #define qh_init_A gdal_qh_init_A 00418 static void qh_init_A(); 00419 #define qh_init_B gdal_qh_init_B 00420 static void qh_init_B(); 00421 #define qh_init_qhull_command gdal_qh_init_qhull_command 00422 static void qh_init_qhull_command(); 00423 /*#define qh_initbuffers gdal_qh_initbuffers*/ 00424 /*static void qh_initbuffers();*/ 00425 #define qh_initflags gdal_qh_initflags 00426 static void qh_initflags(); 00427 #define qh_initqhull_buffers gdal_qh_initqhull_buffers 00428 static void qh_initqhull_buffers(); 00429 #define qh_initqhull_globals gdal_qh_initqhull_globals 00430 static void qh_initqhull_globals(); 00431 #define qh_initqhull_mem gdal_qh_initqhull_mem 00432 static void qh_initqhull_mem(); 00433 #define qh_initqhull_outputflags gdal_qh_initqhull_outputflags 00434 static void qh_initqhull_outputflags(); 00435 #define qh_initqhull_start gdal_qh_initqhull_start 00436 static void qh_initqhull_start(); 00437 #define qh_initqhull_start2 gdal_qh_initqhull_start2 00438 static void qh_initqhull_start2(); 00439 #define qh_initthresholds gdal_qh_initthresholds 00440 static void qh_initthresholds(); 00441 #define qh_option gdal_qh_option 00442 static void qh_option(); 00443 /*#define qh_restore_qhull gdal_qh_restore_qhull*/ 00444 /*static void qh_restore_qhull();*/ 00445 /*#define qh_save_qhull gdal_qh_save_qhull*/ 00446 /*static gdal_qhT * qh_save_qhull();*/ 00447 #define dfacet gdal_dfacet 00448 static void dfacet(); 00449 #define dvertex gdal_dvertex 00450 static void dvertex(); 00451 #define qh_printneighborhood gdal_qh_printneighborhood 00452 static void qh_printneighborhood(); 00453 #define qh_produce_output gdal_qh_produce_output 00454 static void qh_produce_output(); 00455 #define qh_readpoints gdal_qh_readpoints 00456 static gdal_coordT * qh_readpoints(); 00457 #define qh_meminit gdal_qh_meminit 00458 static void qh_meminit(); 00459 #define qh_memfreeshort gdal_qh_memfreeshort 00460 static void qh_memfreeshort(); 00461 #define qh_check_output gdal_qh_check_output 00462 static void qh_check_output(); 00463 #define qh_check_points gdal_qh_check_points 00464 static void qh_check_points(); 00465 #define qh_facetvertices gdal_qh_facetvertices 00466 static gdal_setT * qh_facetvertices(); 00467 #define qh_findbestfacet gdal_qh_findbestfacet 00468 static gdal_facetT * qh_findbestfacet(); 00469 #define qh_nearvertex gdal_qh_nearvertex 00470 static gdal_vertexT * qh_nearvertex(); 00471 #define qh_point gdal_qh_point 00472 static gdal_pointT * qh_point(); 00473 #define qh_pointfacet gdal_qh_pointfacet 00474 static gdal_setT * qh_pointfacet(); 00475 #define qh_pointid gdal_qh_pointid 00476 static int qh_pointid(); 00477 #define qh_pointvertex gdal_qh_pointvertex 00478 static gdal_setT * qh_pointvertex(); 00479 #define qh_setvoronoi_all gdal_qh_setvoronoi_all 00480 static void qh_setvoronoi_all(); 00481 #define qh_triangulate gdal_qh_triangulate 00482 static void qh_triangulate(); 00483 /*#define qh_rboxpoints gdal_qh_rboxpoints*/ 00484 /*static int qh_rboxpoints();*/ 00485 /*#define qh_errexit_rbox gdal_qh_errexit_rbox*/ 00486 /*static void qh_errexit_rbox();*/ 00487 #define qh_collectstatistics gdal_qh_collectstatistics 00488 static void qh_collectstatistics(); 00489 #define qh_printallstatistics gdal_qh_printallstatistics 00490 static void qh_printallstatistics(); 00491 /*#define machines gdal_machines*/ 00492 /*static gdal_of machines();*/ 00493 #define qh_memalloc gdal_qh_memalloc 00494 static void * qh_memalloc(); 00495 #define qh_memfree gdal_qh_memfree 00496 static void qh_memfree(); 00497 #define qh_memfreeshort gdal_qh_memfreeshort 00498 static void qh_memfreeshort(); 00499 #define qh_meminit gdal_qh_meminit 00500 static void qh_meminit(); 00501 #define qh_meminitbuffers gdal_qh_meminitbuffers 00502 static void qh_meminitbuffers(); 00503 #define qh_memsetup gdal_qh_memsetup 00504 static void qh_memsetup(); 00505 #define qh_memsize gdal_qh_memsize 00506 static void qh_memsize(); 00507 #define qh_memstatistics gdal_qh_memstatistics 00508 static void qh_memstatistics(); 00509 #define qh_memtotal gdal_qh_memtotal 00510 static void qh_memtotal(); 00511 /*#define qh_mergefacet gdal_qh_mergefacet*/ 00512 /*static gdal_if qh_mergefacet();*/ 00513 #define qh_premerge gdal_qh_premerge 00514 static void qh_premerge(); 00515 #define qh_postmerge gdal_qh_postmerge 00516 static void qh_postmerge(); 00517 #define qh_all_merges gdal_qh_all_merges 00518 static void qh_all_merges(); 00519 #define qh_appendmergeset gdal_qh_appendmergeset 00520 static void qh_appendmergeset(); 00521 #define qh_basevertices gdal_qh_basevertices 00522 static gdal_setT * qh_basevertices(); 00523 #define qh_checkconnect gdal_qh_checkconnect 00524 static void qh_checkconnect(); 00525 #define qh_checkzero gdal_qh_checkzero 00526 static gdal_boolT qh_checkzero(); 00527 #define qh_compareangle gdal_qh_compareangle 00528 static int qh_compareangle(); 00529 #define qh_comparemerge gdal_qh_comparemerge 00530 static int qh_comparemerge(); 00531 #define qh_comparevisit gdal_qh_comparevisit 00532 static int qh_comparevisit(); 00533 #define qh_copynonconvex gdal_qh_copynonconvex 00534 static void qh_copynonconvex(); 00535 #define qh_degen_redundant_facet gdal_qh_degen_redundant_facet 00536 static void qh_degen_redundant_facet(); 00537 #define qh_degen_redundant_neighbors gdal_qh_degen_redundant_neighbors 00538 static void qh_degen_redundant_neighbors(); 00539 #define qh_find_newvertex gdal_qh_find_newvertex 00540 static gdal_vertexT * qh_find_newvertex(); 00541 #define qh_findbest_test gdal_qh_findbest_test 00542 static void qh_findbest_test(); 00543 #define qh_findbestneighbor gdal_qh_findbestneighbor 00544 static gdal_facetT * qh_findbestneighbor(); 00545 #define qh_flippedmerges gdal_qh_flippedmerges 00546 static void qh_flippedmerges(); 00547 #define qh_forcedmerges gdal_qh_forcedmerges 00548 static void qh_forcedmerges(); 00549 #define qh_getmergeset gdal_qh_getmergeset 00550 static void qh_getmergeset(); 00551 #define qh_getmergeset_initial gdal_qh_getmergeset_initial 00552 static void qh_getmergeset_initial(); 00553 #define qh_hashridge gdal_qh_hashridge 00554 static void qh_hashridge(); 00555 #define qh_hashridge_find gdal_qh_hashridge_find 00556 static gdal_ridgeT * qh_hashridge_find(); 00557 #define qh_makeridges gdal_qh_makeridges 00558 static void qh_makeridges(); 00559 #define qh_mark_dupridges gdal_qh_mark_dupridges 00560 static void qh_mark_dupridges(); 00561 #define qh_maydropneighbor gdal_qh_maydropneighbor 00562 static void qh_maydropneighbor(); 00563 #define qh_merge_degenredundant gdal_qh_merge_degenredundant 00564 static int qh_merge_degenredundant(); 00565 #define qh_merge_nonconvex gdal_qh_merge_nonconvex 00566 static void qh_merge_nonconvex(); 00567 #define qh_mergecycle gdal_qh_mergecycle 00568 static void qh_mergecycle(); 00569 #define qh_mergecycle_all gdal_qh_mergecycle_all 00570 static void qh_mergecycle_all(); 00571 #define qh_mergecycle_facets gdal_qh_mergecycle_facets 00572 static void qh_mergecycle_facets(); 00573 #define qh_mergecycle_neighbors gdal_qh_mergecycle_neighbors 00574 static void qh_mergecycle_neighbors(); 00575 #define qh_mergecycle_ridges gdal_qh_mergecycle_ridges 00576 static void qh_mergecycle_ridges(); 00577 #define qh_mergecycle_vneighbors gdal_qh_mergecycle_vneighbors 00578 static void qh_mergecycle_vneighbors(); 00579 #define qh_mergefacet gdal_qh_mergefacet 00580 static void qh_mergefacet(); 00581 #define qh_mergefacet2d gdal_qh_mergefacet2d 00582 static void qh_mergefacet2d(); 00583 #define qh_mergeneighbors gdal_qh_mergeneighbors 00584 static void qh_mergeneighbors(); 00585 #define qh_mergeridges gdal_qh_mergeridges 00586 static void qh_mergeridges(); 00587 #define qh_mergesimplex gdal_qh_mergesimplex 00588 static void qh_mergesimplex(); 00589 #define qh_mergevertex_del gdal_qh_mergevertex_del 00590 static void qh_mergevertex_del(); 00591 #define qh_mergevertex_neighbors gdal_qh_mergevertex_neighbors 00592 static void qh_mergevertex_neighbors(); 00593 #define qh_mergevertices gdal_qh_mergevertices 00594 static void qh_mergevertices(); 00595 #define qh_neighbor_intersections gdal_qh_neighbor_intersections 00596 static gdal_setT * qh_neighbor_intersections(); 00597 #define qh_newvertices gdal_qh_newvertices 00598 static void qh_newvertices(); 00599 #define qh_reducevertices gdal_qh_reducevertices 00600 static gdal_boolT qh_reducevertices(); 00601 #define qh_redundant_vertex gdal_qh_redundant_vertex 00602 static gdal_vertexT * qh_redundant_vertex(); 00603 #define qh_remove_extravertices gdal_qh_remove_extravertices 00604 static gdal_boolT qh_remove_extravertices(); 00605 #define qh_rename_sharedvertex gdal_qh_rename_sharedvertex 00606 static gdal_vertexT * qh_rename_sharedvertex(); 00607 #define qh_renameridgevertex gdal_qh_renameridgevertex 00608 static void qh_renameridgevertex(); 00609 #define qh_renamevertex gdal_qh_renamevertex 00610 static void qh_renamevertex(); 00611 #define qh_test_appendmerge gdal_qh_test_appendmerge 00612 static gdal_boolT qh_test_appendmerge(); 00613 #define qh_test_vneighbors gdal_qh_test_vneighbors 00614 static gdal_boolT qh_test_vneighbors(); 00615 #define qh_tracemerge gdal_qh_tracemerge 00616 static void qh_tracemerge(); 00617 #define qh_tracemerging gdal_qh_tracemerging 00618 static void qh_tracemerging(); 00619 #define qh_updatetested gdal_qh_updatetested 00620 static void qh_updatetested(); 00621 #define qh_vertexridges gdal_qh_vertexridges 00622 static gdal_setT * qh_vertexridges(); 00623 #define qh_vertexridges_facet gdal_qh_vertexridges_facet 00624 static void qh_vertexridges_facet(); 00625 #define qh_willdelete gdal_qh_willdelete 00626 static void qh_willdelete(); 00627 #define qh_appendfacet gdal_qh_appendfacet 00628 static void qh_appendfacet(); 00629 #define qh_appendvertex gdal_qh_appendvertex 00630 static void qh_appendvertex(); 00631 #define qh_attachnewfacets gdal_qh_attachnewfacets 00632 static void qh_attachnewfacets(); 00633 #define qh_checkflipped gdal_qh_checkflipped 00634 static gdal_boolT qh_checkflipped(); 00635 #define qh_delfacet gdal_qh_delfacet 00636 static void qh_delfacet(); 00637 #define qh_deletevisible gdal_qh_deletevisible 00638 static void qh_deletevisible(); 00639 #define qh_facetintersect gdal_qh_facetintersect 00640 static gdal_setT * qh_facetintersect(); 00641 #define qh_gethash gdal_qh_gethash 00642 static int qh_gethash(); 00643 #define qh_makenewfacet gdal_qh_makenewfacet 00644 static gdal_facetT * qh_makenewfacet(); 00645 #define qh_makenewplanes gdal_qh_makenewplanes 00646 static void qh_makenewplanes(); 00647 #define qh_makenew_nonsimplicial gdal_qh_makenew_nonsimplicial 00648 static gdal_facetT * qh_makenew_nonsimplicial(); 00649 #define qh_makenew_simplicial gdal_qh_makenew_simplicial 00650 static gdal_facetT * qh_makenew_simplicial(); 00651 #define qh_matchneighbor gdal_qh_matchneighbor 00652 static void qh_matchneighbor(); 00653 #define qh_matchnewfacets gdal_qh_matchnewfacets 00654 static void qh_matchnewfacets(); 00655 #define qh_matchvertices gdal_qh_matchvertices 00656 static gdal_boolT qh_matchvertices(); 00657 #define qh_newfacet gdal_qh_newfacet 00658 static gdal_facetT * qh_newfacet(); 00659 #define qh_newridge gdal_qh_newridge 00660 static gdal_ridgeT * qh_newridge(); 00661 #define qh_pointid gdal_qh_pointid 00662 static int qh_pointid(); 00663 #define qh_removefacet gdal_qh_removefacet 00664 static void qh_removefacet(); 00665 #define qh_removevertex gdal_qh_removevertex 00666 static void qh_removevertex(); 00667 #define qh_updatevertices gdal_qh_updatevertices 00668 static void qh_updatevertices(); 00669 #define qh_addhash gdal_qh_addhash 00670 static void qh_addhash(); 00671 #define qh_check_bestdist gdal_qh_check_bestdist 00672 static void qh_check_bestdist(); 00673 #define qh_check_maxout gdal_qh_check_maxout 00674 static void qh_check_maxout(); 00675 #define qh_check_output gdal_qh_check_output 00676 static void qh_check_output(); 00677 #define qh_check_point gdal_qh_check_point 00678 static void qh_check_point(); 00679 #define qh_check_points gdal_qh_check_points 00680 static void qh_check_points(); 00681 #define qh_checkconvex gdal_qh_checkconvex 00682 static void qh_checkconvex(); 00683 #define qh_checkfacet gdal_qh_checkfacet 00684 static void qh_checkfacet(); 00685 #define qh_checkflipped_all gdal_qh_checkflipped_all 00686 static void qh_checkflipped_all(); 00687 #define qh_checkpolygon gdal_qh_checkpolygon 00688 static void qh_checkpolygon(); 00689 #define qh_checkvertex gdal_qh_checkvertex 00690 static void qh_checkvertex(); 00691 #define qh_clearcenters gdal_qh_clearcenters 00692 static void qh_clearcenters(); 00693 #define qh_createsimplex gdal_qh_createsimplex 00694 static void qh_createsimplex(); 00695 #define qh_delridge gdal_qh_delridge 00696 static void qh_delridge(); 00697 #define qh_delvertex gdal_qh_delvertex 00698 static void qh_delvertex(); 00699 #define qh_facet3vertex gdal_qh_facet3vertex 00700 static gdal_setT * qh_facet3vertex(); 00701 #define qh_findbestfacet gdal_qh_findbestfacet 00702 static gdal_facetT * qh_findbestfacet(); 00703 #define qh_findbestlower gdal_qh_findbestlower 00704 static gdal_facetT * qh_findbestlower(); 00705 #define qh_findfacet_all gdal_qh_findfacet_all 00706 static gdal_facetT * qh_findfacet_all(); 00707 #define qh_findgood gdal_qh_findgood 00708 static int qh_findgood(); 00709 #define qh_findgood_all gdal_qh_findgood_all 00710 static void qh_findgood_all(); 00711 #define qh_furthestnext gdal_qh_furthestnext 00712 static void qh_furthestnext(); 00713 #define qh_furthestout gdal_qh_furthestout 00714 static void qh_furthestout(); 00715 #define qh_infiniteloop gdal_qh_infiniteloop 00716 static void qh_infiniteloop(); 00717 #define qh_initbuild gdal_qh_initbuild 00718 static void qh_initbuild(); 00719 #define qh_initialhull gdal_qh_initialhull 00720 static void qh_initialhull(); 00721 #define qh_initialvertices gdal_qh_initialvertices 00722 static gdal_setT * qh_initialvertices(); 00723 #define qh_isvertex gdal_qh_isvertex 00724 static gdal_vertexT * qh_isvertex(); 00725 #define qh_makenewfacets gdal_qh_makenewfacets 00726 static gdal_vertexT * qh_makenewfacets(); 00727 #define qh_matchduplicates gdal_qh_matchduplicates 00728 static void qh_matchduplicates(); 00729 #define qh_nearcoplanar gdal_qh_nearcoplanar 00730 static void qh_nearcoplanar(); 00731 #define qh_nearvertex gdal_qh_nearvertex 00732 static gdal_vertexT * qh_nearvertex(); 00733 #define qh_newhashtable gdal_qh_newhashtable 00734 static int qh_newhashtable(); 00735 #define qh_newvertex gdal_qh_newvertex 00736 static gdal_vertexT * qh_newvertex(); 00737 #define qh_nextridge3d gdal_qh_nextridge3d 00738 static gdal_ridgeT * qh_nextridge3d(); 00739 #define qh_outcoplanar gdal_qh_outcoplanar 00740 static void qh_outcoplanar(); 00741 #define qh_point gdal_qh_point 00742 static gdal_pointT * qh_point(); 00743 #define qh_point_add gdal_qh_point_add 00744 static void qh_point_add(); 00745 #define qh_pointfacet gdal_qh_pointfacet 00746 static gdal_setT * qh_pointfacet(); 00747 #define qh_pointvertex gdal_qh_pointvertex 00748 static gdal_setT * qh_pointvertex(); 00749 #define qh_prependfacet gdal_qh_prependfacet 00750 static void qh_prependfacet(); 00751 #define qh_printhashtable gdal_qh_printhashtable 00752 static void qh_printhashtable(); 00753 #define qh_printlists gdal_qh_printlists 00754 static void qh_printlists(); 00755 #define qh_resetlists gdal_qh_resetlists 00756 static void qh_resetlists(); 00757 #define qh_setvoronoi_all gdal_qh_setvoronoi_all 00758 static void qh_setvoronoi_all(); 00759 #define qh_triangulate gdal_qh_triangulate 00760 static void qh_triangulate(); 00761 #define qh_triangulate_facet gdal_qh_triangulate_facet 00762 static void qh_triangulate_facet(); 00763 #define qh_triangulate_link gdal_qh_triangulate_link 00764 static void qh_triangulate_link(); 00765 #define qh_triangulate_mirror gdal_qh_triangulate_mirror 00766 static void qh_triangulate_mirror(); 00767 #define qh_triangulate_null gdal_qh_triangulate_null 00768 static void qh_triangulate_null(); 00769 #define qh_vertexintersect gdal_qh_vertexintersect 00770 static void qh_vertexintersect(); 00771 #define qh_vertexintersect_new gdal_qh_vertexintersect_new 00772 static gdal_setT * qh_vertexintersect_new(); 00773 #define qh_vertexneighbors gdal_qh_vertexneighbors 00774 static void qh_vertexneighbors(); 00775 #define qh_vertexsubset gdal_qh_vertexsubset 00776 static gdal_boolT qh_vertexsubset(); 00777 #define qh_qhull gdal_qh_qhull 00778 static void qh_qhull(); 00779 #define qh_addpoint gdal_qh_addpoint 00780 static gdal_boolT qh_addpoint(); 00781 #define qh_buildhull gdal_qh_buildhull 00782 static void qh_buildhull(); 00783 #define qh_buildtracing gdal_qh_buildtracing 00784 static void qh_buildtracing(); 00785 #define qh_build_withrestart gdal_qh_build_withrestart 00786 static void qh_build_withrestart(); 00787 #define qh_errexit2 gdal_qh_errexit2 00788 static void qh_errexit2(); 00789 #define qh_findhorizon gdal_qh_findhorizon 00790 static void qh_findhorizon(); 00791 #define qh_nextfurthest gdal_qh_nextfurthest 00792 static gdal_pointT * qh_nextfurthest(); 00793 #define qh_partitionall gdal_qh_partitionall 00794 static void qh_partitionall(); 00795 #define qh_partitioncoplanar gdal_qh_partitioncoplanar 00796 static void qh_partitioncoplanar(); 00797 #define qh_partitionpoint gdal_qh_partitionpoint 00798 static void qh_partitionpoint(); 00799 #define qh_partitionvisible gdal_qh_partitionvisible 00800 static void qh_partitionvisible(); 00801 #define qh_precision gdal_qh_precision 00802 static void qh_precision(); 00803 #define qh_printsummary gdal_qh_printsummary 00804 static void qh_printsummary(); 00805 #define qh_appendprint gdal_qh_appendprint 00806 static void qh_appendprint(); 00807 #define qh_freebuild gdal_qh_freebuild 00808 static void qh_freebuild(); 00809 #define qh_freebuffers gdal_qh_freebuffers 00810 static void qh_freebuffers(); 00811 /*#define qh_initbuffers gdal_qh_initbuffers*/ 00812 /*static void qh_initbuffers();*/ 00813 #define qh_allstatA gdal_qh_allstatA 00814 static void qh_allstatA(); 00815 #define qh_allstatB gdal_qh_allstatB 00816 static void qh_allstatB(); 00817 #define qh_allstatC gdal_qh_allstatC 00818 static void qh_allstatC(); 00819 #define qh_allstatD gdal_qh_allstatD 00820 static void qh_allstatD(); 00821 #define qh_allstatE gdal_qh_allstatE 00822 static void qh_allstatE(); 00823 #define qh_allstatE2 gdal_qh_allstatE2 00824 static void qh_allstatE2(); 00825 #define qh_allstatF gdal_qh_allstatF 00826 static void qh_allstatF(); 00827 #define qh_allstatG gdal_qh_allstatG 00828 static void qh_allstatG(); 00829 #define qh_allstatH gdal_qh_allstatH 00830 static void qh_allstatH(); 00831 #define qh_freebuffers gdal_qh_freebuffers 00832 static void qh_freebuffers(); 00833 /*#define qh_initbuffers gdal_qh_initbuffers*/ 00834 /*static void qh_initbuffers();*/ 00835 #define qh_setaddsorted gdal_qh_setaddsorted 00836 static void qh_setaddsorted(); 00837 #define qh_setaddnth gdal_qh_setaddnth 00838 static void qh_setaddnth(); 00839 #define qh_setappend gdal_qh_setappend 00840 static void qh_setappend(); 00841 #define qh_setappend_set gdal_qh_setappend_set 00842 static void qh_setappend_set(); 00843 #define qh_setappend2ndlast gdal_qh_setappend2ndlast 00844 static void qh_setappend2ndlast(); 00845 #define qh_setcheck gdal_qh_setcheck 00846 static void qh_setcheck(); 00847 #define qh_setcompact gdal_qh_setcompact 00848 static void qh_setcompact(); 00849 #define qh_setcopy gdal_qh_setcopy 00850 static gdal_setT * qh_setcopy(); 00851 #define qh_setdel gdal_qh_setdel 00852 static void * qh_setdel(); 00853 #define qh_setdellast gdal_qh_setdellast 00854 static void * qh_setdellast(); 00855 #define qh_setdelnth gdal_qh_setdelnth 00856 static void * qh_setdelnth(); 00857 #define qh_setdelnthsorted gdal_qh_setdelnthsorted 00858 static void * qh_setdelnthsorted(); 00859 #define qh_setdelsorted gdal_qh_setdelsorted 00860 static void * qh_setdelsorted(); 00861 #define qh_setduplicate gdal_qh_setduplicate 00862 static gdal_setT * qh_setduplicate(); 00863 #define qh_setequal gdal_qh_setequal 00864 static int qh_setequal(); 00865 #define qh_setequal_except gdal_qh_setequal_except 00866 static int qh_setequal_except(); 00867 #define qh_setequal_skip gdal_qh_setequal_skip 00868 static int qh_setequal_skip(); 00869 #define qh_setendpointer gdal_qh_setendpointer 00870 static void ** qh_setendpointer(); 00871 #define qh_setfree gdal_qh_setfree 00872 static void qh_setfree(); 00873 #define qh_setfree2 gdal_qh_setfree2 00874 static void qh_setfree2(); 00875 #define qh_setfreelong gdal_qh_setfreelong 00876 static void qh_setfreelong(); 00877 #define qh_setin gdal_qh_setin 00878 static int qh_setin(); 00879 #define qh_setindex gdal_qh_setindex 00880 static int qh_setindex(); 00881 #define qh_setlarger gdal_qh_setlarger 00882 static void qh_setlarger(); 00883 #define qh_setlast gdal_qh_setlast 00884 static void * qh_setlast(); 00885 #define qh_setnew gdal_qh_setnew 00886 static gdal_setT * qh_setnew(); 00887 #define qh_setnew_delnthsorted gdal_qh_setnew_delnthsorted 00888 static gdal_setT * qh_setnew_delnthsorted(); 00889 #define qh_setprint gdal_qh_setprint 00890 static void qh_setprint(); 00891 #define qh_setreplace gdal_qh_setreplace 00892 static void qh_setreplace(); 00893 #define qh_setsize gdal_qh_setsize 00894 static int qh_setsize(); 00895 #define qh_settemp gdal_qh_settemp 00896 static gdal_setT * qh_settemp(); 00897 #define qh_settempfree gdal_qh_settempfree 00898 static void qh_settempfree(); 00899 #define qh_settempfree_all gdal_qh_settempfree_all 00900 static void qh_settempfree_all(); 00901 #define qh_settemppop gdal_qh_settemppop 00902 static gdal_setT * qh_settemppop(); 00903 #define qh_settemppush gdal_qh_settemppush 00904 static void qh_settemppush(); 00905 #define qh_settruncate gdal_qh_settruncate 00906 static void qh_settruncate(); 00907 #define qh_setunique gdal_qh_setunique 00908 static int qh_setunique(); 00909 #define qh_setzero gdal_qh_setzero 00910 static void qh_setzero(); 00911 #define qh_argv_to_command gdal_qh_argv_to_command 00912 static int qh_argv_to_command(); 00913 #define qh_argv_to_command_size gdal_qh_argv_to_command_size 00914 static int qh_argv_to_command_size(); 00915 #define qh_rand gdal_qh_rand 00916 static int qh_rand(); 00917 #define qh_srand gdal_qh_srand 00918 static void qh_srand(); 00919 #define qh_randomfactor gdal_qh_randomfactor 00920 static gdal_realT qh_randomfactor(); 00921 #define qh_randommatrix gdal_qh_randommatrix 00922 static void qh_randommatrix(); 00923 #define qh_strtol gdal_qh_strtol 00924 static int qh_strtol(); 00925 #define qh_strtod gdal_qh_strtod 00926 static double qh_strtod(); 00927 #define qh_allstatA gdal_qh_allstatA 00928 static void qh_allstatA(); 00929 #define qh_allstatB gdal_qh_allstatB 00930 static void qh_allstatB(); 00931 #define qh_allstatC gdal_qh_allstatC 00932 static void qh_allstatC(); 00933 #define qh_allstatD gdal_qh_allstatD 00934 static void qh_allstatD(); 00935 #define qh_allstatE gdal_qh_allstatE 00936 static void qh_allstatE(); 00937 #define qh_allstatE2 gdal_qh_allstatE2 00938 static void qh_allstatE2(); 00939 #define qh_allstatF gdal_qh_allstatF 00940 static void qh_allstatF(); 00941 #define qh_allstatG gdal_qh_allstatG 00942 static void qh_allstatG(); 00943 #define qh_allstatH gdal_qh_allstatH 00944 static void qh_allstatH(); 00945 #define qh_allstatI gdal_qh_allstatI 00946 static void qh_allstatI(); 00947 #define qh_allstatistics gdal_qh_allstatistics 00948 static void qh_allstatistics(); 00949 #define qh_collectstatistics gdal_qh_collectstatistics 00950 static void qh_collectstatistics(); 00951 #define qh_freestatistics gdal_qh_freestatistics 00952 static void qh_freestatistics(); 00953 #define qh_initstatistics gdal_qh_initstatistics 00954 static void qh_initstatistics(); 00955 #define qh_newstats gdal_qh_newstats 00956 static gdal_boolT qh_newstats(); 00957 #define qh_nostatistic gdal_qh_nostatistic 00958 static gdal_boolT qh_nostatistic(); 00959 #define qh_printallstatistics gdal_qh_printallstatistics 00960 static void qh_printallstatistics(); 00961 #define qh_printstatistics gdal_qh_printstatistics 00962 static void qh_printstatistics(); 00963 #define qh_printstatlevel gdal_qh_printstatlevel 00964 static void qh_printstatlevel(); 00965 #define qh_printstats gdal_qh_printstats 00966 static void qh_printstats(); 00967 #define qh_stddev gdal_qh_stddev 00968 static gdal_realT qh_stddev(); 00969 00970 #ifdef _MSC_VER 00971 #pragma warning( push ) 00972 #pragma warning( disable : 4324 ) 00973 #pragma warning( disable : 4032 ) 00974 #pragma warning( disable : 4306 ) /* e.g 'type cast' : conversion from 'long' to 'facetT *' of greater size */ 00975 #endif 00976 00977 #include "internal_libqhull/libqhull.h" 00978 #include "internal_libqhull/libqhull.c" 00979 #include "internal_libqhull/poly.c" 00980 #include "internal_libqhull/poly2.c" 00981 #include "internal_libqhull/mem.c" 00982 #include "internal_libqhull/user.c" 00983 #include "internal_libqhull/global.c" 00984 /*#include "userprintf.c"*/ 00985 #include "internal_libqhull/random.c" 00986 #include "internal_libqhull/qset.c" 00987 #include "internal_libqhull/io.c" 00988 #include "internal_libqhull/usermem.c" 00989 #include "internal_libqhull/geom.c" 00990 #include "internal_libqhull/geom2.c" 00991 #include "internal_libqhull/stat.c" 00992 #include "internal_libqhull/merge.c" 00993 00994 #ifdef _MSC_VER 00995 #pragma warning( pop ) 00996 #endif 00997 00998 /* Replaces userprintf.c implementation */ 00999 static void qh_fprintf(CPL_UNUSED FILE *fp, CPL_UNUSED int msgcode, const char *fmt, ... ) 01000 { 01001 va_list args; 01002 va_start(args, fmt); 01003 CPLErrorV(CE_Warning, CPLE_AppDefined, fmt, args); 01004 va_end(args); 01005 } 01006 01007 #endif
1.7.6.1.