Salome HOME
projects
/
modules
/
shaper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
faaea2f
)
Fix compilation error on Linux
author
azv
<azv@opencascade.com>
Tue, 26 Dec 2017 12:03:36 +0000
(15:03 +0300)
committer
azv
<azv@opencascade.com>
Tue, 26 Dec 2017 12:03:36 +0000
(15:03 +0300)
src/SketchPlugin/SketchPlugin_Fillet.cpp
patch
|
blob
|
history
diff --git
a/src/SketchPlugin/SketchPlugin_Fillet.cpp
b/src/SketchPlugin/SketchPlugin_Fillet.cpp
index 3916cfb35e1a343b4171f63302a320a779c7d957..544ea99d65dbc6655d71150f48401d8273012d09 100644
(file)
--- a/
src/SketchPlugin/SketchPlugin_Fillet.cpp
+++ b/
src/SketchPlugin/SketchPlugin_Fillet.cpp
@@
-348,18
+348,19
@@
FeaturePtr SketchPlugin_Fillet::createFilletApex(const GeomPnt2dPtr& theCoordina
return anApex;
}
return anApex;
}
+struct Length {
+ AttributePtr myPoints[2];
+ std::string myValueText;
+ double myValueDouble;
+ GeomPnt2dPtr myFlyoutPoint;
+ int myLocationType;
+};
+
void SketchPlugin_Fillet::removeReferencesButKeepDistances(
std::set<FeaturePtr>& theFeaturesToRemove,
const AttributePoint2DPtr theFilletPoints[2])
{
FeaturePtr aFilletApex;
void SketchPlugin_Fillet::removeReferencesButKeepDistances(
std::set<FeaturePtr>& theFeaturesToRemove,
const AttributePoint2DPtr theFilletPoints[2])
{
FeaturePtr aFilletApex;
- struct Length {
- AttributePtr myPoints[2];
- std::string myValueText;
- double myValueDouble;
- GeomPnt2dPtr myFlyoutPoint;
- int myLocationType;
- };
std::list<Length> aLengthToDistance;
std::set<FeaturePtr>::iterator aFeat = theFeaturesToRemove.begin();
std::list<Length> aLengthToDistance;
std::set<FeaturePtr>::iterator aFeat = theFeaturesToRemove.begin();