Salome HOME
Provide On Plane filter and reading of validators for filters GUI definition
[modules/shaper.git] / src / GeomValidators / GeomValidators_ShapeType.cpp
index 44d9fe27f3730a391fdfc9ba1609d46cc8084bb8..963f53c9a12cc8851eae20fac69e1af0cd8aba68 100644 (file)
@@ -293,6 +293,9 @@ bool GeomValidators_ShapeType::isValidShape(const GeomShapePtr theShape,
     case Shell:
       aValid = theShape->shapeType() == GeomAPI_Shape::SHELL;
       break;
+    case Plane:
+      aValid = theShape->isPlanar();
+      break;
     case Solid:
       aValid = theShape->isSolid() || theShape->isCompSolid() ||
                theShape->isCompoundOfSolids();