/opt/ros/diamondback/stacks/graspit_simulator/graspit/graspit_source/qhull/qhull.h File Reference

#include <setjmp.h>
#include <float.h>
#include <time.h>
#include "user.h"
Include dependency graph for qhull.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  facetT
struct  qhT
struct  ridgeT
struct  vertexT

Defines

#define boolT   unsigned int
#define coordT   realT
#define DEFsetT   1
#define False   0
#define flagT   unsigned int
#define FORALLfacets   for (facet=qh facet_list;facet && facet->next;facet=facet->next)
#define FORALLpoint_(points, num)
#define FORALLpoints   FORALLpoint_(qh first_point, qh num_points)
#define FORALLvertices   for (vertex=qh vertex_list;vertex && vertex->next;vertex= vertex->next)
#define FOREACHfacet_(facets)   FOREACHsetelement_(facetT, facets, facet)
#define FOREACHfacet_i_(facets)   FOREACHsetelement_i_(facetT, facets, facet)
#define FOREACHneighbor_(facet)   FOREACHsetelement_(facetT, facet->neighbors, neighbor)
#define FOREACHneighbor_i_(facet)   FOREACHsetelement_i_(facetT, facet->neighbors, neighbor)
#define FOREACHpoint_(points)   FOREACHsetelement_(pointT, points, point)
#define FOREACHpoint_i_(points)   FOREACHsetelement_i_(pointT, points, point)
#define FOREACHridge_(ridges)   FOREACHsetelement_(ridgeT, ridges, ridge)
#define FOREACHridge_i_(ridges)   FOREACHsetelement_i_(ridgeT, ridges, ridge)
#define FOREACHvertex_(vertices)   FOREACHsetelement_(vertexT, vertices,vertex)
#define FOREACHvertex_i_(vertices)   FOREACHsetelement_i_(vertexT, vertices,vertex)
#define getid_(p)   ((p) ? (p)->id : -1)
#define otherfacet_(ridge, facet)   (((ridge)->top == (facet)) ? (ridge)->bottom : (ridge)->top)
#define pointT   coordT
#define qh   qh_qh.
#define qh_ALL   True
#define qh_ERRinput   1
#define qh_ERRmem   4
#define qh_ERRnone   0
#define qh_ERRprec   3
#define qh_ERRqhull   5
#define qh_ERRsingular   2
#define qh_MAXnummerge   511
#define qh_NOupper   True
#define True   1

Typedefs

typedef struct facetT facetT
typedef struct qhT qhT
typedef struct ridgeT ridgeT
typedef struct setT setT
typedef struct vertexT vertexT

Enumerations

enum  qh_CENTER { qh_ASnone = 0, qh_ASvoronoi, qh_AScentrum }
enum  qh_PRINT {
  qh_PRINTnone = 0, qh_PRINTarea, qh_PRINTaverage, qh_PRINTcoplanars,
  qh_PRINTcentrums, qh_PRINTfacets, qh_PRINTfacets_xridge, qh_PRINTgeom,
  qh_PRINTids, qh_PRINTinner, qh_PRINTneighbors, qh_PRINTnormals,
  qh_PRINTouter, qh_PRINTincidences, qh_PRINTmathematica, qh_PRINTmerges,
  qh_PRINToff, qh_PRINToptions, qh_PRINTpointintersect, qh_PRINTpointnearest,
  qh_PRINTpoints, qh_PRINTqhull, qh_PRINTsize, qh_PRINTsummary,
  qh_PRINTtriangles, qh_PRINTvertices, qh_PRINTvneighbors, qh_PRINTextremes,
  qh_PRINTEND
}

Functions

void dfacet (unsigned id)
void dvertex (unsigned id)
boolT qh_addpoint (pointT *furthest, facetT *facet, boolT checkdist)
void qh_check_output (void)
void qh_check_points (void)
void qh_collectstatistics (void)
void qh_errexit (int exitcode, facetT *facet, ridgeT *ridge)
void qh_errprint (char *string, facetT *atfacet, facetT *otherfacet, ridgeT *atridge, vertexT *atvertex)
setTqh_facetvertices (facetT *facetlist, setT *facets, boolT allfacets)
facetTqh_findbest (pointT *point, facetT *startfacet, boolT bestoutside, boolT newfacets, boolT noupper, realT *dist, boolT *isoutside, int *numpart)
facetTqh_findbestfacet (pointT *point, boolT bestoutside, realT *bestdist, boolT *isoutside)
facetTqh_findbestnew (pointT *point, facetT *startfacet, realT *dist, boolT *isoutside, int *numpart)
void qh_freebuffers (void)
void qh_freeqhull (boolT allmem)
boolT qh_gram_schmidt (int dim, realT **rows)
void qh_init_A (FILE *infile, FILE *outfile, FILE *errfile, int argc, char *argv[])
void qh_init_B (coordT *points, int numpoints, int dim, boolT ismalloc)
void qh_init_qhull_command (int argc, char *argv[])
void qh_initbuffers (coordT *points, int numpoints, int dim, boolT ismalloc)
void qh_initflags (char *command)
void qh_initqhull_buffers (void)
void qh_initqhull_globals (coordT *points, int numpoints, int dim, boolT ismalloc)
void qh_initqhull_mem (void)
void qh_initqhull_start (FILE *infile, FILE *outfile, FILE *errfile)
void qh_initthresholds (char *command)
void qh_memfreeshort (int *curlong, int *totlong)
void qh_meminit (FILE *ferr)
vertexTqh_nearvertex (facetT *facet, pointT *point, realT *bestdistp)
void qh_outerinner (facetT *facet, realT *outerplane, realT *innerplane)
pointT * qh_point (int id)
setTqh_pointfacet (void)
int qh_pointid (pointT *point)
setTqh_pointvertex (void)
void qh_printallstatistics (FILE *fp, char *string)
void qh_printfacetlist (facetT *facetlist, setT *facets, boolT printall)
void qh_printneighborhood (FILE *fp, int format, facetT *facetA, facetT *facetB, boolT printall)
void qh_printsummary (FILE *fp)
void qh_produce_output (void)
void qh_projectinput (void)
void qh_qhull (void)
void qh_randommatrix (realT *buffer, int dim, realT **row)
coordT * qh_readpoints (int *numpoints, int *dimension, boolT *ismalloc)
void qh_rotateinput (realT **rows)
void qh_scaleinput (void)
void qh_setdelaunay (int dim, int count, pointT *points)
coordT * qh_sethalfspace_all (int dim, int count, coordT *halfspaces, pointT *feasible)
void qh_setvoronoi_all (void)
void qh_user_memsizes (void)

Variables

qhT qh_qh
char qh_version []

Define Documentation

#define boolT   unsigned int

Definition at line 95 of file qhull.h.

#define coordT   realT

Definition at line 69 of file qhull.h.

#define DEFsetT   1

Definition at line 171 of file qhull.h.

#define False   0

Definition at line 102 of file qhull.h.

#define flagT   unsigned int

Definition at line 84 of file qhull.h.

#define FORALLfacets   for (facet=qh facet_list;facet && facet->next;facet=facet->next)

Definition at line 732 of file qhull.h.

#define FORALLpoint_ ( points,
num   ) 
Value:
for(point= (points), \
      pointtemp= (points)+qh hull_dim*(num); point < pointtemp; point += qh hull_dim)

Definition at line 754 of file qhull.h.

#define FORALLpoints   FORALLpoint_(qh first_point, qh num_points)

Definition at line 743 of file qhull.h.

#define FORALLvertices   for (vertex=qh vertex_list;vertex && vertex->next;vertex= vertex->next)

Definition at line 769 of file qhull.h.

#define FOREACHfacet_ ( facets   )     FOREACHsetelement_(facetT, facets, facet)

Definition at line 783 of file qhull.h.

#define FOREACHfacet_i_ ( facets   )     FOREACHsetelement_i_(facetT, facets, facet)

Definition at line 857 of file qhull.h.

#define FOREACHneighbor_ ( facet   )     FOREACHsetelement_(facetT, facet->neighbors, neighbor)

Definition at line 800 of file qhull.h.

#define FOREACHneighbor_i_ ( facet   )     FOREACHsetelement_i_(facetT, facet->neighbors, neighbor)

Definition at line 875 of file qhull.h.

#define FOREACHpoint_ ( points   )     FOREACHsetelement_(pointT, points, point)

Definition at line 814 of file qhull.h.

#define FOREACHpoint_i_ ( points   )     FOREACHsetelement_i_(pointT, points, point)

Definition at line 890 of file qhull.h.

#define FOREACHridge_ ( ridges   )     FOREACHsetelement_(ridgeT, ridges, ridge)

Definition at line 828 of file qhull.h.

#define FOREACHridge_i_ ( ridges   )     FOREACHsetelement_i_(ridgeT, ridges, ridge)

Definition at line 905 of file qhull.h.

#define FOREACHvertex_ ( vertices   )     FOREACHsetelement_(vertexT, vertices,vertex)

Definition at line 842 of file qhull.h.

#define FOREACHvertex_i_ ( vertices   )     FOREACHsetelement_i_(vertexT, vertices,vertex)

Definition at line 920 of file qhull.h.

#define getid_ (  )     ((p) ? (p)->id : -1)

Definition at line 715 of file qhull.h.

#define otherfacet_ ( ridge,
facet   )     (((ridge)->top == (facet)) ? (ridge)->bottom : (ridge)->top)

Definition at line 705 of file qhull.h.

#define pointT   coordT

Definition at line 76 of file qhull.h.

#define qh   qh_qh.

Definition at line 365 of file qhull.h.

#define qh_ALL   True

Definition at line 144 of file qhull.h.

#define qh_ERRinput   1

Definition at line 154 of file qhull.h.

#define qh_ERRmem   4

Definition at line 157 of file qhull.h.

#define qh_ERRnone   0

Definition at line 153 of file qhull.h.

#define qh_ERRprec   3

Definition at line 156 of file qhull.h.

#define qh_ERRqhull   5

Definition at line 158 of file qhull.h.

#define qh_ERRsingular   2

Definition at line 155 of file qhull.h.

#define qh_MAXnummerge   511

Definition at line 254 of file qhull.h.

#define qh_NOupper   True

Definition at line 145 of file qhull.h.

#define True   1

Definition at line 103 of file qhull.h.


Typedef Documentation

typedef struct facetT facetT

Definition at line 169 of file qhull.h.

typedef struct qhT qhT

Definition at line 360 of file qhull.h.

typedef struct ridgeT ridgeT

Definition at line 168 of file qhull.h.

typedef struct setT setT

Definition at line 172 of file qhull.h.

typedef struct vertexT vertexT

Definition at line 167 of file qhull.h.


Enumeration Type Documentation

enum qh_CENTER
Enumerator:
qh_ASnone 
qh_ASvoronoi 
qh_AScentrum 

Definition at line 111 of file qhull.h.

enum qh_PRINT
Enumerator:
qh_PRINTnone 
qh_PRINTarea 
qh_PRINTaverage 
qh_PRINTcoplanars 
qh_PRINTcentrums 
qh_PRINTfacets 
qh_PRINTfacets_xridge 
qh_PRINTgeom 
qh_PRINTids 
qh_PRINTinner 
qh_PRINTneighbors 
qh_PRINTnormals 
qh_PRINTouter 
qh_PRINTincidences 
qh_PRINTmathematica 
qh_PRINTmerges 
qh_PRINToff 
qh_PRINToptions 
qh_PRINTpointintersect 
qh_PRINTpointnearest 
qh_PRINTpoints 
qh_PRINTqhull 
qh_PRINTsize 
qh_PRINTsummary 
qh_PRINTtriangles 
qh_PRINTvertices 
qh_PRINTvneighbors 
qh_PRINTextremes 
qh_PRINTEND 

Definition at line 127 of file qhull.h.


Function Documentation

void dfacet ( unsigned  id  ) 

Definition at line 96 of file io.c.

void dvertex ( unsigned  id  ) 

Definition at line 114 of file io.c.

boolT qh_addpoint ( pointT *  furthest,
facetT facet,
boolT  checkdist 
)

Definition at line 178 of file qhull.c.

void qh_check_output ( void   ) 

Definition at line 240 of file poly2.c.

void qh_check_points ( void   ) 

Definition at line 300 of file poly2.c.

void qh_collectstatistics ( void   ) 

Definition at line 651 of file stat.c.

void qh_errexit ( int  exitcode,
facetT facet,
ridgeT ridge 
)

Definition at line 133 of file user.c.

void qh_errprint ( char *  string,
facetT atfacet,
facetT otherfacet,
ridgeT atridge,
vertexT atvertex 
)

Definition at line 195 of file user.c.

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

Definition at line 746 of file io.c.

facetT* qh_findbest ( pointT *  point,
facetT startfacet,
boolT  bestoutside,
boolT  newfacets,
boolT  noupper,
realT *  dist,
boolT *  isoutside,
int *  numpart 
)

Definition at line 231 of file geom.c.

facetT* qh_findbestfacet ( pointT *  point,
boolT  bestoutside,
realT *  bestdist,
boolT *  isoutside 
)

Definition at line 1150 of file poly2.c.

facetT* qh_findbestnew ( pointT *  point,
facetT startfacet,
realT *  dist,
boolT *  isoutside,
int *  numpart 
)

Definition at line 427 of file geom.c.

void qh_freebuffers ( void   ) 

Definition at line 60 of file global.c.

void qh_freeqhull ( boolT  allmem  ) 

Definition at line 219 of file global.c.

boolT qh_gram_schmidt ( int  dim,
realT **  rows 
)

Definition at line 818 of file geom2.c.

void qh_init_A ( FILE *  infile,
FILE *  outfile,
FILE *  errfile,
int  argc,
char *  argv[] 
)

Definition at line 250 of file global.c.

void qh_init_B ( coordT *  points,
int  numpoints,
int  dim,
boolT  ismalloc 
)

Definition at line 297 of file global.c.

void qh_init_qhull_command ( int  argc,
char *  argv[] 
)

Definition at line 336 of file global.c.

void qh_initbuffers ( coordT *  points,
int  numpoints,
int  dim,
boolT  ismalloc 
)
void qh_initflags ( char *  command  ) 

Definition at line 392 of file global.c.

void qh_initqhull_buffers ( void   ) 

Definition at line 1156 of file global.c.

void qh_initqhull_globals ( coordT *  points,
int  numpoints,
int  dim,
boolT  ismalloc 
)

Definition at line 1211 of file global.c.

void qh_initqhull_mem ( void   ) 

Definition at line 1474 of file global.c.

void qh_initqhull_start ( FILE *  infile,
FILE *  outfile,
FILE *  errfile 
)

Definition at line 1507 of file global.c.

void qh_initthresholds ( char *  command  ) 

Definition at line 1580 of file global.c.

void qh_memfreeshort ( int *  curlong,
int *  totlong 
)

Definition at line 210 of file mem.c.

void qh_meminit ( FILE *  ferr  ) 

Definition at line 235 of file mem.c.

vertexT* qh_nearvertex ( facetT facet,
pointT *  point,
realT *  bestdistp 
)

Definition at line 2047 of file poly2.c.

void qh_outerinner ( facetT facet,
realT *  outerplane,
realT *  innerplane 
)

Definition at line 1327 of file geom2.c.

pointT* qh_point ( int  id  ) 

Definition at line 2210 of file poly2.c.

setT* qh_pointfacet ( void   ) 

Definition at line 2274 of file poly2.c.

int qh_pointid ( pointT *  point  ) 

Definition at line 1024 of file poly.c.

setT* qh_pointvertex ( void   ) 

Definition at line 2311 of file poly2.c.

void qh_printallstatistics ( FILE *  fp,
char *  string 
)

Definition at line 652 of file stat.c.

void qh_printfacetlist ( facetT facetlist,
setT facets,
boolT  printall 
)

Definition at line 243 of file user.c.

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

Definition at line 2844 of file io.c.

void qh_printsummary ( FILE *  fp  ) 

Definition at line 1174 of file qhull.c.

void qh_produce_output ( void   ) 

Definition at line 46 of file io.c.

void qh_projectinput ( void   ) 

Definition at line 1470 of file geom2.c.

void qh_qhull ( void   ) 

Definition at line 61 of file qhull.c.

void qh_randommatrix ( realT *  buffer,
int  dim,
realT **  row 
)

Definition at line 1671 of file geom2.c.

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

Definition at line 3694 of file io.c.

void qh_rotateinput ( realT **  rows  ) 

Definition at line 1704 of file geom2.c.

void qh_scaleinput ( void   ) 

Definition at line 1766 of file geom2.c.

void qh_setdelaunay ( int  dim,
int  count,
pointT *  points 
)

Definition at line 1923 of file geom2.c.

coordT* qh_sethalfspace_all ( int  dim,
int  count,
coordT *  halfspaces,
pointT *  feasible 
)

Definition at line 2032 of file geom2.c.

void qh_setvoronoi_all ( void   ) 

Definition at line 2487 of file poly2.c.

void qh_user_memsizes ( void   ) 

Definition at line 264 of file user.c.


Variable Documentation

Definition at line 27 of file global.c.

char qh_version[]

Definition at line 60 of file unix.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


graspit
Author(s):
autogenerated on Wed Jan 25 10:59:22 2012