MCPcopy Create free account
hub / github.com/davisking/dlib / contains_xy

Function contains_xy

tools/python/src/rectangles.cpp:48–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46
47template <typename rect_type>
48bool contains_xy(const rect_type& r, const long x, const long y) { return r.contains(point(x, y)); }
49
50template <typename rect_type>
51bool contains_rec(const rect_type& r, const rect_type& r2) { return r.contains(r2); }

Callers

nothing calls this directly

Calls 2

pointClass · 0.50
containsMethod · 0.45

Tested by

no test coverage detected