------------------------------------------------------------------------------
| 1511 | |
| 1512 | //------------------------------------------------------------------------------ |
| 1513 | vtkIdType 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 | } |
| 1523 | VTK_ABI_NAMESPACE_END |