Go to the source code of this file.
Macros | |
| #define | INEXACT /* Nothing */ |
| #define | REALPRINT doubleprint |
| #define | REALRAND doublerand |
| #define | NARROWRAND narrowdoublerand |
| #define | UNIFORMRAND uniformdoublerand |
| #define | Absolute(a) ((a) >= 0.0 ? (a) : -(a)) |
| #define | Fast_Two_Sum_Tail(a, b, x, y) |
| #define | Fast_Two_Sum(a, b, x, y) |
| #define | Two_Sum_Tail(a, b, x, y) |
| #define | Two_Sum(a, b, x, y) |
| #define | Two_Diff_Tail(a, b, x, y) |
| #define | Two_Diff(a, b, x, y) |
| #define | Split(a, ahi, alo) |
| #define | Two_Product_Tail(a, b, x, y) |
| #define | Two_Product(a, b, x, y) |
| #define | Two_Product_Presplit(a, b, bhi, blo, x, y) |
| #define | Square_Tail(a, x, y) |
| #define | Square(a, x, y) |
| #define | Two_One_Sum(a1, a0, b, x2, x1, x0) |
| #define | Two_One_Diff(a1, a0, b, x2, x1, x0) |
| #define | Two_Two_Sum(a1, a0, b1, b0, x3, x2, x1, x0) |
| #define | Two_Two_Diff(a1, a0, b1, b0, x3, x2, x1, x0) |
Functions | |
| void | exactinit () |
| int | fast_expansion_sum_zeroelim (int elen, qreal *e, int flen, qreal *f, qreal *h) |
| int | scale_expansion_zeroelim (int elen, qreal *e, qreal b, qreal *h) |
| qreal | estimate (int elen, qreal *e) |
| qreal | incircleadapt (qreal *pa, qreal *pb, qreal *pc, qreal *pd, qreal permanent) |
| qreal | incircle (qreal *pa, qreal *pb, qreal *pc, qreal *pd) |
Variables | |
| qreal | splitter |
| qreal | epsilon |
| qreal | resulterrbound |
| qreal | ccwerrboundA |
| qreal | ccwerrboundB |
| qreal | ccwerrboundC |
| qreal | o3derrboundA |
| qreal | o3derrboundB |
| qreal | o3derrboundC |
| qreal | iccerrboundA |
| qreal | iccerrboundB |
| qreal | iccerrboundC |
| qreal | isperrboundA |
| qreal | isperrboundB |
| qreal | isperrboundC |
| #define Absolute | ( | a | ) | ((a) >= 0.0 ? (a) : -(a)) |
Definition at line 150 of file predicates.cpp.
| #define Fast_Two_Sum | ( | a, | |
| b, | |||
| x, | |||
| y | |||
| ) |
Definition at line 171 of file predicates.cpp.
| #define Fast_Two_Sum_Tail | ( | a, | |
| b, | |||
| x, | |||
| y | |||
| ) |
Definition at line 167 of file predicates.cpp.
| #define INEXACT /* Nothing */ |
Definition at line 136 of file predicates.cpp.
| #define NARROWRAND narrowdoublerand |
Definition at line 141 of file predicates.cpp.
| #define REALPRINT doubleprint |
Definition at line 139 of file predicates.cpp.
| #define REALRAND doublerand |
Definition at line 140 of file predicates.cpp.
| #define Split | ( | a, | |
| ahi, | |||
| alo | |||
| ) |
Definition at line 197 of file predicates.cpp.
| #define Square | ( | a, | |
| x, | |||
| y | |||
| ) |
Definition at line 234 of file predicates.cpp.
| #define Square_Tail | ( | a, | |
| x, | |||
| y | |||
| ) |
Definition at line 228 of file predicates.cpp.
| #define Two_Diff | ( | a, | |
| b, | |||
| x, | |||
| y | |||
| ) |
Definition at line 193 of file predicates.cpp.
| #define Two_Diff_Tail | ( | a, | |
| b, | |||
| x, | |||
| y | |||
| ) |
Definition at line 186 of file predicates.cpp.
| #define Two_One_Diff | ( | a1, | |
| a0, | |||
| b, | |||
| x2, | |||
| x1, | |||
| x0 | |||
| ) |
Definition at line 245 of file predicates.cpp.
| #define Two_One_Sum | ( | a1, | |
| a0, | |||
| b, | |||
| x2, | |||
| x1, | |||
| x0 | |||
| ) |
Definition at line 241 of file predicates.cpp.
| #define Two_Product | ( | a, | |
| b, | |||
| x, | |||
| y | |||
| ) |
Definition at line 211 of file predicates.cpp.
| #define Two_Product_Presplit | ( | a, | |
| b, | |||
| bhi, | |||
| blo, | |||
| x, | |||
| y | |||
| ) |
Definition at line 218 of file predicates.cpp.
| #define Two_Product_Tail | ( | a, | |
| b, | |||
| x, | |||
| y | |||
| ) |
Definition at line 203 of file predicates.cpp.
| #define Two_Sum | ( | a, | |
| b, | |||
| x, | |||
| y | |||
| ) |
Definition at line 182 of file predicates.cpp.
| #define Two_Sum_Tail | ( | a, | |
| b, | |||
| x, | |||
| y | |||
| ) |
Definition at line 175 of file predicates.cpp.
| #define Two_Two_Diff | ( | a1, | |
| a0, | |||
| b1, | |||
| b0, | |||
| x3, | |||
| x2, | |||
| x1, | |||
| x0 | |||
| ) |
Definition at line 253 of file predicates.cpp.
| #define Two_Two_Sum | ( | a1, | |
| a0, | |||
| b1, | |||
| b0, | |||
| x3, | |||
| x2, | |||
| x1, | |||
| x0 | |||
| ) |
Definition at line 249 of file predicates.cpp.
| #define UNIFORMRAND uniformdoublerand |
Definition at line 142 of file predicates.cpp.
| qreal estimate | ( | int | elen, |
| qreal * | e | ||
| ) |
Definition at line 496 of file predicates.cpp.
Referenced by incircleadapt().
| void exactinit | ( | ) |
Definition at line 285 of file predicates.cpp.
References ccwerrboundA, ccwerrboundB, ccwerrboundC, epsilon, iccerrboundA, iccerrboundB, iccerrboundC, isperrboundA, isperrboundB, isperrboundC, o3derrboundA, o3derrboundB, o3derrboundC, resulterrbound, and splitter.
Referenced by delaunay2d_from().
| int fast_expansion_sum_zeroelim | ( | int | elen, |
| qreal * | e, | ||
| int | flen, | ||
| qreal * | f, | ||
| qreal * | h | ||
| ) |
Definition at line 343 of file predicates.cpp.
References Fast_Two_Sum, INEXACT, and Two_Sum.
Referenced by incircleadapt().
| qreal incircle | ( | qreal * | pa, |
| qreal * | pb, | ||
| qreal * | pc, | ||
| qreal * | pd | ||
| ) |
Definition at line 1044 of file predicates.cpp.
References Absolute, iccerrboundA, and incircleadapt().
| qreal incircleadapt | ( | qreal * | pa, |
| qreal * | pb, | ||
| qreal * | pc, | ||
| qreal * | pd, | ||
| qreal | permanent | ||
| ) |
Definition at line 509 of file predicates.cpp.
References Absolute, estimate(), fast_expansion_sum_zeroelim(), iccerrboundB, iccerrboundC, INEXACT, resulterrbound, scale_expansion_zeroelim(), Square, Two_Diff_Tail, Two_Product, Two_Two_Diff, and Two_Two_Sum.
Referenced by incircle().
| int scale_expansion_zeroelim | ( | int | elen, |
| qreal * | e, | ||
| qreal | b, | ||
| qreal * | h | ||
| ) |
Definition at line 445 of file predicates.cpp.
References Fast_Two_Sum, INEXACT, Split, Two_Product_Presplit, and Two_Sum.
Referenced by incircleadapt().
| qreal ccwerrboundA |
Definition at line 261 of file predicates.cpp.
Referenced by exactinit().
| qreal ccwerrboundB |
Definition at line 261 of file predicates.cpp.
Referenced by exactinit().
| qreal ccwerrboundC |
Definition at line 261 of file predicates.cpp.
Referenced by exactinit().
| qreal epsilon |
Definition at line 258 of file predicates.cpp.
Referenced by exactinit().
| qreal iccerrboundA |
Definition at line 263 of file predicates.cpp.
Referenced by exactinit(), and incircle().
| qreal iccerrboundB |
Definition at line 263 of file predicates.cpp.
Referenced by exactinit(), and incircleadapt().
| qreal iccerrboundC |
Definition at line 263 of file predicates.cpp.
Referenced by exactinit(), and incircleadapt().
| qreal isperrboundA |
Definition at line 264 of file predicates.cpp.
Referenced by exactinit().
| qreal isperrboundB |
Definition at line 264 of file predicates.cpp.
Referenced by exactinit().
| qreal isperrboundC |
Definition at line 264 of file predicates.cpp.
Referenced by exactinit().
| qreal o3derrboundA |
Definition at line 262 of file predicates.cpp.
Referenced by exactinit().
| qreal o3derrboundB |
Definition at line 262 of file predicates.cpp.
Referenced by exactinit().
| qreal o3derrboundC |
Definition at line 262 of file predicates.cpp.
Referenced by exactinit().
| qreal resulterrbound |
Definition at line 260 of file predicates.cpp.
Referenced by exactinit(), and incircleadapt().
| qreal splitter |
Definition at line 257 of file predicates.cpp.
Referenced by exactinit().