#include <stdio.h>
#include <stdlib.h>
#include <setjmp.h>
#include <string.h>
#include <math.h>
#include <float.h>
#include <limits.h>
#include <time.h>
#include <ctype.h>
#include "qhull.h"
#include "mem.h"
#include "qset.h"
#include "geom.h"
#include "merge.h"
#include "poly.h"
#include "io.h"
#include "stat.h"
Go to the source code of this file.
Defines |
#define | trace0(args) {if (qh IStracing) fprintf args;} |
#define | trace1(args) {if (qh IStracing >= 1) fprintf args;} |
#define | trace2(args) {if (qh IStracing >= 2) fprintf args;} |
#define | trace3(args) {if (qh IStracing >= 3) fprintf args;} |
#define | trace4(args) {if (qh IStracing >= 4) fprintf args;} |
#define | trace5(args) {if (qh IStracing >= 5) fprintf args;} |
Functions |
void | qh_qhull (void) |
boolT | qh_addpoint (pointT *furthest, facetT *facet, boolT checkdist) |
void | qh_buildhull (void) |
void | qh_buildtracing (pointT *furthest, facetT *facet) |
void | qh_build_withrestart (void) |
void | qh_errexit2 (int exitcode, facetT *facet, facetT *otherfacet) |
void | qh_findhorizon (pointT *point, facetT *facet, int *goodvisible, int *goodhorizon) |
pointT * | qh_nextfurthest (facetT **visible) |
void | qh_partitionall (setT *vertices, pointT *points, int npoints) |
void | qh_partitioncoplanar (pointT *point, facetT *facet, realT *dist) |
void | qh_partitionpoint (pointT *point, facetT *facet) |
void | qh_partitionvisible (boolT allpoints, int *numpoints) |
void | qh_precision (char *reason) |
void | qh_printsummary (FILE *fp) |
void | qh_appendprint (qh_PRINT format) |
void | qh_freebuild (boolT allmem) |
void | qh_freebuffers (void) |
void | qh_initbuffers (coordT *points, int numpoints, int dim, boolT ismalloc) |
int | qh_strtol (const char *s, char **endp) |
double | qh_strtod (const char *s, char **endp) |
void | qh_allstatA (void) |
void | qh_allstatB (void) |
void | qh_allstatC (void) |
void | qh_allstatD (void) |
void | qh_allstatE (void) |
void | qh_allstatE2 (void) |
void | qh_allstatF (void) |
void | qh_allstatG (void) |
void | qh_allstatH (void) |
Define Documentation
#define trace0 |
( |
|
args |
) |
{if (qh IStracing) fprintf args;} |
#define trace1 |
( |
|
args |
) |
{if (qh IStracing >= 1) fprintf args;} |
#define trace2 |
( |
|
args |
) |
{if (qh IStracing >= 2) fprintf args;} |
#define trace3 |
( |
|
args |
) |
{if (qh IStracing >= 3) fprintf args;} |
#define trace4 |
( |
|
args |
) |
{if (qh IStracing >= 4) fprintf args;} |
#define trace5 |
( |
|
args |
) |
{if (qh IStracing >= 5) fprintf args;} |
Function Documentation
boolT qh_addpoint |
( |
pointT * |
furthest, |
|
|
facetT * |
facet, |
|
|
boolT |
checkdist | |
|
) |
| | |
void qh_allstatA |
( |
void |
|
) |
|
void qh_allstatB |
( |
void |
|
) |
|
void qh_allstatC |
( |
void |
|
) |
|
void qh_allstatD |
( |
void |
|
) |
|
void qh_allstatE |
( |
void |
|
) |
|
void qh_allstatE2 |
( |
void |
|
) |
|
void qh_allstatF |
( |
void |
|
) |
|
void qh_allstatG |
( |
void |
|
) |
|
void qh_allstatH |
( |
void |
|
) |
|
void qh_build_withrestart |
( |
void |
|
) |
|
void qh_buildhull |
( |
void |
|
) |
|
void qh_buildtracing |
( |
pointT * |
furthest, |
|
|
facetT * |
facet | |
|
) |
| | |
void qh_errexit2 |
( |
int |
exitcode, |
|
|
facetT * |
facet, |
|
|
facetT * |
otherfacet | |
|
) |
| | |
void qh_findhorizon |
( |
pointT * |
point, |
|
|
facetT * |
facet, |
|
|
int * |
goodvisible, |
|
|
int * |
goodhorizon | |
|
) |
| | |
void qh_freebuffers |
( |
void |
|
) |
|
void qh_freebuild |
( |
boolT |
allmem |
) |
|
void qh_initbuffers |
( |
coordT * |
points, |
|
|
int |
numpoints, |
|
|
int |
dim, |
|
|
boolT |
ismalloc | |
|
) |
| | |
pointT* qh_nextfurthest |
( |
facetT ** |
visible |
) |
|
void qh_partitionall |
( |
setT * |
vertices, |
|
|
pointT * |
points, |
|
|
int |
npoints | |
|
) |
| | |
void qh_partitioncoplanar |
( |
pointT * |
point, |
|
|
facetT * |
facet, |
|
|
realT * |
dist | |
|
) |
| | |
void qh_partitionpoint |
( |
pointT * |
point, |
|
|
facetT * |
facet | |
|
) |
| | |
void qh_partitionvisible |
( |
boolT |
allpoints, |
|
|
int * |
numpoints | |
|
) |
| | |
void qh_precision |
( |
char * |
reason |
) |
|
void qh_printsummary |
( |
FILE * |
fp |
) |
|
double qh_strtod |
( |
const char * |
s, |
|
|
char ** |
endp | |
|
) |
| | |
int qh_strtol |
( |
const char * |
s, |
|
|
char ** |
endp | |
|
) |
| | |