27 #define qh_MAXfirst 200 35 #define qh_MINradius 0.02 44 #define qh_GEOMepsilon 2e-3 52 #define qh_WHITESPACE " \n\t\v\r\f" 88 int *numfacetsp,
int *numsimplicialp,
int *totneighborsp,
89 int *numridgesp,
int *numcoplanarsp,
int *numnumtricoplanarsp);
void qh_printextremes_2d(qhT *qh, FILE *fp, facetT *facetlist, setT *facets, boolT printall)
void qh_printcenter(qhT *qh, FILE *fp, qh_PRINT format, const char *string, facetT *facet)
void qh_printextremes(qhT *qh, FILE *fp, facetT *facetlist, setT *facets, boolT printall)
void qh_printfacet2math(qhT *qh, FILE *fp, facetT *facet, qh_PRINT format, int notfirst)
setT * qh_detvridge(qhT *qh, vertexT *vertex)
int qh_readfeasible(qhT *qh, int dim, const char *curline)
void qh_printvneighbors(qhT *qh, FILE *fp, facetT *facetlist, setT *facets, boolT printall)
void qh_countfacets(qhT *qh, facetT *facetlist, setT *facets, boolT printall, int *numfacetsp, int *numsimplicialp, int *totneighborsp, int *numridgesp, int *numcoplanarsp, int *numnumtricoplanarsp)
void qh_printpoint3(qhT *qh, FILE *fp, pointT *point)
void qh_printline3geom(qhT *qh, FILE *fp, pointT *pointA, pointT *pointB, realT color[3])
void qh_dfacet(qhT *qh, unsigned id)
int qh_compare_facetmerge(const void *p1, const void *p2)
void qh_printfacetridges(qhT *qh, FILE *fp, facetT *facet)
void qh_produce_output(qhT *qh)
void qh_setfeasible(qhT *qh, int dim)
pointT * qh_detvnorm(qhT *qh, vertexT *vertex, vertexT *vertexA, setT *centers, realT *offsetp)
setT * qh_markvoronoi(qhT *qh, facetT *facetlist, setT *facets, boolT printall, boolT *isLowerp, int *numcentersp)
void qh_printfacet3math(qhT *qh, FILE *fp, facetT *facet, qh_PRINT format, int notfirst)
void qh_printpointvect(qhT *qh, FILE *fp, pointT *point, coordT *normal, pointT *center, realT radius, realT color[3])
void qh_printfacetNvertex_nonsimplicial(qhT *qh, FILE *fp, facetT *facet, int id, qh_PRINT format)
void qh_dvertex(qhT *qh, unsigned id)
void qh_printpoint(qhT *qh, FILE *fp, const char *string, pointT *point)
void qh_printvnorm(qhT *qh, FILE *fp, vertexT *vertex, vertexT *vertexA, setT *centers, boolT unbounded)
int qh_printvdiagram2(qhT *qh, FILE *fp, printvridgeT printvridge, setT *vertices, qh_RIDGE innerouter, boolT inorder)
void qh_printneighborhood(qhT *qh, FILE *fp, qh_PRINT format, facetT *facetA, facetT *facetB, boolT printall)
boolT qh_skipfacet(qhT *qh, facetT *facet)
void qh_printvertex(qhT *qh, FILE *fp, vertexT *vertex)
int qh_eachvoronoi_all(qhT *qh, FILE *fp, printvridgeT printvridge, boolT isUpper, qh_RIDGE innerouter, boolT inorder)
void qh_printvridge(qhT *qh, FILE *fp, vertexT *vertex, vertexT *vertexA, setT *centers, boolT unbounded)
void qh_printfacet3vertex(qhT *qh, FILE *fp, facetT *facet, qh_PRINT format)
void qh_printfacet3geom_simplicial(qhT *qh, FILE *fp, facetT *facet, realT color[3])
char * qh_skipfilename(qhT *qh, char *filename)
int qh_eachvoronoi(qhT *qh, FILE *fp, printvridgeT printvridge, vertexT *atvertex, boolT visitall, qh_RIDGE innerouter, boolT inorder)
void qh_produce_output2(qhT *qh)
void qh_printfacet3geom_nonsimplicial(qhT *qh, FILE *fp, facetT *facet, realT color[3])
void qh_printvertices(qhT *qh, FILE *fp, const char *string, setT *vertices)
void qh_copyfilename(qhT *qh, char *filename, int size, const char *source, int length)
void qh_printvoronoi(qhT *qh, FILE *fp, qh_PRINT format, facetT *facetlist, setT *facets, boolT printall)
coordT * qh_readpoints(qhT *qh, int *numpoints, int *dimension, boolT *ismalloc)
void qh_printafacet(qhT *qh, FILE *fp, qh_PRINT format, facetT *facet, boolT printall)
void qh_printfacetNvertex_simplicial(qhT *qh, FILE *fp, facetT *facet, qh_PRINT format)
void qh_printhyperplaneintersection(qhT *qh, FILE *fp, facetT *facet1, facetT *facet2, setT *vertices, realT color[3])
void qh_printfacet4geom_nonsimplicial(qhT *qh, FILE *fp, facetT *facet, realT color[3])
void qh_order_vertexneighbors(qhT *qh, vertexT *vertex)
void qh_printpointvect2(qhT *qh, FILE *fp, pointT *point, coordT *normal, pointT *center, realT radius)
void qh_printfacet3geom_points(qhT *qh, FILE *fp, setT *points, facetT *facet, realT offset, realT color[3])
void qh_printspheres(qhT *qh, FILE *fp, setT *vertices, realT radius)
void qh_printend(qhT *qh, FILE *fp, qh_PRINT format, facetT *facetlist, setT *facets, boolT printall)
int qh_compare_facetvisit(const void *p1, const void *p2)
void qh_printfacetheader(qhT *qh, FILE *fp, facetT *facet)
void qh_printfacet2geom(qhT *qh, FILE *fp, facetT *facet, realT color[3])
void qh_printvertexlist(qhT *qh, FILE *fp, const char *string, facetT *facetlist, setT *facets, boolT printall)
void(* printvridgeT)(qhT *qh, FILE *fp, vertexT *vertex, vertexT *vertexA, setT *centers, boolT unbounded)
setT * qh_detvridge3(qhT *qh, vertexT *atvertex, vertexT *vertex)
void qh_printbegin(qhT *qh, FILE *fp, qh_PRINT format, facetT *facetlist, setT *facets, boolT printall)
void qh_geomplanes(qhT *qh, facetT *facet, realT *outerplane, realT *innerplane)
setT * qh_facetvertices(qhT *qh, facetT *facetlist, setT *facets, boolT allfacets)
void qh_printpointid(qhT *qh, FILE *fp, const char *string, int dim, pointT *point, int id)
void qh_printfacet(qhT *qh, FILE *fp, facetT *facet)
int qh_compare_facetarea(const void *p1, const void *p2)
void qh_projectdim3(qhT *qh, pointT *source, pointT *destination)
void qh_printridge(qhT *qh, FILE *fp, ridgeT *ridge)
void qh_printpoints_out(qhT *qh, FILE *fp, facetT *facetlist, setT *facets, boolT printall)
void qh_facet2point(qhT *qh, facetT *facet, pointT **point0, pointT **point1, realT *mindist)
void qh_printfacet4geom_simplicial(qhT *qh, FILE *fp, facetT *facet, realT color[3])
void qh_prepare_output(qhT *qh)
void qh_printfacet2geom_points(qhT *qh, FILE *fp, pointT *point1, pointT *point2, facetT *facet, realT offset, realT color[3])
void qh_printfacets(qhT *qh, FILE *fp, qh_PRINT format, facetT *facetlist, setT *facets, boolT printall)
void qh_printextremes_d(qhT *qh, FILE *fp, facetT *facetlist, setT *facets, boolT printall)
void qh_printvdiagram(qhT *qh, FILE *fp, qh_PRINT format, facetT *facetlist, setT *facets, boolT printall)
void qh_printend4geom(qhT *qh, FILE *fp, facetT *facet, int *num, boolT printall)
void qh_printcentrum(qhT *qh, FILE *fp, facetT *facet, realT radius)
void qh_markkeep(qhT *qh, facetT *facetlist)