38 if (points.size() == points3d.size()) |
38 if (points.size() == points3d.size()) |
39 { |
39 { |
40 for (int i = 0; i < points.size() - 1; ++i) |
40 for (int i = 0; i < points.size() - 1; ++i) |
41 { |
41 { |
42 painter.drawLine (QLineF (points[i], points[i + 1])); |
42 painter.drawLine (QLineF (points[i], points[i + 1])); |
43 drawLength (painter, points3d[i], points3d[i + 1], points[i], points[i + 1]); |
43 drawLineLength (painter, points3d[i], points3d[i + 1], points[i], points[i + 1]); |
44 } |
44 } |
45 |
45 |
46 for (int i = 0; i < points.size(); ++i) |
46 for (int i = 0; i < points.size(); ++i) |
47 { |
47 { |
48 const QPointF& point = points[i]; |
48 const QPointF& point = points[i]; |