Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'V9_11_BR'
[modules/shaper.git]
/
src
/
SketchAPI
/
SketchAPI_Offset.h
diff --git
a/src/SketchAPI/SketchAPI_Offset.h
b/src/SketchAPI/SketchAPI_Offset.h
index 13e105686325b2f69cc9714af4767cc3dd166a4f..ca87685df3ab962b9f914ac37384edd6725065ce 100644
(file)
--- a/
src/SketchAPI/SketchAPI_Offset.h
+++ b/
src/SketchAPI/SketchAPI_Offset.h
@@
-1,4
+1,4
@@
-// Copyright (C) 2014-202
1 CEA/DEN, EDF R&D
+// Copyright (C) 2014-202
3 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@
-50,12
+50,14
@@
public:
SketchAPI_Offset(const std::shared_ptr<ModelAPI_Feature> & theFeature,
const std::list<std::shared_ptr<ModelAPI_Object> > & theObjects,
const ModelHighAPI_Double & theOffsetValue,
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(),
+ const bool theIsApprox = false);
/// Destructor
SKETCHAPI_EXPORT
virtual ~SketchAPI_Offset();
/// Destructor
SKETCHAPI_EXPORT
virtual ~SketchAPI_Offset();
- INTERFACE_
3
(SketchPlugin_Offset::ID(),
+ INTERFACE_
5
(SketchPlugin_Offset::ID(),
edgesList, SketchPlugin_Offset::EDGES_ID(),
ModelAPI_AttributeRefList, /** Offset edges list */,
edgesList, SketchPlugin_Offset::EDGES_ID(),
ModelAPI_AttributeRefList, /** Offset edges list */,
@@
-64,6
+66,12
@@
public:
ModelAPI_AttributeDouble, /** Value */,
reversed, SketchPlugin_Offset::REVERSED_ID(),
ModelAPI_AttributeDouble, /** Value */,
reversed, SketchPlugin_Offset::REVERSED_ID(),
+ ModelAPI_AttributeBoolean, /** Negative value */,
+
+ joint, SketchPlugin_Offset::JOINT_ID(),
+ ModelAPI_AttributeString, /** Joint type */,
+
+ approx, SketchPlugin_Offset::APPROX_ID(),
ModelAPI_AttributeBoolean, /** Negative value */
)
ModelAPI_AttributeBoolean, /** Negative value */
)