]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix coding style errors
authorazv <azv@opencascade.com>
Mon, 27 Feb 2017 08:55:11 +0000 (11:55 +0300)
committerazv <azv@opencascade.com>
Mon, 27 Feb 2017 08:55:11 +0000 (11:55 +0300)
src/GeomAlgoAPI/GeomAlgoAPI_ShapeAPI.cpp
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_UpdateCoincidence.cpp
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_UpdateFeature.cpp
src/SketchSolver/SketchSolver_Storage.cpp

index 8b3539c267ef43e2cc1db01ab9431b46a18a556d..090fd30968b522233547ec73bf5e5a2822040632 100644 (file)
@@ -78,7 +78,7 @@ namespace GeomAlgoAPI_ShapeAPI
     if (!theEdge) {
       throw GeomAlgoAPI_Exception("Cylinder builder :: the axis is not valid.");
     }
-    
+
     std::shared_ptr<GeomAPI_Ax2> anAxis;
     anAxis = std::shared_ptr<GeomAPI_Ax2>(new GeomAPI_Ax2(theBasePoint,
                                                           theEdge->line()->direction()));
index 2051952535e52d70c4297ca9dd38dc6ec3ea2976..bc79c7c3e1e7d4fe3194491bb3b37b35be8e1ff5 100644 (file)
@@ -10,7 +10,8 @@
 #include <SketchPlugin_ConstraintCoincidence.h>
 #include <SketchPlugin_ConstraintMiddle.h>
 
-void PlaneGCSSolver_UpdateCoincidence::attach(SketchSolver_Constraint* theObserver, const std::string& theType)
+void PlaneGCSSolver_UpdateCoincidence::attach(SketchSolver_Constraint* theObserver,
+                                              const std::string& theType)
 {
   if (theType == GROUP()) {
     std::list<SketchSolver_Constraint*>::iterator aPlaceToAdd = myObservers.end();
index 5ff77f8f383e03d0df4c25c2760fdaf475642c56..10f308878132298241fda9ea3abbe92c5caa25e4 100644 (file)
@@ -7,7 +7,8 @@
 #include <PlaneGCSSolver_UpdateFeature.h>
 #include <SketchSolver_Constraint.h>
 
-void PlaneGCSSolver_UpdateFeature::attach(SketchSolver_Constraint* theObserver, const std::string& theType)
+void PlaneGCSSolver_UpdateFeature::attach(SketchSolver_Constraint* theObserver,
+                                          const std::string& theType)
 {
   if (theType == GROUP())
     myObservers.push_back(theObserver);
index 81714314f264bd8c0b95dbc3d286a9c61752c4c7..7c6f87be0f06df201a153eb7c9bb7b1d4757a125 100644 (file)
@@ -44,7 +44,8 @@ void SketchSolver_Storage::addConstraint(ConstraintPtr        theConstraint,
 ////        theConstraint->data()->attributes(ModelAPI_AttributeRefAttr::typeId());
 ////    std::list<AttributePtr>::const_iterator anAttrIt = aRefAttrs.begin();
 ////    for (; anAttrIt != aRefAttrs.end(); ++anAttrIt) {
-////      AttributeRefAttrPtr aRef = std::dynamic_pointer_cast<ModelAPI_AttributeRefAttr>(*anAttrIt);
+////      AttributeRefAttrPtr aRef =
+////          std::dynamic_pointer_cast<ModelAPI_AttributeRefAttr>(*anAttrIt);
 ////      if (aRef->isObject()) {
 ////        FeaturePtr aFeature = ModelAPI_Feature::feature(aRef->object());
 ////        if (aFeature) addEntity(aFeature, EntityWrapperPtr());
@@ -54,7 +55,8 @@ void SketchSolver_Storage::addConstraint(ConstraintPtr        theConstraint,
 ////    std::list<AttributePtr> aRefLists =
 ////        theConstraint->data()->attributes(ModelAPI_AttributeRefList::typeId());
 ////    for (anAttrIt = aRefLists.begin(); anAttrIt != aRefLists.end(); ++anAttrIt) {
-////      AttributeRefListPtr aRef = std::dynamic_pointer_cast<ModelAPI_AttributeRefList>(*anAttrIt);
+////      AttributeRefListPtr aRef =
+////          std::dynamic_pointer_cast<ModelAPI_AttributeRefList>(*anAttrIt);
 ////      std::list<ObjectPtr> anObj = aRef->list();
 ////      std::list<ObjectPtr>::iterator anIt = anObj.begin();
 ////      for (; anIt != anObj.end(); ++anIt) {