MCPcopy Create free account
hub / github.com/CMU-Perceptual-Computing-Lab/openpose / toString

Method toString

src/openpose/core/rectangle.cpp:131–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129
130 template<typename T>
131 std::string Rectangle<T>::toString() const
132 {
133 try
134 {
135 return '[' + std::to_string(x) + ", " + std::to_string(y) + ", " + std::to_string(width) + ", " + std::to_string(height) + ']';
136 }
137 catch (const std::exception& e)
138 {
139 error(e.what(), __LINE__, __FUNCTION__, __FILE__);
140 return "";
141 }
142 }
143
144 template<typename T>
145 Rectangle<T>& Rectangle<T>::operator*=(const T value)

Callers

nothing calls this directly

Calls 2

whatMethod · 0.80
errorFunction · 0.50

Tested by

no test coverage detected