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

Method CopyKdNode

Common/DataModel/vtkKdTree.cxx:1107–1118  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1105
1106//------------------------------------------------------------------------------
1107void vtkKdTree::CopyKdNode(vtkKdNode* to, vtkKdNode* from)
1108{
1109 to->SetMinBounds(from->GetMinBounds());
1110 to->SetMaxBounds(from->GetMaxBounds());
1111 to->SetMinDataBounds(from->GetMinDataBounds());
1112 to->SetMaxDataBounds(from->GetMaxDataBounds());
1113 to->SetID(from->GetID());
1114 to->SetMinID(from->GetMinID());
1115 to->SetMaxID(from->GetMaxID());
1116 to->SetNumberOfPoints(from->GetNumberOfPoints());
1117 to->SetDim(from->GetDim());
1118}
1119
1120//------------------------------------------------------------------------------
1121int vtkKdTree::ComputeLevel(vtkKdNode* kd)

Callers

nothing calls this directly

Calls 8

SetMinBoundsMethod · 0.80
SetMaxBoundsMethod · 0.80
SetMinDataBoundsMethod · 0.80
SetMaxDataBoundsMethod · 0.80
SetIDMethod · 0.80
SetDimMethod · 0.80
SetNumberOfPointsMethod · 0.45
GetNumberOfPointsMethod · 0.45

Tested by

no test coverage detected