| 165 | } |
| 166 | |
| 167 | void AddTransitGateSegment(m2::PointD const & destPoint, df::ColorConstant const & color, df::Subroute & subroute) |
| 168 | { |
| 169 | ASSERT_GREATER(subroute.m_polyline.GetSize(), 0, ()); |
| 170 | df::SubrouteStyle style(color, df::RoutePattern(4.0, 2.0)); |
| 171 | style.m_startIndex = subroute.m_polyline.GetSize() - 1; |
| 172 | subroute.m_polyline.Add(destPoint); |
| 173 | style.m_endIndex = subroute.m_polyline.GetSize() - 1; |
| 174 | subroute.AddStyle(style); |
| 175 | } |
| 176 | |
| 177 | void AddTransitPedestrianSegment(m2::PointD const & destPoint, df::Subroute & subroute) |
| 178 | { |
no test coverage detected