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

Go to the source code of this file.

Macros

#define COUNTmax   0x7fffffff
 
#define DEFcountT   1
 
#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_QUICKhelp   0
 
#define qh_RANDOMint   qh_rand(qh)
 
#define qh_RANDOMmax   ((realT)2147483646UL) /* 31 bits, qh_rand/MAX */
 
#define qh_RANDOMseed_(qh, seed)   qh_srand(qh, 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
 

Typedefs

typedef int countT
 

Macro Definition Documentation

◆ COUNTmax

#define COUNTmax   0x7fffffff

Definition at line 184 of file user_r.h.

◆ DEFcountT

#define DEFcountT   1

Definition at line 181 of file user_r.h.

◆ MSG_ERROR

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

Definition at line 75 of file user_r.h.

◆ MSG_FIXUP

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

Definition at line 80 of file user_r.h.

◆ MSG_MAXLEN

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

Definition at line 81 of file user_r.h.

◆ MSG_OUTPUT

#define MSG_OUTPUT   9000

Definition at line 78 of file user_r.h.

◆ MSG_QHULL_ERROR

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

Definition at line 79 of file user_r.h.

◆ MSG_STDERR

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

Definition at line 77 of file user_r.h.

◆ MSG_TRACE0

#define MSG_TRACE0   0

Definition at line 69 of file user_r.h.

◆ MSG_TRACE1

#define MSG_TRACE1   1000

Definition at line 70 of file user_r.h.

◆ MSG_TRACE2

#define MSG_TRACE2   2000

Definition at line 71 of file user_r.h.

◆ MSG_TRACE3

#define MSG_TRACE3   3000

Definition at line 72 of file user_r.h.

◆ MSG_TRACE4

#define MSG_TRACE4   4000

Definition at line 73 of file user_r.h.

◆ MSG_TRACE5

#define MSG_TRACE5   5000

Definition at line 74 of file user_r.h.

◆ MSG_WARNING

#define MSG_WARNING   7000

Definition at line 76 of file user_r.h.

◆ qh_BESTcentrum

#define qh_BESTcentrum   20

Definition at line 651 of file user_r.h.

◆ qh_BESTcentrum2

#define qh_BESTcentrum2   2

Definition at line 652 of file user_r.h.

◆ qh_BESTnonconvex

#define qh_BESTnonconvex   15

Definition at line 663 of file user_r.h.

◆ qh_CLOCKtype

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

Definition at line 214 of file user_r.h.

◆ qh_COMPUTEfurthest

#define qh_COMPUTEfurthest   0

Definition at line 544 of file user_r.h.

◆ qh_COPLANARratio

#define qh_COPLANARratio   3

Definition at line 698 of file user_r.h.

◆ qh_CPUclock

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

Definition at line 231 of file user_r.h.

◆ qh_DEFAULTbox

#define qh_DEFAULTbox   0.5

Definition at line 506 of file user_r.h.

◆ qh_DEFAULTzbox

#define qh_DEFAULTzbox   1e6

Definition at line 507 of file user_r.h.

◆ qh_DIMmergeVertex

#define qh_DIMmergeVertex   6

Definition at line 631 of file user_r.h.

◆ qh_DIMreduceBuild

#define qh_DIMreduceBuild   5

Definition at line 639 of file user_r.h.

◆ qh_DISToutside

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

Definition at line 728 of file user_r.h.

◆ qh_FILENAMElen

#define qh_FILENAMElen   500

Definition at line 53 of file user_r.h.

◆ qh_HASHfactor

#define qh_HASHfactor   2

Definition at line 409 of file user_r.h.

◆ qh_INFINITE

#define qh_INFINITE   -10.101

Definition at line 495 of file user_r.h.

◆ qh_INITIALmax

#define qh_INITIALmax   8

Definition at line 440 of file user_r.h.

◆ qh_INITIALsearch

#define qh_INITIALsearch   6

Definition at line 428 of file user_r.h.

◆ qh_JOGGLEagain

#define qh_JOGGLEagain   1

Definition at line 374 of file user_r.h.

◆ qh_JOGGLEdefault

#define qh_JOGGLEdefault   30000.0

Definition at line 344 of file user_r.h.

◆ qh_JOGGLEincrease

#define qh_JOGGLEincrease   10.0

Definition at line 352 of file user_r.h.

◆ qh_JOGGLEmaxincrease

#define qh_JOGGLEmaxincrease   1e-2

Definition at line 386 of file user_r.h.

◆ qh_JOGGLEmaxretry

#define qh_JOGGLEmaxretry   100

Definition at line 394 of file user_r.h.

◆ qh_JOGGLEretry

#define qh_JOGGLEretry   2

Definition at line 363 of file user_r.h.

◆ qh_KEEPstatistics

#define qh_KEEPstatistics   1

Definition at line 555 of file user_r.h.

◆ qh_MAXnarrow

#define qh_MAXnarrow   -0.99999999

Definition at line 817 of file user_r.h.

◆ qh_MAXnewcentrum

#define qh_MAXnewcentrum   5

Definition at line 687 of file user_r.h.

◆ qh_MAXnewmerges

#define qh_MAXnewmerges   2

Definition at line 674 of file user_r.h.

◆ qh_MAXoutside

#define qh_MAXoutside   1

Definition at line 568 of file user_r.h.

◆ qh_MEMalign

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

Definition at line 465 of file user_r.h.

◆ qh_MEMbufsize

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

Definition at line 476 of file user_r.h.

◆ qh_MEMinitbuf

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

Definition at line 487 of file user_r.h.

◆ qh_OPTIONline

#define qh_OPTIONline   80

Definition at line 89 of file user_r.h.

◆ qh_ORIENTclock

#define qh_ORIENTclock   0

Definition at line 317 of file user_r.h.

◆ qh_QUICKhelp

#define qh_QUICKhelp   0

Definition at line 615 of file user_r.h.

◆ qh_RANDOMint

#define qh_RANDOMint   qh_rand(qh)

Definition at line 303 of file user_r.h.

◆ qh_RANDOMmax

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

Definition at line 302 of file user_r.h.

◆ qh_RANDOMseed_

#define qh_RANDOMseed_ (   qh,
  seed 
)    qh_srand(qh, seed);

Definition at line 304 of file user_r.h.

◆ qh_RANDOMtype

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

Definition at line 275 of file user_r.h.

◆ qh_RATIOnearinside

#define qh_RATIOnearinside   5

Definition at line 743 of file user_r.h.

◆ qh_REAL_1

#define qh_REAL_1   "%6.16g "

Definition at line 160 of file user_r.h.

◆ qh_REAL_2n

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

Definition at line 161 of file user_r.h.

◆ qh_REAL_3n

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

Definition at line 162 of file user_r.h.

◆ qh_REALdigits

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

Definition at line 159 of file user_r.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 757 of file user_r.h.

◆ qh_SECticks

#define qh_SECticks   1E6

Definition at line 232 of file user_r.h.

◆ qh_USEfindbestnew

#define qh_USEfindbestnew   (zzval_(Ztotmerge) > 50)

Definition at line 772 of file user_r.h.

◆ qh_VERIFYdirect

#define qh_VERIFYdirect   1000000

Definition at line 420 of file user_r.h.

◆ qh_WARNnarrow

#define qh_WARNnarrow   -0.999999999999999

Definition at line 829 of file user_r.h.

◆ qh_WIDEcoplanar

#define qh_WIDEcoplanar   6

Definition at line 788 of file user_r.h.

◆ qh_WIDEduplicate

#define qh_WIDEduplicate   100

Definition at line 801 of file user_r.h.

◆ qh_ZEROdelaunay

#define qh_ZEROdelaunay   2

Definition at line 848 of file user_r.h.

◆ REALepsilon

#define REALepsilon   DBL_EPSILON

Definition at line 158 of file user_r.h.

◆ REALfloat

#define REALfloat   0

Definition at line 142 of file user_r.h.

◆ REALmax

#define REALmax   DBL_MAX

Definition at line 156 of file user_r.h.

◆ REALmin

#define REALmin   DBL_MIN

Definition at line 157 of file user_r.h.

◆ realT

#define realT   double

Definition at line 155 of file user_r.h.

Typedef Documentation

◆ countT

typedef int countT

Definition at line 182 of file user_r.h.

qh_USEfindbestnew
#define qh_USEfindbestnew
Definition: user_r.h:772
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