-// Copyright (C) 2014-2019 CEA/DEN, EDF R&D
+// Copyright (C) 2014-2020 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 "BuildPlugin.h"
#include <ModelAPI_Feature.h>
+#include <GeomAPI_Shape.h>
/// \class BuildPlugin_Vertex
/// \ingroup Plugins
return MY_BASE_OBJECTS_ID;
}
+ /// Attribute name of "Compute intersections" checkbox.
+ inline static const std::string& INTERSECT_ID()
+ {
+ static const std::string MY_INTERSECT_ID("intersect");
+ return MY_INTERSECT_ID;
+ }
+
/// \return the kind of a feature.
BUILDPLUGIN_EXPORT virtual const std::string& getKind()
{
/// Creates a new part document if needed.
BUILDPLUGIN_EXPORT virtual void execute();
+
+protected:
+ void buildVertices(const ListOfShape& theShapes, bool isIntersect);
};
#endif