Go to the documentation of this file.
19 #pragma warning( disable : 4706)
20 #pragma warning( disable : 4996)
48 if ((s= strrchr( argv[0],
'\\'))
49 || (s= strrchr( argv[0],
'/')))
53 if ((
int)strlen(s) < max_size)
57 if ((s= strstr(command,
".EXE"))
58 || (s= strstr(command,
".exe")))
61 for (i=1; i < argc; i++) {
63 remaining= max_size - (int)strlen(command) - (int)strlen(s) - 2;
64 if (!*s || strchr(s,
' ')) {
65 char *
t= command + strlen(command);
82 }
else if (remaining < 0) {
106 unsigned int count= 1;
110 for (i=0; i<argc; i++){
111 count += (int)strlen(argv[i]) + 1;
112 if (i>0 && strchr(argv[i],
' ')) {
114 for (s=argv[i]; *s; s++) {
143 #define qh_rand_a 16807
144 #define qh_rand_m 2147483647
145 #define qh_rand_q 127773
146 #define qh_rand_r 2836
150 int seed =
qh->last_random;
188 return randr * scale + offset;
208 realT **rowi, *coord, realr;
212 for (i=0; i <
dim; i++) {
214 for (k=0; k <
dim; k++) {
234 result= strtod(s, endp);
235 if (s < (*endp) && (*endp)[-1] ==
' ')
243 result= (int) strtol(s, endp, 10);
244 if (s< (*endp) && (*endp)[-1] ==
' ')
void seed(unsigned int seed_value)
void qh_randommatrix(qhT *qh, realT *buffer, int dim, realT **rows)
void test(const Shape &original_shape, const CoalScalar inflation, const CoalScalar tol=1e-8)
int qh_argv_to_command(int argc, char *argv[], char *command, int max_size)
int qh_argv_to_command_size(int argc, char *argv[])
realT qh_randomfactor(qhT *qh, realT scale, realT offset)
void qh_srand(qhT *qh, int seed)
int qh_strtol(const char *s, char **endp)
double qh_strtod(const char *s, char **endp)
hpp-fcl
Author(s):
autogenerated on Sat Nov 23 2024 03:44:59