------------------------------------------------------------------------------
| 495 | |
| 496 | //------------------------------------------------------------------------------ |
| 497 | int vtkDataSet::GetMinSpatialDimension() |
| 498 | { |
| 499 | vtkNew<vtkCellTypes> cellTypes; |
| 500 | this->GetDistinctCellTypes(cellTypes); |
| 501 | int minDim = 3; |
| 502 | for (vtkIdType i = 0; i < cellTypes->GetNumberOfTypes(); ++i) |
| 503 | { |
| 504 | minDim = std::min(vtkCellTypeUtilities::GetDimension(cellTypes->GetCellType(i)), minDim); |
| 505 | } |
| 506 | return minDim; |
| 507 | } |
| 508 | |
| 509 | //------------------------------------------------------------------------------ |
| 510 | void vtkDataSet::SetCellOrderAndRationalWeights(vtkIdType cellId, vtkGenericCell* cell) |
no test coverage detected