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

Method ComputeCellCenter

Common/DataModel/vtkKdTree.cxx:691–700  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

689
690//------------------------------------------------------------------------------
691void vtkKdTree::ComputeCellCenter(vtkDataSet* set, int cellId, float* center)
692{
693 double dcenter[3];
694
695 this->ComputeCellCenter(set, cellId, dcenter);
696
697 center[0] = static_cast<float>(dcenter[0]);
698 center[1] = static_cast<float>(dcenter[1]);
699 center[2] = static_cast<float>(dcenter[2]);
700}
701
702//------------------------------------------------------------------------------
703void vtkKdTree::ComputeCellCenter(vtkDataSet* set, int cellId, double* center)

Callers 2

ComputeCellCentersMethod · 0.95

Calls 7

GetDataSetIndexMethod · 0.95
GetDataSetMethod · 0.95
GetNumberOfCellsMethod · 0.45
GetMaxCellSizeMethod · 0.45
GetCellMethod · 0.45
GetParametricCenterMethod · 0.45
EvaluateLocationMethod · 0.45

Tested by

no test coverage detected