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