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

Method DeepCopyEdgePoints

Common/DataModel/vtkGraph.cxx:1106–1120  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1104
1105//------------------------------------------------------------------------------
1106void vtkGraph::DeepCopyEdgePoints(vtkGraph* g)
1107{
1108 if (g->EdgePoints)
1109 {
1110 if (!this->EdgePoints)
1111 {
1112 this->EdgePoints = vtkGraphEdgePoints::New();
1113 }
1114 this->EdgePoints->Storage = g->EdgePoints->Storage;
1115 }
1116 else
1117 {
1118 this->SetEdgePoints(nullptr);
1119 }
1120}
1121
1122//------------------------------------------------------------------------------
1123void vtkGraph::GetInducedEdges(vtkIdTypeArray* verts, vtkIdTypeArray* edges)

Callers 4

CopyInternalMethod · 0.95
RequestDataMethod · 0.80
RequestDataMethod · 0.80
RequestDataMethod · 0.80

Calls 2

SetEdgePointsMethod · 0.95
NewFunction · 0.50

Tested by

no test coverage detected