Welcome to mirror list, hosted at ThFree Co, Russian Federation.

segment2d.hpp « geometry - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 838fc52e744d4e1ac0f93451094d3e15b646373c (plain)
1
2
3
4
5
6
7
8
9
10
#pragma once

#include "geometry/point2d.hpp"

namespace m2
{
bool IsPointOnSegmentEps(m2::PointD const & pt, m2::PointD const & p1, m2::PointD const & p2,
                         double eps);
bool IsPointOnSegment(m2::PointD const & pt, m2::PointD const & p1, m2::PointD const & p2);
}  // namespace m2