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

Macro Definition Documentation

◆ qh_GEOMepsilon

#define qh_GEOMepsilon   2e-3

Definition at line 44 of file io.h.

◆ qh_MAXfirst

#define qh_MAXfirst   200

Definition at line 27 of file io.h.

◆ qh_MINradius

#define qh_MINradius   0.02

Definition at line 35 of file io.h.

◆ qh_WHITESPACE

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

Definition at line 52 of file io.h.

Typedef Documentation

◆ printvridgeT

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

Definition at line 76 of file io.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.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_compare_vertexpoint()

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

Definition at line 178 of file io.c.

◆ qh_copyfilename()

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

Definition at line 193 of file io.c.

◆ qh_countfacets()

void qh_countfacets ( 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.c.

◆ qh_detvnorm()

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

Definition at line 334 of file io.c.

◆ qh_detvridge()

setT* qh_detvridge ( vertexT vertex)

Definition at line 477 of file io.c.

◆ qh_detvridge3()

setT* qh_detvridge3 ( vertexT atvertex,
vertexT vertex 
)

Definition at line 519 of file io.c.

◆ qh_dfacet()

void qh_dfacet ( unsigned  id)

Definition at line 91 of file io.c.

◆ qh_dvertex()

void qh_dvertex ( unsigned  id)

Definition at line 109 of file io.c.

◆ qh_eachvoronoi()

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

Definition at line 618 of file io.c.

◆ qh_eachvoronoi_all()

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

Definition at line 720 of file io.c.

◆ qh_facet2point()

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

Definition at line 760 of file io.c.

◆ qh_facetvertices()

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

Definition at line 801 of file io.c.

◆ qh_geomplanes()

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

Definition at line 849 of file io.c.

◆ qh_markkeep()

void qh_markkeep ( facetT facetlist)

Definition at line 891 of file io.c.

◆ qh_markvoronoi()

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

Definition at line 964 of file io.c.

◆ qh_order_vertexneighbors()

void qh_order_vertexneighbors ( vertexT vertex)

Definition at line 1032 of file io.c.

◆ qh_prepare_output()

void qh_prepare_output ( void  )

Definition at line 1071 of file io.c.

◆ qh_printafacet()

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

Definition at line 1113 of file io.c.

◆ qh_printbegin()

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

Definition at line 1309 of file io.c.

◆ qh_printcenter()

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

Definition at line 1583 of file io.c.

◆ qh_printcentrum()

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

Definition at line 1627 of file io.c.

◆ qh_printend()

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

Definition at line 1690 of file io.c.

◆ qh_printend4geom()

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

Definition at line 1751 of file io.c.

◆ qh_printextremes()

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

Definition at line 1808 of file io.c.

◆ qh_printextremes_2d()

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

Definition at line 1847 of file io.c.

◆ qh_printextremes_d()

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

Definition at line 1904 of file io.c.

◆ qh_printfacet()

void qh_printfacet ( FILE *  fp,
facetT facet 
)

Definition at line 1944 of file io.c.

◆ qh_printfacet2geom()

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

Definition at line 1963 of file io.c.

◆ qh_printfacet2geom_points()

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

Definition at line 1989 of file io.c.

◆ qh_printfacet2math()

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

Definition at line 2019 of file io.c.

◆ qh_printfacet3geom_nonsimplicial()

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

Definition at line 2047 of file io.c.

◆ qh_printfacet3geom_points()

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

Definition at line 2105 of file io.c.

◆ qh_printfacet3geom_simplicial()

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

Definition at line 2151 of file io.c.

◆ qh_printfacet3math()

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

Definition at line 2205 of file io.c.

◆ qh_printfacet3vertex()

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

Definition at line 2257 of file io.c.

◆ qh_printfacet4geom_nonsimplicial()

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

Definition at line 2283 of file io.c.

◆ qh_printfacet4geom_simplicial()

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

Definition at line 2337 of file io.c.

◆ qh_printfacetheader()

void qh_printfacetheader ( FILE *  fp,
facetT facet 
)

Definition at line 2443 of file io.c.

◆ qh_printfacetNvertex_nonsimplicial()

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

Definition at line 2385 of file io.c.

◆ qh_printfacetNvertex_simplicial()

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

Definition at line 2416 of file io.c.

◆ qh_printfacetridges()

void qh_printfacetridges ( FILE *  fp,
facetT facet 
)

Definition at line 2586 of file io.c.

◆ qh_printfacets()

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

Definition at line 2643 of file io.c.

◆ qh_printhyperplaneintersection()

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

Definition at line 2723 of file io.c.

◆ qh_printline3geom()

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

Definition at line 2778 of file io.c.

◆ qh_printneighborhood()

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

Definition at line 2809 of file io.c.

◆ qh_printpoint()

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

Definition at line 2852 of file io.c.

◆ qh_printpoint3()

void qh_printpoint3 ( FILE *  fp,
pointT point 
)

Definition at line 2885 of file io.c.

◆ qh_printpointid()

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

Definition at line 2858 of file io.c.

◆ qh_printpoints_out()

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

Definition at line 2912 of file io.c.

◆ qh_printpointvect()

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

Definition at line 2978 of file io.c.

◆ qh_printpointvect2()

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

Definition at line 3003 of file io.c.

◆ qh_printridge()

void qh_printridge ( FILE *  fp,
ridgeT ridge 
)

Definition at line 3020 of file io.c.

◆ qh_printspheres()

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

Definition at line 3043 of file io.c.

◆ qh_printvdiagram()

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

Definition at line 3139 of file io.c.

◆ qh_printvdiagram2()

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

Definition at line 3200 of file io.c.

◆ qh_printvertex()

void qh_printvertex ( FILE *  fp,
vertexT vertex 
)

Definition at line 3224 of file io.c.

◆ qh_printvertexlist()

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

Definition at line 3266 of file io.c.

◆ qh_printvertices()

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

Definition at line 3286 of file io.c.

◆ qh_printvneighbors()

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

Definition at line 3312 of file io.c.

◆ qh_printvnorm()

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

Definition at line 3507 of file io.c.

◆ qh_printvoronoi()

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

Definition at line 3387 of file io.c.

◆ qh_printvridge()

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

Definition at line 3536 of file io.c.

◆ qh_produce_output()

void qh_produce_output ( void  )

Definition at line 39 of file io.c.

◆ qh_produce_output2()

void qh_produce_output2 ( void  )

Definition at line 52 of file io.c.

◆ qh_projectdim3()

void qh_projectdim3 ( pointT source,
pointT destination 
)

Definition at line 3558 of file io.c.

◆ qh_readfeasible()

int qh_readfeasible ( int  dim,
const char *  curline 
)

Definition at line 3591 of file io.c.

◆ qh_readpoints()

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

Definition at line 3673 of file io.c.

◆ qh_setfeasible()

void qh_setfeasible ( int  dim)

Definition at line 3967 of file io.c.

◆ qh_skipfacet()

boolT qh_skipfacet ( facetT facet)

Definition at line 4007 of file io.c.

◆ qh_skipfilename()

char* qh_skipfilename ( char *  filename)

Definition at line 4037 of file io.c.



hpp-fcl
Author(s):
autogenerated on Sat Nov 23 2024 03:44:59