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

Method getInEdges

octomap/src/ScanGraph.cpp:299–309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

297 }
298
299 std::vector<ScanEdge*> ScanGraph::getInEdges(ScanNode* node) {
300 std::vector<ScanEdge*> res;
301 if (node) {
302 for (std::vector<ScanEdge*>::iterator it = edges.begin(); it != edges.end(); it++) {
303 if ((*it)->second == node) {
304 res.push_back(*it);
305 }
306 }
307 }
308 return res;
309 }
310
311 void ScanGraph::transformScans() {
312 for(ScanGraph::iterator it=this->begin(); it != this->end(); it++) {

Callers

nothing calls this directly

Calls 3

beginMethod · 0.45
endMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected