Home
last modified time | relevance | path

Searched refs:currentCoordinate (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.cpp104 optional<GeometryCoordinate> currentCoordinate; in addGeometry() local
114 currentCoordinate = coordinates[len - 2]; in addGeometry()
115 … nextNormal = util::perp(util::unit(convertPoint<double>(firstCoordinate - *currentCoordinate))); in addGeometry()
141 if (currentCoordinate) { in addGeometry()
142 prevCoordinate = *currentCoordinate; in addGeometry()
145 currentCoordinate = coordinates[i]; in addGeometry()
150 …nextCoordinate ? util::perp(util::unit(convertPoint<double>(*nextCoordinate - *currentCoordinate))) in addGeometry()
190 const auto prevSegmentLength = util::dist<double>(*currentCoordinate, *prevCoordinate); in addGeometry()
192 …ryCoordinate newPrevVertex = *currentCoordinate - convertPoint<int16_t>(util::round(convertPoint<d… in addGeometry()
234 distance += util::dist<double>(*currentCoordinate, *prevCoordinate); in addGeometry()
[all …]