-// Copyright (C) 2014-2019 CEA/DEN, EDF R&D
+// Copyright (C) 2014-2022 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
#include <GeomValidators_DifferentShapes.h>
#include <GeomValidators_Face.h>
#include <GeomValidators_Finite.h>
+#include <GeomValidators_GlobalSelection.h>
#include <GeomValidators_ShapeType.h>
#include <GeomValidators_ZeroOffset.h>
#include <GeomValidators_FeatureKind.h>
aFactory->registerValidator("GeomValidators_Intersected", new GeomValidators_Intersected);
aFactory->registerValidator("GeomValidators_NotSelfIntersected",
new GeomValidators_NotSelfIntersected);
+ aFactory->registerValidator("GeomValidators_GlobalSelection", new GeomValidators_GlobalSelection);
- // register this plugin
- ModelAPI_Session::get()->registerPlugin(this);
+ // Do not register this plugin because it doesn't create features
+ //ModelAPI_Session::get()->registerPlugin(this);
}
FeaturePtr GeomValidators_Plugin::createFeature(std::string theFeatureID)