MCPcopy Create free account
hub / github.com/Kitware/VTK / AddGraphEdge

Method AddGraphEdge

Common/DataModel/vtkMutableUndirectedGraph.cxx:199–206  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

197
198//------------------------------------------------------------------------------
199vtkGraphEdge* vtkMutableUndirectedGraph::AddGraphEdge(vtkIdType u, vtkIdType v)
200{
201 vtkEdgeType e = this->AddEdge(u, v);
202 this->GraphEdge->SetSource(e.Source);
203 this->GraphEdge->SetTarget(e.Target);
204 this->GraphEdge->SetId(e.Id);
205 return this->GraphEdge;
206}
207
208//------------------------------------------------------------------------------
209void vtkMutableUndirectedGraph::RemoveVertex(vtkIdType v)

Callers

nothing calls this directly

Calls 4

AddEdgeMethod · 0.95
SetSourceMethod · 0.45
SetTargetMethod · 0.45
SetIdMethod · 0.45

Tested by

no test coverage detected