Tatooine
|
Classes | |
struct | compare |
class | Delaunator |
Functions | |
size_t | fast_mod (size_t const i, size_t const c) |
template<floating_point Real> | |
Real | sum (std::vector< Real > const &x) |
Kahan and Babuska summation, Neumaier variant; accumulates less FP error. More... | |
template<floating_point Real> | |
Real | dist (Real const ax, Real const ay, Real const bx, Real const by) |
template<floating_point Real> | |
Real | circumradius (Real const ax, Real const ay, Real const bx, Real const by, Real const cx, Real const cy) |
template<floating_point Real> | |
bool | orient (Real const px, Real const py, Real const qx, Real const qy, Real const rx, Real const ry) |
template<floating_point Real> | |
std::pair< Real, Real > | circumcenter (Real const ax, Real const ay, Real const bx, Real const by, Real const cx, Real const cy) |
template<floating_point Real> | |
bool | in_circle (Real const ax, Real const ay, Real const bx, Real const by, Real const cx, Real const cy, Real const px, Real const py) |
template<floating_point Real> | |
bool | check_pts_equal (Real x1, Real y1, Real x2, Real y2) |
template<floating_point Real> | |
Real | pseudo_angle (Real const dx, Real const dy) |
bool tatooine::delaunator::check_pts_equal | ( | Real | x1, |
Real | y1, | ||
Real | x2, | ||
Real | y2 | ||
) |
std::pair< Real, Real > tatooine::delaunator::circumcenter | ( | Real const | ax, |
Real const | ay, | ||
Real const | bx, | ||
Real const | by, | ||
Real const | cx, | ||
Real const | cy | ||
) |
Real tatooine::delaunator::circumradius | ( | Real const | ax, |
Real const | ay, | ||
Real const | bx, | ||
Real const | by, | ||
Real const | cx, | ||
Real const | cy | ||
) |
Real tatooine::delaunator::dist | ( | Real const | ax, |
Real const | ay, | ||
Real const | bx, | ||
Real const | by | ||
) |
|
inline |
bool tatooine::delaunator::in_circle | ( | Real const | ax, |
Real const | ay, | ||
Real const | bx, | ||
Real const | by, | ||
Real const | cx, | ||
Real const | cy, | ||
Real const | px, | ||
Real const | py | ||
) |
bool tatooine::delaunator::orient | ( | Real const | px, |
Real const | py, | ||
Real const | qx, | ||
Real const | qy, | ||
Real const | rx, | ||
Real const | ry | ||
) |
Real tatooine::delaunator::pseudo_angle | ( | Real const | dx, |
Real const | dy | ||
) |
Real tatooine::delaunator::sum | ( | std::vector< Real > const & | x | ) |
Kahan and Babuska summation, Neumaier variant; accumulates less FP error.