MCPcopy Create free account
hub / github.com/Smorodov/Multitarget-tracker / RemoveLine

Method RemoveLine

example/CarsCounting.cpp:329–339  ·  view source on GitHub ↗

\brief CarsCounting::RemoveLine \param lineUid \return

Source from the content-addressed store, hash-verified

327/// \return
328///
329bool CarsCounting::RemoveLine(unsigned int lineUid)
330{
331 for (auto it = std::begin(m_lines); it != std::end(m_lines);)
332 {
333 if (it->m_uid == lineUid)
334 it = m_lines.erase(it);
335 else
336 ++it;
337 }
338 return false;
339}
340
341///
342/// \brief CarsCounting::CheckLinesIntersection

Callers

nothing calls this directly

Calls 3

eraseMethod · 0.80
beginFunction · 0.50
endFunction · 0.50

Tested by

no test coverage detected