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

Method GetSize

Common/DataModel/vtkExtractStructuredGridHelper.cxx:246–250  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

244
245//------------------------------------------------------------------------------
246int vtkExtractStructuredGridHelper::GetSize(int dim)
247{
248 assert("pre: dimension dim is out-of-bounds!" && (dim >= 0) && (dim < 3));
249 return (static_cast<int>(this->IndexMap->Mapping[dim].size()));
250}
251VTK_ABI_NAMESPACE_END
252
253//------------------------------------------------------------------------------

Callers 3

GetMappedIndexMethod · 0.95
ComputeBeginAndEndMethod · 0.95

Calls 2

assertFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected