cleanup whitespace
This commit is contained in:
parent
a60191b068
commit
ffe5a68504
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user