Fem: Apply clang-format
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <vtkDataSet.h>
|
||||
#include <vtkDataSet.h>
|
||||
#endif
|
||||
|
||||
#include "FemPostObject.h"
|
||||
@@ -42,13 +42,15 @@ FemPostObject::FemPostObject()
|
||||
|
||||
FemPostObject::~FemPostObject() = default;
|
||||
|
||||
vtkBoundingBox FemPostObject::getBoundingBox() {
|
||||
vtkBoundingBox FemPostObject::getBoundingBox()
|
||||
{
|
||||
|
||||
vtkBoundingBox box;
|
||||
|
||||
vtkDataSet* dset = vtkDataSet::SafeDownCast(Data.getValue());
|
||||
if (dset)
|
||||
if (dset) {
|
||||
box.AddBounds(dset->GetBounds());
|
||||
}
|
||||
|
||||
// TODO: add calculation of multiblock and Multipiece datasets
|
||||
|
||||
|
||||
Reference in New Issue
Block a user