+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
// File: ModelAPI_Tools.cpp
// Created: 06 Aug 2014
// Author: Vitaly Smetannikov
std::shared_ptr<GeomAPI_Shape> shape(const ResultPtr& theResult)
{
-
+/*
ResultBodyPtr aBody = std::dynamic_pointer_cast<ModelAPI_ResultBody>(theResult);
if (aBody)
return aBody->shape();
if (aGroup)
return aGroup->shape();
return std::shared_ptr<GeomAPI_Shape>();
+ */
+ return theResult->shape();
}
}