MCPcopy Create free account
hub / github.com/OctoMap/octomap / getNumPoints

Method getNumPoints

octomap/src/ScanGraph.cpp:611–619  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

609 }
610
611 size_t ScanGraph::getNumPoints(unsigned int max_id) const {
612 size_t retval = 0;
613
614 for (ScanGraph::const_iterator it = this->begin(); it != this->end(); it++) {
615 retval += (*it)->scan->size();
616 if ((max_id > 0) && ((*it)->id == max_id)) break;
617 }
618 return retval;
619 }
620
621
622} // end namespace

Callers 2

mainFunction · 0.80
mainFunction · 0.80

Calls 3

beginMethod · 0.95
endMethod · 0.95
sizeMethod · 0.45

Tested by

no test coverage detected