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

Function contains

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

Source from the content-addressed store, hash-verified

43
44template <typename rect_type, typename ptype>
45bool contains(const rect_type& r, const ptype& p) { return r.contains(p); }
46
47template <typename rect_type>
48bool contains_xy(const rect_type& r, const long x, const long y) { return r.contains(point(x, y)); }

Callers

nothing calls this directly

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected