Searched refs:segmentLength (Results 1 – 2 of 2) sorted by relevance
89 auto segmentLength = util::dist<float>(line[index], line[index + 1]); in bboxifyLabel() local107 while (anchorDistance + segmentLength < boxDistanceToAnchor) { in bboxifyLabel()108 anchorDistance += segmentLength; in bboxifyLabel()114 segmentLength = util::dist<float>(line[index], line[index + 1]); in bboxifyLabel()124 p0.x + segmentBoxDistance / segmentLength * (p1.x - p0.x), in bboxifyLabel()125 p0.y + segmentBoxDistance / segmentLength * (p1.y - p0.y) in bboxifyLabel()
270 double segmentLength = instruction.at(2).toDouble(); in constructRoute() local278 segment.setDistance(segmentLength); in constructRoute()282 maneuver.setDistanceToNextInstruction(segmentLength); in constructRoute()