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

Method IsHomogeneous

Common/DataModel/vtkCellArray.cxx:1513–1522  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1511
1512//------------------------------------------------------------------------------
1513vtkIdType vtkCellArray::IsHomogeneous() const
1514{
1515 if (this->IsStorageFixedSize32Bit() || this->IsStorageFixedSize64Bit())
1516 {
1517 return this->GetNumberOfCells() == 0 ? 0 : this->GetCellSize(0);
1518 }
1519 vtkIdType isHomogeneous;
1520 this->Dispatch(IsHomogeneousImpl{}, isHomogeneous);
1521 return isHomogeneous;
1522}
1523VTK_ABI_NAMESPACE_END

Callers 12

IsHomogeneousFunction · 0.45
TestIsHomogeneousFunction · 0.45
RequestDataMethod · 0.45
RequestDataMethod · 0.45
RequestDataMethod · 0.45

Calls 3

GetNumberOfCellsMethod · 0.45
GetCellSizeMethod · 0.45
DispatchMethod · 0.45

Tested by 1

TestIsHomogeneousFunction · 0.36