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();
}
}