From: spo Date: Wed, 25 Nov 2015 08:11:45 +0000 (+0300) Subject: Spell-checking X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=199f44b3ac323a8fb01cdfdc63be89627e2a6b02;p=modules%2Fshaper.git Spell-checking --- diff --git a/src/ConnectorPlugin/ConnectorPlugin_ExportFeature.py b/src/ConnectorPlugin/ConnectorPlugin_ExportFeature.py index 1e8f81488..e2fcc921b 100644 --- a/src/ConnectorPlugin/ConnectorPlugin_ExportFeature.py +++ b/src/ConnectorPlugin/ConnectorPlugin_ExportFeature.py @@ -41,7 +41,7 @@ class ExportFeature(ModelAPI.ModelAPI_Feature): def getKind(self): return ExportFeature.ID() - ## This feature is action: has no property pannel and executes immideately. + ## This feature is action: has no property pannel and executes immediately. def isAction(self): return True diff --git a/src/Events/Events_Loop.h b/src/Events/Events_Loop.h index c1c5f2977..f5d092551 100644 --- a/src/Events/Events_Loop.h +++ b/src/Events/Events_Loop.h @@ -24,7 +24,7 @@ class Events_MessageGroup; * One per application, initialized on start. Listeners must register in this loop * to get events, called by senders. Sending of events is very fast (just adding to container). * Performing of events is processed in separated thread, so, sender takes - * control back immideately. + * control back immediately. */ class Events_Loop { diff --git a/src/FeaturesPlugin/FeaturesPlugin_Placement.h b/src/FeaturesPlugin/FeaturesPlugin_Placement.h index 498a771b2..895403775 100644 --- a/src/FeaturesPlugin/FeaturesPlugin_Placement.h +++ b/src/FeaturesPlugin/FeaturesPlugin_Placement.h @@ -21,7 +21,7 @@ class GeomAPI_Shape; * * Locates the selected placement_attractable_object (face, edge, vertex) of the solid into * the selected placement_base_object. Faces must be planar, edges must be linear. - * Orientation of the placed solid depends on the underlied planes of both faces. + * Orientation of the placed solid depends on the underlying planes of both faces. */ class FeaturesPlugin_Placement : public ModelAPI_Feature { diff --git a/src/GeomAPI/GeomAPI_Shape.h b/src/GeomAPI/GeomAPI_Shape.h index 9d2b8b278..b2018a7da 100644 --- a/src/GeomAPI/GeomAPI_Shape.h +++ b/src/GeomAPI/GeomAPI_Shape.h @@ -42,7 +42,7 @@ public: /// geometry and no sub-shapes. GEOMAPI_EXPORT std::shared_ptr emptyCopied() const; - /// Returns true if the underlied shape is null + /// Returns true if the underlying shape is null GEOMAPI_EXPORT bool isNull() const; diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_CompoundBuilder.h b/src/GeomAlgoAPI/GeomAlgoAPI_CompoundBuilder.h index 36caf8779..89c673dc4 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_CompoundBuilder.h +++ b/src/GeomAlgoAPI/GeomAlgoAPI_CompoundBuilder.h @@ -23,7 +23,7 @@ class GEOMALGOAPI_EXPORT GeomAlgoAPI_CompoundBuilder { public: - /// Creates compund of the given shapes + /// Creates compound of the given shapes /// \param theShapes a list of shapes static std::shared_ptr compound( std::list > theShapes); diff --git a/src/Model/Model_AttributeSelection.cpp b/src/Model/Model_AttributeSelection.cpp index c672ed47e..bf9e187cc 100644 --- a/src/Model/Model_AttributeSelection.cpp +++ b/src/Model/Model_AttributeSelection.cpp @@ -61,7 +61,7 @@ using namespace std; #ifdef DEB_NAMING #include #endif -/// added to the index in the packed map to signalize that the vertex of edge is selected +/// Added to the index in the packed map to signalize that the vertex of edge is selected /// (multiplied by the index of the edge) static const int kSTART_VERTEX_DELTA = 1000000; // identifier that there is simple reference: selection equals to context @@ -305,7 +305,7 @@ ResultPtr Model_AttributeSelection::context() { if (aPart.get() && aPart->data() == aResult->data()) { ResultPtr aPartResult = std::dynamic_pointer_cast(aPart); FeaturePtr anOwnerFeature = std::dynamic_pointer_cast(owner()); - // check that this result is not this-feature result (it is forbidden t oselect itself) + // check that this result is not this-feature result (it is forbidden to select itself) if (anOwnerFeature.get() && anOwnerFeature->firstResult() != aPartResult) { return aPartResult; } @@ -340,7 +340,7 @@ TDF_LabelMap& Model_AttributeSelection::scope() aCompositeOwnerOwner = ModelAPI_Tools::compositeOwner(aCompositeOwner); } } - // for group Scope is not limitet: this is always up to date objects + // for group Scope is not limited: this is always up to date objects bool isGroup = aFeature.get() && aFeature->getKind() == "Group"; for(; aFIter != allFeatures.end(); aFIter++) { if (*aFIter == owner()) { // the left features are created later (except subs of composite) @@ -539,7 +539,7 @@ bool Model_AttributeSelection::update() if (allCurves.IsBound(aCurve)) { aFound++; int anOrient = allCurves.Find(aCurve); - if (anOrient != 0) { // extra comparision score is orientation + if (anOrient != 0) { // extra comparison score is orientation if (edgeOrientation(aFace, anEdge) == anOrient) aSameOrientation++; } diff --git a/src/Model/Model_AttributeSelection.h b/src/Model/Model_AttributeSelection.h index 5c7d3c358..4908b5fe0 100644 --- a/src/Model/Model_AttributeSelection.h +++ b/src/Model/Model_AttributeSelection.h @@ -30,7 +30,7 @@ public: /// \param theContext object where the sub-shape was selected /// \param theSubShape selected sub-shape (if null, the whole context is selected) /// \param theTemporarily if it is true, do not store and name the added in the data framework - /// (used to remove immideately, without the following updates) + /// (used to remove immediately, without the following updates) MODEL_EXPORT virtual void setValue( const ResultPtr& theContext, const std::shared_ptr& theSubShape, const bool theTemporarily = false); @@ -44,27 +44,27 @@ public: /// Sets the feature object MODEL_EXPORT virtual void setObject(const std::shared_ptr& theObject); - /// Updates the underlied selection due to the changes in the referenced objects + /// Updates the underlying selection due to the changes in the referenced objects /// \returns false if update is failed MODEL_EXPORT virtual bool update(); /// Returns a textual string of the selection /// \param theDefaultValue a name, which is returned if the naming name can not be obtained MODEL_EXPORT virtual std::string namingName(const std::string& theDefaultValue = ""); - + /// Returns an Id of the selection /// NOTE: This method has been added for temporary export of groups towards old GEOM /// It should then be removed when a direct use of objects from SHAPER /// will be possible from SMESH module of SALOME. MODEL_EXPORT virtual int Id(); - /// Selects (i.e. creates Naming data structure) of sub-shape specifed by textual name + /// Selects (i.e. creates Naming data structure) of sub-shape specified by textual name MODEL_EXPORT virtual void selectSubShape(const std::string& theType, const std::string& theSubShapeName); /// Returns true if attribute was initialized by some value MODEL_EXPORT virtual bool isInitialized(); - /// Returns true if recomute of selection become impossible + /// Returns true if recompute of selection become impossible MODEL_EXPORT virtual bool isInvalid(); @@ -85,7 +85,7 @@ protected: /// \param theContext the result - owner of the selection /// \param theSubShape selected shape /// \param theUpdate flag that shows that it must be just update, theShape is null - /// \returns true if eveything is selected correctly + /// \returns true if everything is selected correctly virtual bool selectPart( const ResultPtr& theContext, const std::shared_ptr& theSubShape, const bool theUpdate = false); diff --git a/src/Model/Model_AttributeSelectionList.h b/src/Model/Model_AttributeSelectionList.h index 3c6317d5a..ac7af6645 100644 --- a/src/Model/Model_AttributeSelectionList.h +++ b/src/Model/Model_AttributeSelectionList.h @@ -35,7 +35,7 @@ public: /// \param theContext object where the sub-shape was selected /// \param theSubShape selected sub-shape (if null, the whole context is selected) /// \param theTemporarily if it is true, do not store and name the added in the data framework - /// (used to remove immideately, without the following updates) + /// (used to remove immediately, without the following updates) MODEL_EXPORT virtual void append( const ResultPtr& theContext, const std::shared_ptr& theSubShape, const bool theTemporarily = false); @@ -51,7 +51,7 @@ public: /// \param theIndices a list of indices of elements to be removed MODEL_EXPORT virtual void remove(const std::set& theIndices); - /// Returns the number ofselection attributes in the list + /// Returns the number of selection attributes in the list MODEL_EXPORT virtual int size(); /// Returns true if the object with the shape are in list diff --git a/src/Model/Model_Data.cpp b/src/Model/Model_Data.cpp index 402dbd679..ca24a8c85 100644 --- a/src/Model/Model_Data.cpp +++ b/src/Model/Model_Data.cpp @@ -428,7 +428,7 @@ void Model_Data::removeBackReference(AttributePtr theAttr) myRefsToMe.erase(theAttr); - // remove concealment immideately: on deselection it must be posible to reselect in GUI the same + // remove concealment immediately: on deselection it must be posible to reselect in GUI the same FeaturePtr aFeatureOwner = std::dynamic_pointer_cast(theAttr->owner()); if (aFeatureOwner.get() && ModelAPI_Session::get()->validators()->isConcealed(aFeatureOwner->getKind(), theAttr->id())) { diff --git a/src/Model/Model_Document.cpp b/src/Model/Model_Document.cpp index ebc4de9d8..7bb91db08 100755 --- a/src/Model/Model_Document.cpp +++ b/src/Model/Model_Document.cpp @@ -1032,7 +1032,7 @@ void Model_Document::setCurrentFeature( ModelAPI_EventCreator::get()->sendUpdated(anIter, aRedispEvent /*, false*/); aWasChanged = true; } - // update for everyone the concealment flag immideately: on edit feature in the midle of history + // update for everyone the concealment flag immediately: on edit feature in the midle of history if (aWasChanged) { std::list aResults; ModelAPI_Tools::allResults(anIter, aResults); diff --git a/src/ModelAPI/ModelAPI_AttributeSelection.h b/src/ModelAPI/ModelAPI_AttributeSelection.h index 896b00759..1af82645e 100644 --- a/src/ModelAPI/ModelAPI_AttributeSelection.h +++ b/src/ModelAPI/ModelAPI_AttributeSelection.h @@ -22,7 +22,7 @@ class ModelAPI_AttributeSelection : public ModelAPI_Attribute /// \param theContext object where the sub-shape was selected /// \param theSubShape selected sub-shape (if null, the whole context is selected) /// \param theTemporarily if it is true, do not store and name the added in the data framework - /// (used to remove immideately, without the following updates) + /// (used to remove immediately, without the following updates) virtual void setValue( const ResultPtr& theContext, const std::shared_ptr& theSubShape, const bool theTemporarily = false) = 0; @@ -33,7 +33,7 @@ class ModelAPI_AttributeSelection : public ModelAPI_Attribute /// Returns the context of the selection (the whole shape owner) virtual ResultPtr context() = 0; - /// Updates the underlied selection due to the changes in the referenced objects + /// Updates the underlying selection due to the changes in the referenced objects /// \returns false if update is failed virtual bool update() = 0;