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

Go to the source code of this file.

Macros

#define det2_(a1, a2, b1, b2)   (( a1 )*( b2 ) - ( a2 )*( b1 ))
 
#define det3_(a1, a2, a3, b1, b2, b3, c1, c2, c3)
 
#define dW(p1, p2)   ( *( rows[p1]+3 ) - *( rows[p2]+3 ))
 
#define dX(p1, p2)   ( *( rows[p1] ) - *( rows[p2] ))
 
#define dY(p1, p2)   ( *( rows[p1]+1 ) - *( rows[p2]+1 ))
 
#define dZ(p1, p2)   ( *( rows[p1]+2 ) - *( rows[p2]+2 ))
 
#define fabs_(a)   ((( a ) < 0 ) ? -( a ):( a ))
 
#define fmax_(a, b)   ( ( a ) < ( b ) ? ( b ) : ( a ) )
 
#define fmin_(a, b)   ( ( a ) > ( b ) ? ( b ) : ( a ) )
 
#define maximize_(maxval, val)   { if (( maxval ) < ( val )) ( maxval )= ( val ); }
 
#define minimize_(minval, val)   { if (( minval ) > ( val )) ( minval )= ( val ); }
 

Functions

void qh_backnormal (qhT *qh, realT **rows, int numrow, int numcol, boolT sign, coordT *normal, boolT *nearzero)
 
coordTqh_copypoints (qhT *qh, coordT *points, int numpoints, int dimension)
 
void qh_crossproduct (int dim, realT vecA[3], realT vecB[3], realT vecC[3])
 
realT qh_determinant (qhT *qh, realT **rows, int dim, boolT *nearzero)
 
realT qh_detjoggle (qhT *qh, pointT *points, int numpoints, int dimension)
 
void qh_detroundoff (qhT *qh)
 
realT qh_detsimplex (qhT *qh, pointT *apex, setT *points, int dim, boolT *nearzero)
 
realT qh_distnorm (int dim, pointT *point, pointT *normal, realT *offsetp)
 
void qh_distplane (qhT *qh, pointT *point, facetT *facet, realT *dist)
 
realT qh_distround (qhT *qh, int dimension, realT maxabs, realT maxsumabs)
 
realT qh_divzero (realT numer, realT denom, realT mindenom1, boolT *zerodiv)
 
realT qh_facetarea (qhT *qh, facetT *facet)
 
realT qh_facetarea_simplex (qhT *qh, int dim, coordT *apex, setT *vertices, vertexT *notvertex, boolT toporient, coordT *normal, realT *offset)
 
pointTqh_facetcenter (qhT *qh, setT *vertices)
 
facetTqh_findbest (qhT *qh, pointT *point, facetT *startfacet, boolT bestoutside, boolT isnewfacets, boolT noupper, realT *dist, boolT *isoutside, int *numpart)
 
facetTqh_findbesthorizon (qhT *qh, boolT ischeckmax, pointT *point, facetT *startfacet, boolT noupper, realT *bestdist, int *numpart)
 
facetTqh_findbestnew (qhT *qh, pointT *point, facetT *startfacet, realT *dist, boolT bestoutside, boolT *isoutside, int *numpart)
 
facetTqh_findgooddist (qhT *qh, pointT *point, facetT *facetA, realT *distp, facetT **facetlist)
 
void qh_gausselim (qhT *qh, realT **rows, int numrow, int numcol, boolT *sign, boolT *nearzero)
 
realT qh_getangle (qhT *qh, pointT *vect1, pointT *vect2)
 
void qh_getarea (qhT *qh, facetT *facetlist)
 
pointTqh_getcenter (qhT *qh, setT *vertices)
 
pointTqh_getcentrum (qhT *qh, facetT *facet)
 
realT qh_getdistance (qhT *qh, facetT *facet, facetT *neighbor, realT *mindist, realT *maxdist)
 
boolT qh_gram_schmidt (qhT *qh, int dim, realT **rows)
 
boolT qh_inthresholds (qhT *qh, coordT *normal, realT *angle)
 
void qh_joggleinput (qhT *qh)
 
realTqh_maxabsval (realT *normal, int dim)
 
setTqh_maxmin (qhT *qh, pointT *points, int numpoints, int dimension)
 
realT qh_maxouter (qhT *qh)
 
void qh_maxsimplex (qhT *qh, int dim, setT *maxpoints, pointT *points, int numpoints, setT **simplex)
 
realT qh_minabsval (realT *normal, int dim)
 
int qh_mindiff (realT *vecA, realT *vecB, int dim)
 
void qh_normalize (qhT *qh, coordT *normal, int dim, boolT toporient)
 
void qh_normalize2 (qhT *qh, coordT *normal, int dim, boolT toporient, realT *minnorm, boolT *ismin)
 
boolT qh_orientoutside (qhT *qh, facetT *facet)
 
void qh_outerinner (qhT *qh, facetT *facet, realT *outerplane, realT *innerplane)
 
coordT qh_pointdist (pointT *point1, pointT *point2, int dim)
 
void qh_printmatrix (qhT *qh, FILE *fp, const char *string, realT **rows, int numrow, int numcol)
 
void qh_printpoints (qhT *qh, FILE *fp, const char *string, setT *points)
 
void qh_projectinput (qhT *qh)
 
pointTqh_projectpoint (qhT *qh, pointT *point, facetT *facet, realT dist)
 
void qh_projectpoints (qhT *qh, signed char *project, int n, realT *points, int numpoints, int dim, realT *newpoints, int newdim)
 
void qh_rotateinput (qhT *qh, realT **rows)
 
void qh_rotatepoints (qhT *qh, realT *points, int numpoints, int dim, realT **rows)
 
void qh_scaleinput (qhT *qh)
 
void qh_scalelast (qhT *qh, coordT *points, int numpoints, int dim, coordT low, coordT high, coordT newhigh)
 
void qh_scalepoints (qhT *qh, pointT *points, int numpoints, int dim, realT *newlows, realT *newhighs)
 
void qh_setfacetplane (qhT *qh, facetT *newfacets)
 
boolT qh_sethalfspace (qhT *qh, int dim, coordT *coords, coordT **nextp, coordT *normal, coordT *offset, coordT *feasible)
 
coordTqh_sethalfspace_all (qhT *qh, int dim, int count, coordT *halfspaces, pointT *feasible)
 
void qh_sethyperplane_det (qhT *qh, int dim, coordT **rows, coordT *point0, boolT toporient, coordT *normal, realT *offset, boolT *nearzero)
 
void qh_sethyperplane_gauss (qhT *qh, int dim, coordT **rows, pointT *point0, boolT toporient, coordT *normal, coordT *offset, boolT *nearzero)
 
boolT qh_sharpnewfacets (qhT *qh)
 
pointTqh_voronoi_center (qhT *qh, int dim, setT *points)
 

Macro Definition Documentation

◆ det2_

#define det2_ (   a1,
  a2,
  b1,
  b2 
)    (( a1 )*( b2 ) - ( a2 )*( b1 ))

Definition at line 69 of file geom_r.h.

◆ det3_

#define det3_ (   a1,
  a2,
  a3,
  b1,
  b2,
  b3,
  c1,
  c2,
  c3 
)
Value:
( ( a1 )*det2_( b2,b3,c2,c3 ) \
- ( b1 )*det2_( a2,a3,c2,c3 ) + ( c1 )*det2_( a2,a3,b2,b3 ) )
#define det2_(a1, a2, b1, b2)
Definition: geom_r.h:69

Definition at line 80 of file geom_r.h.

◆ dW

#define dW (   p1,
  p2 
)    ( *( rows[p1]+3 ) - *( rows[p2]+3 ))

Definition at line 97 of file geom_r.h.

◆ dX

#define dX (   p1,
  p2 
)    ( *( rows[p1] ) - *( rows[p2] ))

Definition at line 94 of file geom_r.h.

◆ dY

#define dY (   p1,
  p2 
)    ( *( rows[p1]+1 ) - *( rows[p2]+1 ))

Definition at line 95 of file geom_r.h.

◆ dZ

#define dZ (   p1,
  p2 
)    ( *( rows[p1]+2 ) - *( rows[p2]+2 ))

Definition at line 96 of file geom_r.h.

◆ fabs_

#define fabs_ (   a)    ((( a ) < 0 ) ? -( a ):( a ))

Definition at line 27 of file geom_r.h.

◆ fmax_

#define fmax_ (   a,
 
)    ( ( a ) < ( b ) ? ( b ) : ( a ) )

Definition at line 35 of file geom_r.h.

◆ fmin_

#define fmin_ (   a,
 
)    ( ( a ) > ( b ) ? ( b ) : ( a ) )

Definition at line 43 of file geom_r.h.

◆ maximize_

#define maximize_ (   maxval,
  val 
)    { if (( maxval ) < ( val )) ( maxval )= ( val ); }

Definition at line 51 of file geom_r.h.

◆ minimize_

#define minimize_ (   minval,
  val 
)    { if (( minval ) > ( val )) ( minval )= ( val ); }

Definition at line 59 of file geom_r.h.

Function Documentation

◆ qh_backnormal()

void qh_backnormal ( qhT qh,
realT **  rows,
int  numrow,
int  numcol,
boolT  sign,
coordT normal,
boolT nearzero 
)

Definition at line 521 of file geom_r.c.

◆ qh_copypoints()

coordT* qh_copypoints ( qhT qh,
coordT points,
int  numpoints,
int  dimension 
)

Definition at line 30 of file geom2_r.c.

◆ qh_crossproduct()

void qh_crossproduct ( int  dim,
realT  vecA[3],
realT  vecB[3],
realT  vecC[3] 
)

Definition at line 54 of file geom2.c.

◆ qh_determinant()

realT qh_determinant ( qhT qh,
realT **  rows,
int  dim,
boolT nearzero 
)

Definition at line 83 of file geom2_r.c.

◆ qh_detjoggle()

realT qh_detjoggle ( qhT qh,
pointT points,
int  numpoints,
int  dimension 
)

Definition at line 130 of file geom2_r.c.

◆ qh_detroundoff()

void qh_detroundoff ( qhT qh)

Definition at line 193 of file geom2_r.c.

◆ qh_detsimplex()

realT qh_detsimplex ( qhT qh,
pointT apex,
setT points,
int  dim,
boolT nearzero 
)

Definition at line 305 of file geom2_r.c.

◆ qh_distnorm()

realT qh_distnorm ( int  dim,
pointT point,
pointT normal,
realT offsetp 
)

Definition at line 348 of file geom2.c.

◆ qh_distplane()

void qh_distplane ( qhT qh,
pointT point,
facetT facet,
realT dist 
)

Definition at line 36 of file geom_r.c.

◆ qh_distround()

realT qh_distround ( qhT qh,
int  dimension,
realT  maxabs,
realT  maxsumabs 
)

Definition at line 377 of file geom2_r.c.

◆ qh_divzero()

realT qh_divzero ( realT  numer,
realT  denom,
realT  mindenom1,
boolT zerodiv 
)

Definition at line 409 of file geom2.c.

◆ qh_facetarea()

realT qh_facetarea ( qhT qh,
facetT facet 
)

Definition at line 458 of file geom2_r.c.

◆ qh_facetarea_simplex()

realT qh_facetarea_simplex ( qhT qh,
int  dim,
coordT apex,
setT vertices,
vertexT notvertex,
boolT  toporient,
coordT normal,
realT offset 
)

Definition at line 518 of file geom2_r.c.

◆ qh_facetcenter()

pointT* qh_facetcenter ( qhT qh,
setT vertices 
)

Definition at line 592 of file geom2_r.c.

◆ qh_findbest()

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

Definition at line 140 of file geom_r.c.

◆ qh_findbesthorizon()

facetT* qh_findbesthorizon ( qhT qh,
boolT  ischeckmax,
pointT point,
facetT startfacet,
boolT  noupper,
realT bestdist,
int *  numpart 
)

Definition at line 281 of file geom_r.c.

◆ qh_findbestnew()

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

Definition at line 412 of file geom_r.c.

◆ qh_findgooddist()

facetT* qh_findgooddist ( qhT qh,
pointT point,
facetT facetA,
realT distp,
facetT **  facetlist 
)

Definition at line 631 of file geom2_r.c.

◆ qh_gausselim()

void qh_gausselim ( qhT qh,
realT **  rows,
int  numrow,
int  numcol,
boolT sign,
boolT nearzero 
)

Definition at line 581 of file geom_r.c.

◆ qh_getangle()

realT qh_getangle ( qhT qh,
pointT vect1,
pointT vect2 
)

Definition at line 644 of file geom_r.c.

◆ qh_getarea()

void qh_getarea ( qhT qh,
facetT facetlist 
)

Definition at line 703 of file geom2_r.c.

◆ qh_getcenter()

pointT* qh_getcenter ( qhT qh,
setT vertices 
)

Definition at line 669 of file geom_r.c.

◆ qh_getcentrum()

pointT* qh_getcentrum ( qhT qh,
facetT facet 
)

Definition at line 700 of file geom_r.c.

◆ qh_getdistance()

realT qh_getdistance ( qhT qh,
facetT facet,
facetT neighbor,
realT mindist,
realT maxdist 
)

Definition at line 728 of file geom_r.c.

◆ qh_gram_schmidt()

boolT qh_gram_schmidt ( qhT qh,
int  dim,
realT **  rows 
)

Definition at line 764 of file geom2_r.c.

◆ qh_inthresholds()

boolT qh_inthresholds ( qhT qh,
coordT normal,
realT angle 
)

Definition at line 812 of file geom2_r.c.

◆ qh_joggleinput()

void qh_joggleinput ( qhT qh)

Definition at line 875 of file geom2_r.c.

◆ qh_maxabsval()

realT* qh_maxabsval ( realT normal,
int  dim 
)

Definition at line 937 of file geom2.c.

◆ qh_maxmin()

setT* qh_maxmin ( qhT qh,
pointT points,
int  numpoints,
int  dimension 
)

Definition at line 980 of file geom2_r.c.

◆ qh_maxouter()

realT qh_maxouter ( qhT qh)

Definition at line 1067 of file geom2_r.c.

◆ qh_maxsimplex()

void qh_maxsimplex ( qhT qh,
int  dim,
setT maxpoints,
pointT points,
int  numpoints,
setT **  simplex 
)

Definition at line 1099 of file geom2_r.c.

◆ qh_minabsval()

realT qh_minabsval ( realT normal,
int  dim 
)

Definition at line 1197 of file geom2.c.

◆ qh_mindiff()

int qh_mindiff ( realT vecA,
realT vecB,
int  dim 
)

Definition at line 1217 of file geom2.c.

◆ qh_normalize()

void qh_normalize ( qhT qh,
coordT normal,
int  dim,
boolT  toporient 
)

Definition at line 768 of file geom_r.c.

◆ qh_normalize2()

void qh_normalize2 ( qhT qh,
coordT normal,
int  dim,
boolT  toporient,
realT minnorm,
boolT ismin 
)

Definition at line 804 of file geom_r.c.

◆ qh_orientoutside()

boolT qh_orientoutside ( qhT qh,
facetT facet 
)

Definition at line 1245 of file geom2_r.c.

◆ qh_outerinner()

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

Definition at line 1280 of file geom2_r.c.

◆ qh_pointdist()

coordT qh_pointdist ( pointT point1,
pointT point2,
int  dim 
)

Definition at line 1320 of file geom2.c.

◆ qh_printmatrix()

void qh_printmatrix ( qhT qh,
FILE *  fp,
const char *  string,
realT **  rows,
int  numrow,
int  numcol 
)

Definition at line 1347 of file geom2_r.c.

◆ qh_printpoints()

void qh_printpoints ( qhT qh,
FILE *  fp,
const char *  string,
setT points 
)

Definition at line 1371 of file geom2_r.c.

◆ qh_projectinput()

void qh_projectinput ( qhT qh)

Definition at line 1426 of file geom2_r.c.

◆ qh_projectpoint()

pointT* qh_projectpoint ( qhT qh,
pointT point,
facetT facet,
realT  dist 
)

Definition at line 893 of file geom_r.c.

◆ qh_projectpoints()

void qh_projectpoints ( qhT qh,
signed char *  project,
int  n,
realT points,
int  numpoints,
int  dim,
realT newpoints,
int  newdim 
)

Definition at line 1533 of file geom2_r.c.

◆ qh_rotateinput()

void qh_rotateinput ( qhT qh,
realT **  rows 
)

Definition at line 1586 of file geom2_r.c.

◆ qh_rotatepoints()

void qh_rotatepoints ( qhT qh,
realT points,
int  numpoints,
int  dim,
realT **  rows 
)

Definition at line 1612 of file geom2_r.c.

◆ qh_scaleinput()

void qh_scaleinput ( qhT qh)

Definition at line 1648 of file geom2_r.c.

◆ qh_scalelast()

void qh_scalelast ( qhT qh,
coordT points,
int  numpoints,
int  dim,
coordT  low,
coordT  high,
coordT  newhigh 
)

Definition at line 1677 of file geom2_r.c.

◆ qh_scalepoints()

void qh_scalepoints ( qhT qh,
pointT points,
int  numpoints,
int  dim,
realT newlows,
realT newhighs 
)

Definition at line 1723 of file geom2_r.c.

◆ qh_setfacetplane()

void qh_setfacetplane ( qhT qh,
facetT newfacets 
)

Definition at line 929 of file geom_r.c.

◆ qh_sethalfspace()

boolT qh_sethalfspace ( qhT qh,
int  dim,
coordT coords,
coordT **  nextp,
coordT normal,
coordT offset,
coordT feasible 
)

Definition at line 1846 of file geom2_r.c.

◆ qh_sethalfspace_all()

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

Definition at line 1920 of file geom2_r.c.

◆ qh_sethyperplane_det()

void qh_sethyperplane_det ( qhT qh,
int  dim,
coordT **  rows,
coordT point0,
boolT  toporient,
coordT normal,
realT offset,
boolT nearzero 
)

Definition at line 1103 of file geom_r.c.

◆ qh_sethyperplane_gauss()

void qh_sethyperplane_gauss ( qhT qh,
int  dim,
coordT **  rows,
pointT point0,
boolT  toporient,
coordT normal,
coordT offset,
boolT nearzero 
)

Definition at line 1201 of file geom_r.c.

◆ qh_sharpnewfacets()

boolT qh_sharpnewfacets ( qhT qh)

Definition at line 1963 of file geom2_r.c.

◆ qh_voronoi_center()

pointT* qh_voronoi_center ( qhT qh,
int  dim,
setT points 
)

Definition at line 2014 of file geom2_r.c.



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