Home
last modified time | relevance | path

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

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/renderer/buckets/
H A Dline_bucket.cpp108 optional<Point<double>> nextNormal; in addGeometry() local
115nextNormal = util::perp(util::unit(convertPoint<double>(firstCoordinate - *currentCoordinate))); in addGeometry()
138 if (nextNormal) { in addGeometry()
139 prevNormal = *nextNormal; in addGeometry()
150nextNormal = nextCoordinate ? util::perp(util::unit(convertPoint<double>(*nextCoordinate - *curren… in addGeometry()
156 prevNormal = *nextNormal; in addGeometry()
165 Point<double> joinNormal = *prevNormal + *nextNormal; in addGeometry()
183 const double cosHalfAngle = joinNormal.x * nextNormal->x + joinNormal.y * nextNormal->y; in addGeometry()
246 joinNormal = *nextNormal * -1.0; in addGeometry()
248 …const double direction = prevNormal->x * nextNormal->y - prevNormal->y * nextNormal->x > 0 ? -1 : … in addGeometry()
[all …]