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

Method operator/

src/openpose/core/point.cpp:263–274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261
262 template<typename T>
263 Point<T> Point<T>::operator/(const T value) const
264 {
265 try
266 {
267 return Point<T>{T(x / value), T(y / value)};
268 }
269 catch (const std::exception& e)
270 {
271 error(e.what(), __LINE__, __FUNCTION__, __FILE__);
272 return Point<T>{};
273 }
274 }
275
276 COMPILE_TEMPLATE_BASIC_TYPES_STRUCT(Point);
277}

Callers

nothing calls this directly

Calls 2

whatMethod · 0.80
errorFunction · 0.50

Tested by

no test coverage detected