00001
00030 #ifndef _VPRED_H_
00031 #define _VPRED_H_
00032
00033 #include <maloc/maloc_base.h>
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00052 #define INEXACT
00053
00054
00056 #define REAL double
00057
00059 #define REALPRINT doubleprint
00060
00063 #define REALRAND doublerand
00064
00067 #define NARROWRAND narrowdoublerand
00068
00070 #define UNIFORMRAND uniformdoublerand
00071
00084 void Vpred_exactinit(void);
00085
00097 REAL Vpred_orient2d(REAL *pa, REAL *pb, REAL *pc);
00098
00110 REAL Vpred_orient2dfast(REAL *pa, REAL *pb, REAL *pc);
00111
00123 REAL Vpred_orient2dexact(REAL *pa, REAL *pb, REAL *pc);
00124
00139 REAL Vpred_orient3d(REAL *pa, REAL *pb, REAL *pc, REAL *pd);
00140
00155 REAL Vpred_orient3dfast(REAL *pa, REAL *pb, REAL *pc, REAL *pd);
00156
00171 REAL Vpred_orient3dexact(REAL *pa, REAL *pb, REAL *pc, REAL *pd);
00172
00185 REAL Vpred_incircle(REAL *pa, REAL *pb, REAL *pc, REAL *pd);
00186
00199 REAL Vpred_incirclefast(REAL *pa, REAL *pb, REAL *pc, REAL *pd);
00200
00213 REAL Vpred_incircleexact(REAL *pa, REAL *pb, REAL *pc, REAL *pd);
00214
00228 REAL Vpred_insphere(REAL *pa, REAL *pb, REAL *pc, REAL *pd, REAL *pe);
00229
00243 REAL Vpred_inspherefast(REAL *pa, REAL *pb, REAL *pc, REAL *pd, REAL *pe);
00244
00258 REAL Vpred_insphereexact(REAL *pa, REAL *pb, REAL *pc, REAL *pd, REAL *pe);
00259
00260 #endif
00261
00262