-// Copyright (C) 2014-2019 CEA/DEN, EDF R&D
+// Copyright (C) 2014-2023 CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
/// Returns true for any type because it supports all selection types
virtual bool isSupported(GeomAPI_Shape::ShapeType theType) const override;
+ /// Returns True if the filter can be used several times within one selection
+ virtual bool isMultiple() const { return true; }
+
/// This method should contain the filter logic. It returns true if the given shape
/// is accepted by the filter.
/// \param theShape the given shape
- virtual bool isOk(const GeomShapePtr& theShape,
+ /// \param theArgs arguments of the filter
+ virtual bool isOk(const GeomShapePtr& theShape, const ResultPtr&,
const ModelAPI_FiltersArgs& theArgs) const override;
/// Returns XML string which represents GUI of the filter