#include "PolygonTriangulator.h"
#include <algorithm>
#include <cmath>
#include <map>
#include <limits>
#include <list>
#include <queue>
#include <set>
#include <iostream>
#include <stack>
#include <cassert>
#include <cstdlib>
Go to the source code of this file.
|
#define | sqr(t) (t)*(t) |
|
#define | INEXACT /* Nothing */ |
|
#define | REAL double /* float or double */ |
|
#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_One_Diff(a1, a0, b, x2, x1, x0) |
|
#define | Two_Two_Diff(a1, a0, b1, b0, x3, x2, x1, x0) |
|
|
int | internal_poltrig::fast_expansion_sum_zeroelim (const int &elen, REAL *e, const int &flen, REAL *f, REAL *h) |
|
REAL | internal_poltrig::estimate (const int &elen, REAL *e) |
|
REAL | internal_poltrig::orient2dadapt (REAL *pa, REAL *pb, REAL *pc, const REAL &detsum) |
|
REAL | internal_poltrig::orient2d (REAL *pa, REAL *pb, REAL *pc) |
|
double | internal_poltrig::orient2d (double *pa, double *pb, double *pc) |
|
double | internal_poltrig::dist_sqr (const Pointbase &sp, const Pointbase &ep) |
|
double | internal_poltrig::dist_sqr (double *pa, double *pb) |
|
void | internal_poltrig::UpdateKey (BTreeNode< Linebase *, double > *node, double y) |
|
bool | internal_poltrig::operator== (const Pointbase &pa, const Pointbase &pb) |
|
bool | internal_poltrig::operator> (const Pointbase &pa, const Pointbase &pb) |
|
bool | internal_poltrig::operator< (const Pointbase &pa, const Pointbase &pb) |
|
bool | internal_poltrig::operator!= (const Pointbase &pa, const Pointbase &pb) |
|
◆ Absolute
#define Absolute |
( |
|
a | ) |
((a) >= 0.0 ? (a) : -(a)) |
◆ Fast_Two_Sum
#define Fast_Two_Sum |
( |
|
a, |
|
|
|
b, |
|
|
|
x, |
|
|
|
y |
|
) |
| |
◆ Fast_Two_Sum_Tail
#define Fast_Two_Sum_Tail |
( |
|
a, |
|
|
|
b, |
|
|
|
x, |
|
|
|
y |
|
) |
| |
◆ INEXACT
#define INEXACT /* Nothing */ |
◆ REAL
#define REAL double /* float or double */ |
◆ Split
#define Split |
( |
|
a, |
|
|
|
ahi, |
|
|
|
alo |
|
) |
| |
◆ sqr
◆ Two_Diff
#define Two_Diff |
( |
|
a, |
|
|
|
b, |
|
|
|
x, |
|
|
|
y |
|
) |
| |
◆ Two_Diff_Tail
#define Two_Diff_Tail |
( |
|
a, |
|
|
|
b, |
|
|
|
x, |
|
|
|
y |
|
) |
| |
◆ Two_One_Diff
#define Two_One_Diff |
( |
|
a1, |
|
|
|
a0, |
|
|
|
b, |
|
|
|
x2, |
|
|
|
x1, |
|
|
|
x0 |
|
) |
| |
◆ Two_Product
#define Two_Product |
( |
|
a, |
|
|
|
b, |
|
|
|
x, |
|
|
|
y |
|
) |
| |
◆ Two_Product_Tail
#define Two_Product_Tail |
( |
|
a, |
|
|
|
b, |
|
|
|
x, |
|
|
|
y |
|
) |
| |
Value:
err1 =
x - (ahi * bhi); \
err2 = err1 - (alo * bhi); \
err3 = err2 - (ahi * blo); \
y = (alo * blo) - err3
Definition at line 326 of file PolygonTriangulator.cxx.
◆ Two_Sum
#define Two_Sum |
( |
|
a, |
|
|
|
b, |
|
|
|
x, |
|
|
|
y |
|
) |
| |
◆ Two_Sum_Tail
#define Two_Sum_Tail |
( |
|
a, |
|
|
|
b, |
|
|
|
x, |
|
|
|
y |
|
) |
| |
◆ Two_Two_Diff
#define Two_Two_Diff |
( |
|
a1, |
|
|
|
a0, |
|
|
|
b1, |
|
|
|
b0, |
|
|
|
x3, |
|
|
|
x2, |
|
|
|
x1, |
|
|
|
x0 |
|
) |
| |