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

Method operator*

src/openpose/core/point.cpp:232–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230
231 template<typename T>
232 Point<T> Point<T>::operator*(const T value) const
233 {
234 try
235 {
236 return Point<T>{T(x * value), T(y * value)};
237 }
238 catch (const std::exception& e)
239 {
240 error(e.what(), __LINE__, __FUNCTION__, __FILE__);
241 return Point<T>{};
242 }
243 }
244
245 template<typename T>
246 Point<T>& Point<T>::operator/=(const T value)

Callers

nothing calls this directly

Calls 2

whatMethod · 0.80
errorFunction · 0.50

Tested by

no test coverage detected