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

Function print_rectangle_repr

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

Source from the content-addressed store, hash-verified

62}
63
64string print_rectangle_repr(const rectangle& r)
65{
66 std::ostringstream sout;
67 sout << "rectangle(" << r.left() << "," << r.top() << "," << r.right() << "," << r.bottom() << ")";
68 return sout.str();
69}
70
71string print_drectangle_repr(const drectangle& r)
72{

Callers

nothing calls this directly

Calls 5

leftMethod · 0.45
topMethod · 0.45
rightMethod · 0.45
bottomMethod · 0.45
strMethod · 0.45

Tested by

no test coverage detected