Macros | Typedefs | Enumerations | Functions
io_r.h File Reference
#include "libqhull_r.h"
Include dependency graph for io_r.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define qh_GEOMepsilon   2e-3
 
#define qh_MAXfirst   200
 
#define qh_MINradius   0.02
 
#define qh_WHITESPACE   " \n\t\v\r\f"
 

Typedefs

typedef void(* printvridgeT) (qhT *qh, FILE *fp, vertexT *vertex, vertexT *vertexA, setT *centers, boolT unbounded)
 

Enumerations

enum  qh_RIDGE {
  qh_RIDGEall = 0, qh_RIDGEinner, qh_RIDGEouter, qh_RIDGEall = 0,
  qh_RIDGEinner, qh_RIDGEouter
}
 

Functions

int qh_compare_facetarea (const void *p1, const void *p2)
 
int qh_compare_facetmerge (const void *p1, const void *p2)
 
int qh_compare_facetvisit (const void *p1, const void *p2)
 
void qh_copyfilename (qhT *qh, char *filename, int size, const char *source, int length)
 
void qh_countfacets (qhT *qh, facetT *facetlist, setT *facets, boolT printall, int *numfacetsp, int *numsimplicialp, int *totneighborsp, int *numridgesp, int *numcoplanarsp, int *numnumtricoplanarsp)
 
pointTqh_detvnorm (qhT *qh, vertexT *vertex, vertexT *vertexA, setT *centers, realT *offsetp)
 
setTqh_detvridge (qhT *qh, vertexT *vertex)
 
setTqh_detvridge3 (qhT *qh, vertexT *atvertex, vertexT *vertex)
 
void qh_dfacet (qhT *qh, unsigned id)
 
void qh_dvertex (qhT *qh, unsigned id)
 
int qh_eachvoronoi (qhT *qh, FILE *fp, printvridgeT printvridge, vertexT *atvertex, boolT visitall, qh_RIDGE innerouter, boolT inorder)
 
int qh_eachvoronoi_all (qhT *qh, FILE *fp, printvridgeT printvridge, boolT isUpper, qh_RIDGE innerouter, boolT inorder)
 
void qh_facet2point (qhT *qh, facetT *facet, pointT **point0, pointT **point1, realT *mindist)
 
setTqh_facetvertices (qhT *qh, facetT *facetlist, setT *facets, boolT allfacets)
 
void qh_geomplanes (qhT *qh, facetT *facet, realT *outerplane, realT *innerplane)
 
void qh_markkeep (qhT *qh, facetT *facetlist)
 
setTqh_markvoronoi (qhT *qh, facetT *facetlist, setT *facets, boolT printall, boolT *isLowerp, int *numcentersp)
 
void qh_order_vertexneighbors (qhT *qh, vertexT *vertex)
 
void qh_prepare_output (qhT *qh)
 
void qh_printafacet (qhT *qh, FILE *fp, qh_PRINT format, facetT *facet, boolT printall)
 
void qh_printbegin (qhT *qh, FILE *fp, qh_PRINT format, facetT *facetlist, setT *facets, boolT printall)
 
void qh_printcenter (qhT *qh, FILE *fp, qh_PRINT format, const char *string, facetT *facet)
 
void qh_printcentrum (qhT *qh, FILE *fp, facetT *facet, realT radius)
 
void qh_printend (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_printextremes (qhT *qh, FILE *fp, facetT *facetlist, setT *facets, boolT printall)
 
void qh_printextremes_2d (qhT *qh, FILE *fp, facetT *facetlist, setT *facets, boolT printall)
 
void qh_printextremes_d (qhT *qh, FILE *fp, facetT *facetlist, setT *facets, boolT printall)
 
void qh_printfacet (qhT *qh, FILE *fp, facetT *facet)
 
void qh_printfacet2geom (qhT *qh, FILE *fp, facetT *facet, realT color[3])
 
void qh_printfacet2geom_points (qhT *qh, FILE *fp, pointT *point1, pointT *point2, facetT *facet, realT offset, realT color[3])
 
void qh_printfacet2math (qhT *qh, FILE *fp, facetT *facet, qh_PRINT format, int notfirst)
 
void qh_printfacet3geom_nonsimplicial (qhT *qh, FILE *fp, facetT *facet, realT color[3])
 
void qh_printfacet3geom_points (qhT *qh, FILE *fp, setT *points, facetT *facet, realT offset, realT color[3])
 
void qh_printfacet3geom_simplicial (qhT *qh, FILE *fp, facetT *facet, realT color[3])
 
void qh_printfacet3math (qhT *qh, FILE *fp, facetT *facet, qh_PRINT format, int notfirst)
 
void qh_printfacet3vertex (qhT *qh, FILE *fp, facetT *facet, qh_PRINT format)
 
void qh_printfacet4geom_nonsimplicial (qhT *qh, FILE *fp, facetT *facet, realT color[3])
 
void qh_printfacet4geom_simplicial (qhT *qh, FILE *fp, facetT *facet, realT color[3])
 
void qh_printfacetheader (qhT *qh, FILE *fp, facetT *facet)
 
void qh_printfacetNvertex_nonsimplicial (qhT *qh, FILE *fp, facetT *facet, int id, qh_PRINT format)
 
void qh_printfacetNvertex_simplicial (qhT *qh, FILE *fp, facetT *facet, qh_PRINT format)
 
void qh_printfacetridges (qhT *qh, FILE *fp, facetT *facet)
 
void qh_printfacets (qhT *qh, FILE *fp, qh_PRINT format, facetT *facetlist, setT *facets, boolT printall)
 
void qh_printhyperplaneintersection (qhT *qh, FILE *fp, facetT *facet1, facetT *facet2, setT *vertices, realT color[3])
 
void qh_printline3geom (qhT *qh, FILE *fp, pointT *pointA, pointT *pointB, realT color[3])
 
void qh_printneighborhood (qhT *qh, FILE *fp, qh_PRINT format, facetT *facetA, facetT *facetB, boolT printall)
 
void qh_printpoint (qhT *qh, FILE *fp, const char *string, pointT *point)
 
void qh_printpoint3 (qhT *qh, FILE *fp, pointT *point)
 
void qh_printpointid (qhT *qh, FILE *fp, const char *string, int dim, pointT *point, int id)
 
void qh_printpoints_out (qhT *qh, FILE *fp, facetT *facetlist, setT *facets, boolT printall)
 
void qh_printpointvect (qhT *qh, FILE *fp, pointT *point, coordT *normal, pointT *center, realT radius, realT color[3])
 
void qh_printpointvect2 (qhT *qh, FILE *fp, pointT *point, coordT *normal, pointT *center, realT radius)
 
void qh_printridge (qhT *qh, FILE *fp, ridgeT *ridge)
 
void qh_printspheres (qhT *qh, FILE *fp, setT *vertices, realT radius)
 
void qh_printvdiagram (qhT *qh, FILE *fp, qh_PRINT format, facetT *facetlist, setT *facets, boolT printall)
 
int qh_printvdiagram2 (qhT *qh, FILE *fp, printvridgeT printvridge, setT *vertices, qh_RIDGE innerouter, boolT inorder)
 
void qh_printvertex (qhT *qh, FILE *fp, vertexT *vertex)
 
void qh_printvertexlist (qhT *qh, FILE *fp, const char *string, facetT *facetlist, setT *facets, boolT printall)
 
void qh_printvertices (qhT *qh, FILE *fp, const char *string, setT *vertices)
 
void qh_printvneighbors (qhT *qh, FILE *fp, facetT *facetlist, setT *facets, boolT printall)
 
void qh_printvnorm (qhT *qh, FILE *fp, vertexT *vertex, vertexT *vertexA, setT *centers, boolT unbounded)
 
void qh_printvoronoi (qhT *qh, FILE *fp, qh_PRINT format, facetT *facetlist, setT *facets, boolT printall)
 
void qh_printvridge (qhT *qh, FILE *fp, vertexT *vertex, vertexT *vertexA, setT *centers, boolT unbounded)
 
void qh_produce_output (qhT *qh)
 
void qh_produce_output2 (qhT *qh)
 
void qh_projectdim3 (qhT *qh, pointT *source, pointT *destination)
 
int qh_readfeasible (qhT *qh, int dim, const char *curline)
 
coordTqh_readpoints (qhT *qh, int *numpoints, int *dimension, boolT *ismalloc)
 
void qh_setfeasible (qhT *qh, int dim)
 
boolT qh_skipfacet (qhT *qh, facetT *facet)
 
char * qh_skipfilename (qhT *qh, char *filename)
 

Macro Definition Documentation

◆ qh_GEOMepsilon

#define qh_GEOMepsilon   2e-3

Definition at line 44 of file io_r.h.

◆ qh_MAXfirst

#define qh_MAXfirst   200

Definition at line 27 of file io_r.h.

◆ qh_MINradius

#define qh_MINradius   0.02

Definition at line 35 of file io_r.h.

◆ qh_WHITESPACE

#define qh_WHITESPACE   " \n\t\v\r\f"

Definition at line 52 of file io_r.h.

Typedef Documentation

◆ printvridgeT

typedef void(* printvridgeT) (qhT *qh, FILE *fp, vertexT *vertex, vertexT *vertexA, setT *centers, boolT unbounded)

Definition at line 76 of file io_r.h.

Enumeration Type Documentation

◆ qh_RIDGE

enum qh_RIDGE
Enumerator
qh_RIDGEall 
qh_RIDGEinner 
qh_RIDGEouter 
qh_RIDGEall 
qh_RIDGEinner 
qh_RIDGEouter 

Definition at line 61 of file io_r.h.

Function Documentation

◆ qh_compare_facetarea()

int qh_compare_facetarea ( const void *  p1,
const void *  p2 
)

Definition at line 127 of file io.c.

◆ qh_compare_facetmerge()

int qh_compare_facetmerge ( const void *  p1,
const void *  p2 
)

Definition at line 147 of file io.c.

◆ qh_compare_facetvisit()

int qh_compare_facetvisit ( const void *  p1,
const void *  p2 
)

Definition at line 159 of file io.c.

◆ qh_copyfilename()

void qh_copyfilename ( qhT qh,
char *  filename,
int  size,
const char *  source,
int  length 
)

Definition at line 193 of file io_r.c.

◆ qh_countfacets()

void qh_countfacets ( qhT qh,
facetT facetlist,
setT facets,
boolT  printall,
int *  numfacetsp,
int *  numsimplicialp,
int *  totneighborsp,
int *  numridgesp,
int *  numcoplanarsp,
int *  numnumtricoplanarsp 
)

Definition at line 244 of file io_r.c.

◆ qh_detvnorm()

pointT* qh_detvnorm ( qhT qh,
vertexT vertex,
vertexT vertexA,
setT centers,
realT offsetp 
)

Definition at line 334 of file io_r.c.

◆ qh_detvridge()

setT* qh_detvridge ( qhT qh,
vertexT vertex 
)

Definition at line 477 of file io_r.c.

◆ qh_detvridge3()

setT* qh_detvridge3 ( qhT qh,
vertexT atvertex,
vertexT vertex 
)

Definition at line 519 of file io_r.c.

◆ qh_dfacet()

void qh_dfacet ( qhT qh,
unsigned  id 
)

Definition at line 91 of file io_r.c.

◆ qh_dvertex()

void qh_dvertex ( qhT qh,
unsigned  id 
)

Definition at line 109 of file io_r.c.

◆ qh_eachvoronoi()

int qh_eachvoronoi ( qhT qh,
FILE *  fp,
printvridgeT  printvridge,
vertexT atvertex,
boolT  visitall,
qh_RIDGE  innerouter,
boolT  inorder 
)

Definition at line 618 of file io_r.c.

◆ qh_eachvoronoi_all()

int qh_eachvoronoi_all ( qhT qh,
FILE *  fp,
printvridgeT  printvridge,
boolT  isUpper,
qh_RIDGE  innerouter,
boolT  inorder 
)

Definition at line 720 of file io_r.c.

◆ qh_facet2point()

void qh_facet2point ( qhT qh,
facetT facet,
pointT **  point0,
pointT **  point1,
realT mindist 
)

Definition at line 760 of file io_r.c.

◆ qh_facetvertices()

setT* qh_facetvertices ( qhT qh,
facetT facetlist,
setT facets,
boolT  allfacets 
)

Definition at line 801 of file io_r.c.

◆ qh_geomplanes()

void qh_geomplanes ( qhT qh,
facetT facet,
realT outerplane,
realT innerplane 
)

Definition at line 849 of file io_r.c.

◆ qh_markkeep()

void qh_markkeep ( qhT qh,
facetT facetlist 
)

Definition at line 891 of file io_r.c.

◆ qh_markvoronoi()

setT* qh_markvoronoi ( qhT qh,
facetT facetlist,
setT facets,
boolT  printall,
boolT isLowerp,
int *  numcentersp 
)

Definition at line 964 of file io_r.c.

◆ qh_order_vertexneighbors()

void qh_order_vertexneighbors ( qhT qh,
vertexT vertex 
)

Definition at line 1032 of file io_r.c.

◆ qh_prepare_output()

void qh_prepare_output ( qhT qh)

Definition at line 1071 of file io_r.c.

◆ qh_printafacet()

void qh_printafacet ( qhT qh,
FILE *  fp,
qh_PRINT  format,
facetT facet,
boolT  printall 
)

Definition at line 1113 of file io_r.c.

◆ qh_printbegin()

void qh_printbegin ( qhT qh,
FILE *  fp,
qh_PRINT  format,
facetT facetlist,
setT facets,
boolT  printall 
)

Definition at line 1309 of file io_r.c.

◆ qh_printcenter()

void qh_printcenter ( qhT qh,
FILE *  fp,
qh_PRINT  format,
const char *  string,
facetT facet 
)

Definition at line 1583 of file io_r.c.

◆ qh_printcentrum()

void qh_printcentrum ( qhT qh,
FILE *  fp,
facetT facet,
realT  radius 
)

Definition at line 1627 of file io_r.c.

◆ qh_printend()

void qh_printend ( qhT qh,
FILE *  fp,
qh_PRINT  format,
facetT facetlist,
setT facets,
boolT  printall 
)

Definition at line 1690 of file io_r.c.

◆ qh_printend4geom()

void qh_printend4geom ( qhT qh,
FILE *  fp,
facetT facet,
int *  num,
boolT  printall 
)

Definition at line 1751 of file io_r.c.

◆ qh_printextremes()

void qh_printextremes ( qhT qh,
FILE *  fp,
facetT facetlist,
setT facets,
boolT  printall 
)

Definition at line 1808 of file io_r.c.

◆ qh_printextremes_2d()

void qh_printextremes_2d ( qhT qh,
FILE *  fp,
facetT facetlist,
setT facets,
boolT  printall 
)

Definition at line 1847 of file io_r.c.

◆ qh_printextremes_d()

void qh_printextremes_d ( qhT qh,
FILE *  fp,
facetT facetlist,
setT facets,
boolT  printall 
)

Definition at line 1904 of file io_r.c.

◆ qh_printfacet()

void qh_printfacet ( qhT qh,
FILE *  fp,
facetT facet 
)

Definition at line 1944 of file io_r.c.

◆ qh_printfacet2geom()

void qh_printfacet2geom ( qhT qh,
FILE *  fp,
facetT facet,
realT  color[3] 
)

Definition at line 1963 of file io_r.c.

◆ qh_printfacet2geom_points()

void qh_printfacet2geom_points ( qhT qh,
FILE *  fp,
pointT point1,
pointT point2,
facetT facet,
realT  offset,
realT  color[3] 
)

Definition at line 1989 of file io_r.c.

◆ qh_printfacet2math()

void qh_printfacet2math ( qhT qh,
FILE *  fp,
facetT facet,
qh_PRINT  format,
int  notfirst 
)

Definition at line 2019 of file io_r.c.

◆ qh_printfacet3geom_nonsimplicial()

void qh_printfacet3geom_nonsimplicial ( qhT qh,
FILE *  fp,
facetT facet,
realT  color[3] 
)

Definition at line 2047 of file io_r.c.

◆ qh_printfacet3geom_points()

void qh_printfacet3geom_points ( qhT qh,
FILE *  fp,
setT points,
facetT facet,
realT  offset,
realT  color[3] 
)

Definition at line 2105 of file io_r.c.

◆ qh_printfacet3geom_simplicial()

void qh_printfacet3geom_simplicial ( qhT qh,
FILE *  fp,
facetT facet,
realT  color[3] 
)

Definition at line 2151 of file io_r.c.

◆ qh_printfacet3math()

void qh_printfacet3math ( qhT qh,
FILE *  fp,
facetT facet,
qh_PRINT  format,
int  notfirst 
)

Definition at line 2205 of file io_r.c.

◆ qh_printfacet3vertex()

void qh_printfacet3vertex ( qhT qh,
FILE *  fp,
facetT facet,
qh_PRINT  format 
)

Definition at line 2257 of file io_r.c.

◆ qh_printfacet4geom_nonsimplicial()

void qh_printfacet4geom_nonsimplicial ( qhT qh,
FILE *  fp,
facetT facet,
realT  color[3] 
)

Definition at line 2283 of file io_r.c.

◆ qh_printfacet4geom_simplicial()

void qh_printfacet4geom_simplicial ( qhT qh,
FILE *  fp,
facetT facet,
realT  color[3] 
)

Definition at line 2337 of file io_r.c.

◆ qh_printfacetheader()

void qh_printfacetheader ( qhT qh,
FILE *  fp,
facetT facet 
)

Definition at line 2443 of file io_r.c.

◆ qh_printfacetNvertex_nonsimplicial()

void qh_printfacetNvertex_nonsimplicial ( qhT qh,
FILE *  fp,
facetT facet,
int  id,
qh_PRINT  format 
)

Definition at line 2385 of file io_r.c.

◆ qh_printfacetNvertex_simplicial()

void qh_printfacetNvertex_simplicial ( qhT qh,
FILE *  fp,
facetT facet,
qh_PRINT  format 
)

Definition at line 2416 of file io_r.c.

◆ qh_printfacetridges()

void qh_printfacetridges ( qhT qh,
FILE *  fp,
facetT facet 
)

Definition at line 2586 of file io_r.c.

◆ qh_printfacets()

void qh_printfacets ( qhT qh,
FILE *  fp,
qh_PRINT  format,
facetT facetlist,
setT facets,
boolT  printall 
)

Definition at line 2643 of file io_r.c.

◆ qh_printhyperplaneintersection()

void qh_printhyperplaneintersection ( qhT qh,
FILE *  fp,
facetT facet1,
facetT facet2,
setT vertices,
realT  color[3] 
)

Definition at line 2723 of file io_r.c.

◆ qh_printline3geom()

void qh_printline3geom ( qhT qh,
FILE *  fp,
pointT pointA,
pointT pointB,
realT  color[3] 
)

Definition at line 2778 of file io_r.c.

◆ qh_printneighborhood()

void qh_printneighborhood ( qhT qh,
FILE *  fp,
qh_PRINT  format,
facetT facetA,
facetT facetB,
boolT  printall 
)

Definition at line 2809 of file io_r.c.

◆ qh_printpoint()

void qh_printpoint ( qhT qh,
FILE *  fp,
const char *  string,
pointT point 
)

Definition at line 2852 of file io_r.c.

◆ qh_printpoint3()

void qh_printpoint3 ( qhT qh,
FILE *  fp,
pointT point 
)

Definition at line 2885 of file io_r.c.

◆ qh_printpointid()

void qh_printpointid ( qhT qh,
FILE *  fp,
const char *  string,
int  dim,
pointT point,
int  id 
)

Definition at line 2858 of file io_r.c.

◆ qh_printpoints_out()

void qh_printpoints_out ( qhT qh,
FILE *  fp,
facetT facetlist,
setT facets,
boolT  printall 
)

Definition at line 2912 of file io_r.c.

◆ qh_printpointvect()

void qh_printpointvect ( qhT qh,
FILE *  fp,
pointT point,
coordT normal,
pointT center,
realT  radius,
realT  color[3] 
)

Definition at line 2978 of file io_r.c.

◆ qh_printpointvect2()

void qh_printpointvect2 ( qhT qh,
FILE *  fp,
pointT point,
coordT normal,
pointT center,
realT  radius 
)

Definition at line 3003 of file io_r.c.

◆ qh_printridge()

void qh_printridge ( qhT qh,
FILE *  fp,
ridgeT ridge 
)

Definition at line 3020 of file io_r.c.

◆ qh_printspheres()

void qh_printspheres ( qhT qh,
FILE *  fp,
setT vertices,
realT  radius 
)

Definition at line 3043 of file io_r.c.

◆ qh_printvdiagram()

void qh_printvdiagram ( qhT qh,
FILE *  fp,
qh_PRINT  format,
facetT facetlist,
setT facets,
boolT  printall 
)

Definition at line 3139 of file io_r.c.

◆ qh_printvdiagram2()

int qh_printvdiagram2 ( qhT qh,
FILE *  fp,
printvridgeT  printvridge,
setT vertices,
qh_RIDGE  innerouter,
boolT  inorder 
)

Definition at line 3200 of file io_r.c.

◆ qh_printvertex()

void qh_printvertex ( qhT qh,
FILE *  fp,
vertexT vertex 
)

Definition at line 3224 of file io_r.c.

◆ qh_printvertexlist()

void qh_printvertexlist ( qhT qh,
FILE *  fp,
const char *  string,
facetT facetlist,
setT facets,
boolT  printall 
)

Definition at line 3266 of file io_r.c.

◆ qh_printvertices()

void qh_printvertices ( qhT qh,
FILE *  fp,
const char *  string,
setT vertices 
)

Definition at line 3286 of file io_r.c.

◆ qh_printvneighbors()

void qh_printvneighbors ( qhT qh,
FILE *  fp,
facetT facetlist,
setT facets,
boolT  printall 
)

Definition at line 3312 of file io_r.c.

◆ qh_printvnorm()

void qh_printvnorm ( qhT qh,
FILE *  fp,
vertexT vertex,
vertexT vertexA,
setT centers,
boolT  unbounded 
)

Definition at line 3507 of file io_r.c.

◆ qh_printvoronoi()

void qh_printvoronoi ( qhT qh,
FILE *  fp,
qh_PRINT  format,
facetT facetlist,
setT facets,
boolT  printall 
)

Definition at line 3387 of file io_r.c.

◆ qh_printvridge()

void qh_printvridge ( qhT qh,
FILE *  fp,
vertexT vertex,
vertexT vertexA,
setT centers,
boolT  unbounded 
)

Definition at line 3536 of file io_r.c.

◆ qh_produce_output()

void qh_produce_output ( qhT qh)

Definition at line 39 of file io_r.c.

◆ qh_produce_output2()

void qh_produce_output2 ( qhT qh)

Definition at line 52 of file io_r.c.

◆ qh_projectdim3()

void qh_projectdim3 ( qhT qh,
pointT source,
pointT destination 
)

Definition at line 3558 of file io_r.c.

◆ qh_readfeasible()

int qh_readfeasible ( qhT qh,
int  dim,
const char *  curline 
)

Definition at line 3591 of file io_r.c.

◆ qh_readpoints()

coordT* qh_readpoints ( qhT qh,
int *  numpoints,
int *  dimension,
boolT ismalloc 
)

Definition at line 3673 of file io_r.c.

◆ qh_setfeasible()

void qh_setfeasible ( qhT qh,
int  dim 
)

Definition at line 3967 of file io_r.c.

◆ qh_skipfacet()

boolT qh_skipfacet ( qhT qh,
facetT facet 
)

Definition at line 4007 of file io_r.c.

◆ qh_skipfilename()

char* qh_skipfilename ( qhT qh,
char *  filename 
)

Definition at line 4037 of file io_r.c.



hpp-fcl
Author(s):
autogenerated on Fri Jun 2 2023 02:39:02