-// Copyright (C) 2014-2019 CEA/DEN, EDF R&D
+// Copyright (C) 2014-2023 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
SketchAPI_Offset(const std::shared_ptr<ModelAPI_Feature> & theFeature,
const std::list<std::shared_ptr<ModelAPI_Object> > & theObjects,
const ModelHighAPI_Double & theOffsetValue,
- bool theIsReversed);
+ const bool theIsReversed = false,
+ const std::string & theJointType = SketchPlugin_Offset::JOINT_KEEP_DISTANCE());
/// Destructor
SKETCHAPI_EXPORT
virtual ~SketchAPI_Offset();
- INTERFACE_3(SketchPlugin_Offset::ID(),
+ INTERFACE_4(SketchPlugin_Offset::ID(),
edgesList, SketchPlugin_Offset::EDGES_ID(),
ModelAPI_AttributeRefList, /** Offset edges list */,
ModelAPI_AttributeDouble, /** Value */,
reversed, SketchPlugin_Offset::REVERSED_ID(),
- ModelAPI_AttributeBoolean, /** Negative value */
+ ModelAPI_AttributeBoolean, /** Negative value */,
+
+ joint, SketchPlugin_Offset::JOINT_ID(),
+ ModelAPI_AttributeString, /** Joint type */
)
/// List of created objects