MyShapeTypes["face"] = Face;
MyShapeTypes["solid"] = Solid;
MyShapeTypes["plane"] = Plane;
+ MyShapeTypes["shell"] = Shell;
}
std::string aType = std::string(theType.c_str());
if (MyShapeTypes.find(aType) != MyShapeTypes.end())
aValid = theShape->isSolid() || theShape->isCompSolid() ||
theShape->isCompoundOfSolids();
break;
+ case Shell:
+ aValid = theShape->shapeType() == GeomAPI_Shape::SHELL;
case Compound:
aValid = theShape->isCompound();
break;