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

Function dpoint__str__

tools/python/src/vector.cpp:176–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174}
175
176string dpoint__str__(const dpoint& p)
177{
178 std::ostringstream sout;
179 sout << "(" << p.x() << ", " << p.y() << ")";
180 return sout.str();
181}
182
183long point_x(const point& p) { return p.x(); }
184long point_y(const point& p) { return p.y(); }

Callers

nothing calls this directly

Calls 1

strMethod · 0.45

Tested by

no test coverage detected