Macros
user.h File Reference
#include <time.h>
Include dependency graph for user.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MSG_ERROR   6000 /* errors written to qh.ferr */
 
#define MSG_FIXUP   11000 /* FIXUP QH11... */
 
#define MSG_MAXLEN   3000 /* qh_printhelp_degenerate() in user.c */
 
#define MSG_OUTPUT   9000
 
#define MSG_QHULL_ERROR   10000 /* errors thrown by QhullError.cpp (QHULLlastError is in QhullError.h) */
 
#define MSG_STDERR   8000 /* log messages Written to qh.ferr */
 
#define MSG_TRACE0   0
 
#define MSG_TRACE1   1000
 
#define MSG_TRACE2   2000
 
#define MSG_TRACE3   3000
 
#define MSG_TRACE4   4000
 
#define MSG_TRACE5   5000
 
#define MSG_WARNING   7000
 
#define qh_BESTcentrum   20
 
#define qh_BESTcentrum2   2
 
#define qh_BESTnonconvex   15
 
#define qh_CLOCKtype   1 /* change to the desired number */
 
#define qh_COMPUTEfurthest   0
 
#define qh_COPLANARratio   3
 
#define qh_CPUclock   ((unsigned long)clock()) /* return CPU clock */
 
#define qh_DEFAULTbox   0.5
 
#define qh_DEFAULTzbox   1e6
 
#define qh_DIMmergeVertex   6
 
#define qh_DIMreduceBuild   5
 
#define qh_DISToutside
 
#define qh_FILENAMElen   500
 
#define qh_HASHfactor   2
 
#define qh_INFINITE   -10.101
 
#define qh_INITIALmax   8
 
#define qh_INITIALsearch   6
 
#define qh_JOGGLEagain   1
 
#define qh_JOGGLEdefault   30000.0
 
#define qh_JOGGLEincrease   10.0
 
#define qh_JOGGLEmaxincrease   1e-2
 
#define qh_JOGGLEmaxretry   100
 
#define qh_JOGGLEretry   2
 
#define qh_KEEPstatistics   1
 
#define qh_MAXnarrow   -0.99999999
 
#define qh_MAXnewcentrum   5
 
#define qh_MAXnewmerges   2
 
#define qh_MAXoutside   1
 
#define qh_MEMalign   ((int)(fmax_(sizeof(realT), sizeof(void *))))
 
#define qh_MEMbufsize   0x10000 /* allocate 64K memory buffers */
 
#define qh_MEMinitbuf   0x20000 /* initially allocate 128K buffer */
 
#define qh_OPTIONline   80
 
#define qh_ORIENTclock   0
 
#define qh_QHpointer   0
 
#define qh_QUICKhelp   0
 
#define qh_RANDOMint   qh_rand()
 
#define qh_RANDOMmax   ((realT)2147483646UL) /* 31 bits, qh_rand/MAX */
 
#define qh_RANDOMseed_(seed)   qh_srand(seed);
 
#define qh_RANDOMtype   5 /* *** change to the desired number *** */
 
#define qh_RATIOnearinside   5
 
#define qh_REAL_1   "%6.16g "
 
#define qh_REAL_2n   "%6.16g %6.16g\n"
 
#define qh_REAL_3n   "%6.16g %6.16g %6.16g\n"
 
#define qh_REALdigits   16 /* maximum number of significant digits */
 
#define qh_SEARCHdist
 
#define qh_SECticks   1E6
 
#define qh_USEfindbestnew   (zzval_(Ztotmerge) > 50)
 
#define qh_VERIFYdirect   1000000
 
#define qh_WARNnarrow   -0.999999999999999
 
#define qh_WIDEcoplanar   6
 
#define qh_WIDEduplicate   100
 
#define qh_ZEROdelaunay   2
 
#define REALepsilon   DBL_EPSILON
 
#define REALfloat   0
 
#define REALmax   DBL_MAX
 
#define REALmin   DBL_MIN
 
#define realT   double
 

Macro Definition Documentation

◆ MSG_ERROR

#define MSG_ERROR   6000 /* errors written to qh.ferr */

Definition at line 74 of file user.h.

◆ MSG_FIXUP

#define MSG_FIXUP   11000 /* FIXUP QH11... */

Definition at line 79 of file user.h.

◆ MSG_MAXLEN

#define MSG_MAXLEN   3000 /* qh_printhelp_degenerate() in user.c */

Definition at line 80 of file user.h.

◆ MSG_OUTPUT

#define MSG_OUTPUT   9000

Definition at line 77 of file user.h.

◆ MSG_QHULL_ERROR

#define MSG_QHULL_ERROR   10000 /* errors thrown by QhullError.cpp (QHULLlastError is in QhullError.h) */

Definition at line 78 of file user.h.

◆ MSG_STDERR

#define MSG_STDERR   8000 /* log messages Written to qh.ferr */

Definition at line 76 of file user.h.

◆ MSG_TRACE0

#define MSG_TRACE0   0

Definition at line 68 of file user.h.

◆ MSG_TRACE1

#define MSG_TRACE1   1000

Definition at line 69 of file user.h.

◆ MSG_TRACE2

#define MSG_TRACE2   2000

Definition at line 70 of file user.h.

◆ MSG_TRACE3

#define MSG_TRACE3   3000

Definition at line 71 of file user.h.

◆ MSG_TRACE4

#define MSG_TRACE4   4000

Definition at line 72 of file user.h.

◆ MSG_TRACE5

#define MSG_TRACE5   5000

Definition at line 73 of file user.h.

◆ MSG_WARNING

#define MSG_WARNING   7000

Definition at line 75 of file user.h.

◆ qh_BESTcentrum

#define qh_BESTcentrum   20

Definition at line 679 of file user.h.

◆ qh_BESTcentrum2

#define qh_BESTcentrum2   2

Definition at line 680 of file user.h.

◆ qh_BESTnonconvex

#define qh_BESTnonconvex   15

Definition at line 691 of file user.h.

◆ qh_CLOCKtype

#define qh_CLOCKtype   1 /* change to the desired number */

Definition at line 194 of file user.h.

◆ qh_COMPUTEfurthest

#define qh_COMPUTEfurthest   0

Definition at line 523 of file user.h.

◆ qh_COPLANARratio

#define qh_COPLANARratio   3

Definition at line 726 of file user.h.

◆ qh_CPUclock

#define qh_CPUclock   ((unsigned long)clock()) /* return CPU clock */

Definition at line 211 of file user.h.

◆ qh_DEFAULTbox

#define qh_DEFAULTbox   0.5

Definition at line 486 of file user.h.

◆ qh_DEFAULTzbox

#define qh_DEFAULTzbox   1e6

Definition at line 487 of file user.h.

◆ qh_DIMmergeVertex

#define qh_DIMmergeVertex   6

Definition at line 659 of file user.h.

◆ qh_DIMreduceBuild

#define qh_DIMreduceBuild   5

Definition at line 667 of file user.h.

◆ qh_DISToutside

#define qh_DISToutside
Value:
((qh_USEfindbestnew ? 2 : 1) * \
fmax_((qh MERGING ? 2 : 1)*qh MINoutside, qh max_outside))

Definition at line 756 of file user.h.

◆ qh_FILENAMElen

#define qh_FILENAMElen   500

Definition at line 52 of file user.h.

◆ qh_HASHfactor

#define qh_HASHfactor   2

Definition at line 389 of file user.h.

◆ qh_INFINITE

#define qh_INFINITE   -10.101

Definition at line 475 of file user.h.

◆ qh_INITIALmax

#define qh_INITIALmax   8

Definition at line 420 of file user.h.

◆ qh_INITIALsearch

#define qh_INITIALsearch   6

Definition at line 408 of file user.h.

◆ qh_JOGGLEagain

#define qh_JOGGLEagain   1

Definition at line 354 of file user.h.

◆ qh_JOGGLEdefault

#define qh_JOGGLEdefault   30000.0

Definition at line 324 of file user.h.

◆ qh_JOGGLEincrease

#define qh_JOGGLEincrease   10.0

Definition at line 332 of file user.h.

◆ qh_JOGGLEmaxincrease

#define qh_JOGGLEmaxincrease   1e-2

Definition at line 366 of file user.h.

◆ qh_JOGGLEmaxretry

#define qh_JOGGLEmaxretry   100

Definition at line 374 of file user.h.

◆ qh_JOGGLEretry

#define qh_JOGGLEretry   2

Definition at line 343 of file user.h.

◆ qh_KEEPstatistics

#define qh_KEEPstatistics   1

Definition at line 534 of file user.h.

◆ qh_MAXnarrow

#define qh_MAXnarrow   -0.99999999

Definition at line 845 of file user.h.

◆ qh_MAXnewcentrum

#define qh_MAXnewcentrum   5

Definition at line 715 of file user.h.

◆ qh_MAXnewmerges

#define qh_MAXnewmerges   2

Definition at line 702 of file user.h.

◆ qh_MAXoutside

#define qh_MAXoutside   1

Definition at line 547 of file user.h.

◆ qh_MEMalign

#define qh_MEMalign   ((int)(fmax_(sizeof(realT), sizeof(void *))))

Definition at line 445 of file user.h.

◆ qh_MEMbufsize

#define qh_MEMbufsize   0x10000 /* allocate 64K memory buffers */

Definition at line 456 of file user.h.

◆ qh_MEMinitbuf

#define qh_MEMinitbuf   0x20000 /* initially allocate 128K buffer */

Definition at line 467 of file user.h.

◆ qh_OPTIONline

#define qh_OPTIONline   80

Definition at line 88 of file user.h.

◆ qh_ORIENTclock

#define qh_ORIENTclock   0

Definition at line 297 of file user.h.

◆ qh_QHpointer

#define qh_QHpointer   0

Definition at line 612 of file user.h.

◆ qh_QUICKhelp

#define qh_QUICKhelp   0

Definition at line 643 of file user.h.

◆ qh_RANDOMint

#define qh_RANDOMint   qh_rand()

Definition at line 283 of file user.h.

◆ qh_RANDOMmax

#define qh_RANDOMmax   ((realT)2147483646UL) /* 31 bits, qh_rand/MAX */

Definition at line 282 of file user.h.

◆ qh_RANDOMseed_

#define qh_RANDOMseed_ (   seed)    qh_srand(seed);

Definition at line 284 of file user.h.

◆ qh_RANDOMtype

#define qh_RANDOMtype   5 /* *** change to the desired number *** */

Definition at line 255 of file user.h.

◆ qh_RATIOnearinside

#define qh_RATIOnearinside   5

Definition at line 771 of file user.h.

◆ qh_REAL_1

#define qh_REAL_1   "%6.16g "

Definition at line 159 of file user.h.

◆ qh_REAL_2n

#define qh_REAL_2n   "%6.16g %6.16g\n"

Definition at line 160 of file user.h.

◆ qh_REAL_3n

#define qh_REAL_3n   "%6.16g %6.16g %6.16g\n"

Definition at line 161 of file user.h.

◆ qh_REALdigits

#define qh_REALdigits   16 /* maximum number of significant digits */

Definition at line 158 of file user.h.

◆ qh_SEARCHdist

#define qh_SEARCHdist
Value:
((qh_USEfindbestnew ? 2 : 1) * \
(qh max_outside + 2 * qh DISTround + fmax_( qh MINvisible, qh MAXcoplanar)));

Definition at line 785 of file user.h.

◆ qh_SECticks

#define qh_SECticks   1E6

Definition at line 212 of file user.h.

◆ qh_USEfindbestnew

#define qh_USEfindbestnew   (zzval_(Ztotmerge) > 50)

Definition at line 800 of file user.h.

◆ qh_VERIFYdirect

#define qh_VERIFYdirect   1000000

Definition at line 400 of file user.h.

◆ qh_WARNnarrow

#define qh_WARNnarrow   -0.999999999999999

Definition at line 857 of file user.h.

◆ qh_WIDEcoplanar

#define qh_WIDEcoplanar   6

Definition at line 816 of file user.h.

◆ qh_WIDEduplicate

#define qh_WIDEduplicate   100

Definition at line 829 of file user.h.

◆ qh_ZEROdelaunay

#define qh_ZEROdelaunay   2

Definition at line 876 of file user.h.

◆ REALepsilon

#define REALepsilon   DBL_EPSILON

Definition at line 157 of file user.h.

◆ REALfloat

#define REALfloat   0

Definition at line 141 of file user.h.

◆ REALmax

#define REALmax   DBL_MAX

Definition at line 155 of file user.h.

◆ REALmin

#define REALmin   DBL_MIN

Definition at line 156 of file user.h.

◆ realT

#define realT   double

Definition at line 154 of file user.h.

qh_USEfindbestnew
#define qh_USEfindbestnew
Definition: user.h:800
fmax_
#define fmax_(a, b)
Definition: geom.h:35
qh
#define qh
Definition: libqhull.h:457


hpp-fcl
Author(s):
autogenerated on Fri Aug 2 2024 02:45:16