MCPcopy Create free account
hub / github.com/Kitware/VTK / operator()

Method operator()

Common/DataModel/vtkCellArray.cxx:93–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91{
92 template <class OffsetsT, class ConnectivityT>
93 void operator()(
94 OffsetsT* offsets, ConnectivityT* vtkNotUsed(conn), vtkIdType cellId, vtkIdType& loc) const
95 {
96 // Adding the cellId to the offset of that cell id gives us the cell
97 // location in the old-style vtkCellArray connectivity array.
98 loc = static_cast<vtkIdType>(GetRange(offsets)[cellId]) + cellId;
99 }
100};
101
102struct GetInsertLocationImpl : public vtkCellArray::DispatchUtilities

Callers

nothing calls this directly

Calls 1

GetRangeFunction · 0.50

Tested by

no test coverage detected