Home
last modified time | relevance | path

Searched refs:prevCoordinate (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.cpp105 optional<GeometryCoordinate> prevCoordinate; in addGeometry() local
142 prevCoordinate = *currentCoordinate; in addGeometry()
187 …const bool isSharpCorner = cosHalfAngle < COS_HALF_SHARP_CORNER && prevCoordinate && nextCoordinat… in addGeometry()
190 const auto prevSegmentLength = util::dist<double>(*currentCoordinate, *prevCoordinate); in addGeometry()
192 …oint<int16_t>(util::round(convertPoint<double>(*currentCoordinate - *prevCoordinate) * (sharpCorne… in addGeometry()
193 distance += util::dist<double>(newPrevVertex, *prevCoordinate); in addGeometry()
195 prevCoordinate = newPrevVertex; in addGeometry()
200 const bool middleVertex = prevCoordinate && nextCoordinate; in addGeometry()
233 if (prevCoordinate) in addGeometry()
234 distance += util::dist<double>(*currentCoordinate, *prevCoordinate); in addGeometry()