Home
last modified time | relevance | path

Searched refs:tanCur (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/earcut/0.12.4/include/mapbox/
H A Dearcut.hpp490 double tanCur = 0; in findHoleBridge() local
500 tanCur = std::abs(hy - p->y) / (hx - p->x); // tangential in findHoleBridge()
502 if ((tanCur < tanMin || (tanCur == tanMin && p->x > m->x)) && locallyInside(p, hole)) { in findHoleBridge()
504 tanMin = tanCur; in findHoleBridge()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/earcut/
H A Dearcut.hpp520 double tanCur = 0; in findHoleBridge() local
530 tanCur = std::abs(hy - p->y) / (hx - p->x); // tangential in findHoleBridge()
533 … (tanCur < tanMin || (tanCur == tanMin && (p->x > m->x || sectorContainsSector(m, p))))) { in findHoleBridge()
535 tanMin = tanCur; in findHoleBridge()