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

Method getOutEdges

octomap/src/ScanGraph.cpp:287–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

285 }
286
287 std::vector<ScanEdge*> ScanGraph::getOutEdges(ScanNode* node) {
288 std::vector<ScanEdge*> res;
289 if (node) {
290 for (std::vector<ScanEdge*>::iterator it = edges.begin(); it != edges.end(); it++) {
291 if ((*it)->first == node) {
292 res.push_back(*it);
293 }
294 }
295 }
296 return res;
297 }
298
299 std::vector<ScanEdge*> ScanGraph::getInEdges(ScanNode* node) {
300 std::vector<ScanEdge*> res;

Callers

nothing calls this directly

Calls 3

beginMethod · 0.45
endMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected