cleanup whitespace

This commit is contained in:
papush! 2022-03-16 12:55:15 +01:00
parent a60191b068
commit ffe5a68504

View File

@ -30,10 +30,10 @@ vtkTypeBool RelaxationFilter::RequestData(
std::set<vtkIdType> neighbors; std::set<vtkIdType> neighbors;
output->BuildLinks(); output->BuildLinks();
double avg[3]; double avg[3];
for (vtkIdType i = 0; i < output->GetNumberOfPoints(); i++) { for (vtkIdType i = 0; i < output->GetNumberOfPoints(); i++) {
if (!isSurface->GetValue(i)) continue; if (!isSurface->GetValue(i)) continue;
output->GetPointCells(i, neighborCells); output->GetPointCells(i, neighborCells);
if (neighborCells->GetNumberOfIds() != 0) { if (neighborCells->GetNumberOfIds() != 0) {
@ -70,7 +70,7 @@ vtkTypeBool RelaxationFilter::RequestData(
neighborCells->Reset(); neighborCells->Reset();
neighbors.clear(); neighbors.clear();
} }
output->SetPoints(newPoints); output->SetPoints(newPoints);
return true; return true;
} }