------------------------------------------------------------------------------
| 1821 | |
| 1822 | //------------------------------------------------------------------------------ |
| 1823 | int vtkUnstructuredGrid::IsHomogeneous() |
| 1824 | { |
| 1825 | if (this->Types && this->Types->GetMaxId() >= 0) |
| 1826 | { |
| 1827 | if (vtkConstantArray<unsigned char>::FastDownCast(this->GetCellTypes())) |
| 1828 | { |
| 1829 | return 1; |
| 1830 | } |
| 1831 | return this->GetDistinctCellTypesArray()->GetNumberOfValues() == 1 ? 1 : 0; |
| 1832 | } |
| 1833 | return 0; |
| 1834 | } |
| 1835 | |
| 1836 | //------------------------------------------------------------------------------ |
| 1837 | // Fill container with indices of cells which match given type. |
nothing calls this directly
no test coverage detected