| 21 | namespace |
| 22 | { |
| 23 | bool OnEdge(geometry::PointWithAltitude const & p, Edge const & ab) |
| 24 | { |
| 25 | auto const & a = ab.GetStartJunction(); |
| 26 | auto const & b = ab.GetEndJunction(); |
| 27 | return m2::IsPointOnSegmentEps(p.GetPoint(), a.GetPoint(), b.GetPoint(), 1e-9); |
| 28 | } |
| 29 | |
| 30 | void SplitEdge(Edge const & ab, geometry::PointWithAltitude const & p, vector<Edge> & edges) |
| 31 | { |
no test coverage detected