X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFiltersPlugin%2FFiltersPlugin_OnPlane.h;h=7221cdd9cca9800bacdefd6bb72fac545ee93ab9;hb=e466624749375b6ead3e8a8ded26bf29ea9325ae;hp=62fccd1fc7bb4f56b8dee528054ef5eb20b3a9bf;hpb=a47af7109078eea1a585d1f10a176f16ab838b87;p=modules%2Fshaper.git diff --git a/src/FiltersPlugin/FiltersPlugin_OnPlane.h b/src/FiltersPlugin/FiltersPlugin_OnPlane.h index 62fccd1fc..7221cdd9c 100644 --- a/src/FiltersPlugin/FiltersPlugin_OnPlane.h +++ b/src/FiltersPlugin/FiltersPlugin_OnPlane.h @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2019 CEA/DEN, EDF R&D +// Copyright (C) 2014-2024 CEA, EDF // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -41,6 +41,9 @@ 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