MCPcopy Create free account
hub / github.com/comaps/comaps / IsInSection

Function IsInSection

libs/geometry/robust_orientation.hpp:32–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30
31template <typename Point>
32bool IsInSection(Point const & p1, Point const & p2, Point const & p)
33{
34 return Between(p1.x, p2.x, p.x) && Between(p1.y, p2.y, p.y);
35}
36
37template <typename Iter>
38bool CheckPolygonSelfIntersections(Iter beg, Iter end)

Callers 1

Calls 1

BetweenFunction · 0.70

Tested by

no test coverage detected