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

Function check_inside

libs/geometry/geometry_tests/intersect_test.cpp:64–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64void check_inside(m2::RectD const & r, m2::PointD const & p1, m2::PointD const & p2)
65{
66 m2::PointD pp1 = p1;
67 m2::PointD pp2 = p2;
68 TEST(m2::Intersect(r, pp1, pp2), ());
69 TEST((pp1 == p1) && (pp2 == p2), ());
70}
71
72void check_intersect_boundaries(m2::RectD const & r)
73{

Callers 5

check_intersect_diagonalFunction · 0.85
check_sidesFunction · 0.85
check_eps_boundariesFunction · 0.85
UNIT_TESTFunction · 0.85

Calls 2

TESTFunction · 0.85
IntersectFunction · 0.70

Tested by

no test coverage detected