From b4c1887ab3b6b5a3385ce716bfea4745a0020d7c Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 4 Dec 2017 14:42:45 +0300 Subject: [PATCH] Typo-fix by Kunda http://www.salome-platform.org/forum/forum_9/948131982/228851081 --- src/GEOM_SWIG/geomBuilder.py | 46 +++++++++---------- src/GEOM_SWIG/gsketcher.py | 2 +- src/GEOM_SWIG_WITHIHM/libGEOM_Swig.cxx | 4 +- src/GroupGUI/GroupGUI_GroupDlg.cxx | 2 +- .../MeasureGUI_AnnotationInteractor.h | 2 +- .../MeasureGUI_DimensionCreateTool.cxx | 4 +- .../MeasureGUI_ManageDimensionsDlg.cxx | 4 +- src/MeasureGUI/MeasureGUI_Skeleton.cxx | 2 +- src/OBJECT/GEOM_Annotation.hxx | 2 +- src/RepairGUI/RepairGUI.cxx | 2 +- src/RepairGUI/RepairGUI_GlueDlg.cxx | 2 +- src/RepairGUI/RepairGUI_LimitToleranceDlg.cxx | 2 +- src/RepairGUI/RepairGUI_ShapeProcessDlg.cxx | 2 +- src/STEPPlugin/STEPPlugin_ExportDriver.cxx | 2 +- src/STLPlugin/STLPlugin_ExportDriver.cxx | 2 +- .../ShHealOper_ChangeOrientation.hxx | 4 +- src/ShHealOper/ShHealOper_CloseContour.cxx | 2 +- src/ShHealOper/ShHealOper_CloseContour.hxx | 2 +- src/ShHealOper/ShHealOper_EdgeDivide.cxx | 4 +- src/ShHealOper/ShHealOper_EdgeDivide.hxx | 2 +- src/ShHealOper/ShHealOper_FillHoles.cxx | 2 +- src/ShHealOper/ShHealOper_FillHoles.hxx | 2 +- src/ShHealOper/ShHealOper_RemoveFace.hxx | 2 +- .../ShHealOper_RemoveInternalWires.hxx | 4 +- src/ShHealOper/ShHealOper_Sewing.hxx | 4 +- src/ShHealOper/ShHealOper_Tool.hxx | 2 +- .../ShapeRec_FeatureDetector.cxx | 2 +- src/VTKPlugin/VTKPlugin_ExportDriver.cxx | 4 +- src/XAO/XAO_BrepGeometry.cxx | 2 +- src/XAO/XAO_Field.hxx | 2 +- 30 files changed, 60 insertions(+), 60 deletions(-) diff --git a/src/GEOM_SWIG/geomBuilder.py b/src/GEOM_SWIG/geomBuilder.py index 5de7403b3..d8945d2fc 100644 --- a/src/GEOM_SWIG/geomBuilder.py +++ b/src/GEOM_SWIG/geomBuilder.py @@ -123,7 +123,7 @@ ## vertices = geompy.SubShapeAll(box, geomBuilder.ShapeType['VERTEX']) ## # only 5 first vertices will be published, with default names ## print len(vertices) -## # note, that result value still containes all 8 vertices +## # note, that result value still contains all 8 vertices ## geompy.addToStudyAuto(-1) # disable automatic publication ## @endcode ## @@ -976,7 +976,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen): # in place of sub-shapes of the first argument, # because the whole shape corresponds to the first argument. # Mainly to be used after transformations, but it also can be - # usefull after partition with one object shape, and some other + # useful after partition with one object shape, and some other # operations, where only the first argument has to be considered. # If theObject has only one argument shape, this flag is automatically # considered as True, not regarding really passed value. @@ -1002,7 +1002,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen): in place of sub-shapes of the first argument, because the whole shape corresponds to the first argument. Mainly to be used after transformations, but it also can be - usefull after partition with one object shape, and some other + useful after partition with one object shape, and some other operations, where only the first argument has to be considered. If theObject has only one argument shape, this flag is automatically considered as True, not regarding really passed value. @@ -1027,7 +1027,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen): # in place of sub-shapes of the first argument, # because the whole shape corresponds to the first argument. # Mainly to be used after transformations, but it also can be - # usefull after partition with one object shape, and some other + # useful after partition with one object shape, and some other # operations, where only the first argument has to be considered. # If theObject has only one argument shape, this flag is automatically # considered as True, not regarding really passed value. @@ -1053,7 +1053,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen): in place of sub-shapes of the first argument, because the whole shape corresponds to the first argument. Mainly to be used after transformations, but it also can be - usefull after partition with one object shape, and some other + useful after partition with one object shape, and some other operations, where only the first argument has to be considered. If theObject has only one argument shape, this flag is automatically considered as True, not regarding really passed value. @@ -1560,7 +1560,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen): return anObj ## Create a line, passing through the given point - # and parrallel to the given direction + # and parallel to the given direction # @param thePnt Point. The resulting line will pass through it. # @param theDir Direction. The resulting line will be parallel to it. # @param theName Object name; when specified, this parameter is used @@ -1574,7 +1574,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen): def MakeLine(self, thePnt, theDir, theName=None): """ Create a line, passing through the given point - and parrallel to the given direction + and parallel to the given direction Parameters: thePnt Point. The resulting line will pass through it. @@ -3893,7 +3893,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen): # possible to generate groups along with the result by means of # setting the flag \a IsGenerateGroups.
# If \a thePath is a closed edge or wire and \a IsGenerateGroups is - # set, an error is occured. If \a thePath is not closed edge/wire, + # set, an error is occurred. If \a thePath is not closed edge/wire, # the following groups are returned: # - If \a theBase is unclosed edge or wire: "Down", "Up", "Side1", # "Side2"; @@ -3933,7 +3933,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen): possible to generate groups along with the result by means of setting the flag IsGenerateGroups. If thePath is a closed edge or wire and IsGenerateGroups is - set, an error is occured. If thePath is not closed edge/wire, + set, an error is occurred. If thePath is not closed edge/wire, the following groups are returned: - If theBase is unclosed edge or wire: "Down", "Up", "Side1", "Side2"; @@ -4182,7 +4182,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen): ## Create a shape by extrusion of the profile shape along # the path shape. This function is used only for debug pipe # functionality - it is a version of function MakePipeWithShellSections() - # which give a possibility to recieve information about + # which give a possibility to receive information about # creating pipe between each pair of sections step by step. @ManageTransactions("PrimOp") def MakePipeWithShellSectionsBySteps(self, theSeqBases, theSeqSubBases, @@ -4194,7 +4194,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen): the path shape. This function is used only for debug pipe functionality - it is a version of previous function geompy.MakePipeWithShellSections() which give a possibility to - recieve information about creating pipe between each pair of + receive information about creating pipe between each pair of sections step by step. """ res = [] @@ -7378,7 +7378,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen): # publication is switched on, default value is used for result name. # # @return [\a status, \a theClosedWires, \a theOpenWires] - # \n \a status: FALSE, if an error(s) occured during the method execution. + # \n \a status: FALSE, if an error(s) occurred during the method execution. # \n \a theClosedWires: Closed wires on the free boundary of the given shape. # \n \a theOpenWires: Open wires on the free boundary of the given shape. # @@ -7397,7 +7397,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen): Returns: [status, theClosedWires, theOpenWires] - status: FALSE, if an error(s) occured during the method execution. + status: FALSE, if an error(s) occurred during the method execution. theClosedWires: Closed wires on the free boundary of the given shape. theOpenWires: Open wires on the free boundary of the given shape. """ @@ -8094,7 +8094,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen): # @param ListRemoveInside Shapes, inside which the results will be deleted. # Each shape from theRemoveInside must belong to theShapes also. # @param RemoveWebs If TRUE, perform Glue 3D algorithm. - # @param ListMaterials Material indices for each shape. Make sence, + # @param ListMaterials Material indices for each shape. Make sense, # only if theRemoveWebs is TRUE. # # @return New GEOM.GEOM_Object, containing the result shapes. @@ -8136,7 +8136,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen): ListRemoveInside Shapes, inside which the results will be deleted. Each shape from theRemoveInside must belong to theShapes also. RemoveWebs If TRUE, perform Glue 3D algorithm. - ListMaterials Material indices for each shape. Make sence, only if theRemoveWebs is TRUE. + ListMaterials Material indices for each shape. Make sense, only if theRemoveWebs is TRUE. Returns: New GEOM.GEOM_Object, containing the result shapes. @@ -10277,14 +10277,14 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen): self._autoPublish(anObj, theName, "chamfer") return anObj - ## The Same that MakeChamferFaces() but with params theD is chamfer lenght and + ## The Same that MakeChamferFaces() but with params theD is chamfer length and # theAngle is Angle of chamfer (angle in radians or a name of variable which defines angle in degrees) # # @ref swig_FilletChamfer "Example" @ManageTransactions("LocalOp") def MakeChamferFacesAD(self, theShape, theD, theAngle, theFaces, theName=None): """ - The Same that geompy.MakeChamferFaces but with params theD is chamfer lenght and + The Same that geompy.MakeChamferFaces but with params theD is chamfer length and theAngle is Angle of chamfer (angle in radians or a name of variable which defines angle in degrees) """ flag = False @@ -10335,12 +10335,12 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen): self._autoPublish(anObj, theName, "chamfer") return anObj - ## The Same that MakeChamferEdges() but with params theD is chamfer lenght and + ## The Same that MakeChamferEdges() but with params theD is chamfer length and # theAngle is Angle of chamfer (angle in radians or a name of variable which defines angle in degrees) @ManageTransactions("LocalOp") def MakeChamferEdgesAD(self, theShape, theD, theAngle, theEdges, theName=None): """ - The Same that geompy.MakeChamferEdges but with params theD is chamfer lenght and + The Same that geompy.MakeChamferEdges but with params theD is chamfer length and theAngle is Angle of chamfer (angle in radians or a name of variable which defines angle in degrees) """ flag = False @@ -12769,7 +12769,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen): ## Build all possible propagation groups. # Propagation group is a set of all edges, opposite to one (main) # edge of this group directly or through other opposite edges. - # Notion of Opposite Edge make sence only on quadrangle face. + # Notion of Opposite Edge make sense only on quadrangle face. # @param theShape Shape to build propagation groups on. # @param theName Object name; when specified, this parameter is used # for result publication in the study. Otherwise, if automatic @@ -12784,7 +12784,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen): Build all possible propagation groups. Propagation group is a set of all edges, opposite to one (main) edge of this group directly or through other opposite edges. - Notion of Opposite Edge make sence only on quadrangle face. + Notion of Opposite Edge make sense only on quadrangle face. Parameters: theShape Shape to build propagation groups on. @@ -13209,7 +13209,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen): return aType ## Convert a type of geom object from id to string value - # @param theId is a GEOM obect type id. + # @param theId is a GEOM object type id. # @return type of geom object (POINT, VECTOR, PLANE, LINE, TORUS, ... ) # @ref swig_GetType "Example" def ShapeIdToType(self, theId): @@ -13217,7 +13217,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen): Convert a type of geom object from id to string value Parameters: - theId is a GEOM obect type id. + theId is a GEOM object type id. Returns: type of geom object (POINT, VECTOR, PLANE, LINE, TORUS, ... ) diff --git a/src/GEOM_SWIG/gsketcher.py b/src/GEOM_SWIG/gsketcher.py index 965f17c96..b9f8a5b3e 100644 --- a/src/GEOM_SWIG/gsketcher.py +++ b/src/GEOM_SWIG/gsketcher.py @@ -50,7 +50,7 @@ # # update object browser # salome.sg.updateObjBrowser(True) # @endcode -# @n Additionnal examples can be found as unit tests in the source code. +# @n Additional examples can be found as unit tests in the source code. # @} """ diff --git a/src/GEOM_SWIG_WITHIHM/libGEOM_Swig.cxx b/src/GEOM_SWIG_WITHIHM/libGEOM_Swig.cxx index 9a810d39c..2d3306979 100644 --- a/src/GEOM_SWIG_WITHIHM/libGEOM_Swig.cxx +++ b/src/GEOM_SWIG_WITHIHM/libGEOM_Swig.cxx @@ -432,8 +432,8 @@ void GEOM_Swig::setColor( const char* theEntry, int theRed, int theGreen, int th /*! \brief Set number of iso-lines to the presentation \param theEntry geometry object's entry - \param theNbU number of iso-lines along U axis (interger value >= 0) - \param theNbV number of iso-lines along V axis (interger value >= 0) + \param theNbU number of iso-lines along U axis (integer value >= 0) + \param theNbV number of iso-lines along V axis (integer value >= 0) \param theUpdateViewer \c true to update active view's contents */ void GEOM_Swig::setIsos( const char* theEntry, int theNbU, int theNbV, bool theUpdateViewer ) diff --git a/src/GroupGUI/GroupGUI_GroupDlg.cxx b/src/GroupGUI/GroupGUI_GroupDlg.cxx index a7ce624ec..9566f50f7 100644 --- a/src/GroupGUI/GroupGUI_GroupDlg.cxx +++ b/src/GroupGUI/GroupGUI_GroupDlg.cxx @@ -1029,7 +1029,7 @@ void GroupGUI_GroupDlg::activateSelection() // local selection if (!myMainObj->_is_nil() && !myEditCurrentArgument && - myIsShapeType) // check if shape type is already choosen by user + myIsShapeType) // check if shape type is already chosen by user { GEOM_Displayer* aDisplayer = getDisplayer(); diff --git a/src/MeasureGUI/MeasureGUI_AnnotationInteractor.h b/src/MeasureGUI/MeasureGUI_AnnotationInteractor.h index 21875cc48..37a216463 100755 --- a/src/MeasureGUI/MeasureGUI_AnnotationInteractor.h +++ b/src/MeasureGUI/MeasureGUI_AnnotationInteractor.h @@ -42,7 +42,7 @@ class SUIT_ViewWindow; /*! * \class MeasureGUI_AnnotationInteractor * \brief Class implementing logical layer for interactive dragging of annotation - * labels. It includes two components: listener for GUI events occuring + * labels. It includes two components: listener for GUI events occurring * inside of OCCT 3D viewer and processor for hooked events to perform * interactive modification of the selected annotation within current * AIS context. diff --git a/src/MeasureGUI/MeasureGUI_DimensionCreateTool.cxx b/src/MeasureGUI/MeasureGUI_DimensionCreateTool.cxx index 06d3cba25..47a2f38de 100644 --- a/src/MeasureGUI/MeasureGUI_DimensionCreateTool.cxx +++ b/src/MeasureGUI/MeasureGUI_DimensionCreateTool.cxx @@ -687,7 +687,7 @@ Handle(AIS_DiameterDimension) MeasureGUI_DimensionCreateTool::Diameter( const GE Handle(AIS_DiameterDimension) aDimension = new AIS_DiameterDimension( aRuledCirc, aPln ); // if flyout is extended in tangent direction to circle, the default flyout value is used - // if flyout is extended in plane of circle, the zero flyout value is choosen initially + // if flyout is extended in plane of circle, the zero flyout value is chosen initially Standard_Real aFlyout = aCircN.IsParallel( aPln.Axis().Direction(), Precision::Angular() ) ? 0.0 : Settings.DefaultFlyout; aDimension->SetFlyout(aFlyout); @@ -929,7 +929,7 @@ void MeasureGUI_DimensionCreateTool::PositionLength( const Bnd_Box& theBnd, // flyout plane to best match the current view projection (if any) // The points are aligned to XOY, YOZ, ZOX planes. // The flyout takes into account bounding box of main shape of face normal -// vector. The flyouts tangetial to the circle plane are directed in +// vector. The flyouts tangential to the circle plane are directed in // accordance with the face normal (if not-null), otherwise the flyouts // are turned to direct to the closest border of bounding box. //================================================================================= diff --git a/src/MeasureGUI/MeasureGUI_ManageDimensionsDlg.cxx b/src/MeasureGUI/MeasureGUI_ManageDimensionsDlg.cxx index fa53c1aa0..ed4673e15 100644 --- a/src/MeasureGUI/MeasureGUI_ManageDimensionsDlg.cxx +++ b/src/MeasureGUI/MeasureGUI_ManageDimensionsDlg.cxx @@ -532,7 +532,7 @@ void MeasureGUI_ManageDimensionsDlg::OnSelectItem() //================================================================================= void MeasureGUI_ManageDimensionsDlg::OnShowAll() { - // read propety data + // read property data SalomeApp_Application* anApp = myGeomGUI->getApp(); if ( !anApp ) { @@ -581,7 +581,7 @@ void MeasureGUI_ManageDimensionsDlg::OnShowAll() //================================================================================= void MeasureGUI_ManageDimensionsDlg::OnHideAll() { - // read propety data + // read property data SalomeApp_Application* anApp = myGeomGUI->getApp(); if ( !anApp ) { diff --git a/src/MeasureGUI/MeasureGUI_Skeleton.cxx b/src/MeasureGUI/MeasureGUI_Skeleton.cxx index dcab485c9..dceb80c09 100644 --- a/src/MeasureGUI/MeasureGUI_Skeleton.cxx +++ b/src/MeasureGUI/MeasureGUI_Skeleton.cxx @@ -173,7 +173,7 @@ void MeasureGUI_Skeleton::ClickOnHelp() void MeasureGUI_Skeleton::LineEditReturnPressed() { /* User name of object input management */ - /* If successfull the selection is changed and signal emitted... */ + /* If successful the selection is changed and signal emitted... */ /* so SelectionIntoArgument() is automatically called. */ if ( mySelEdit ) { diff --git a/src/OBJECT/GEOM_Annotation.hxx b/src/OBJECT/GEOM_Annotation.hxx index 00fc80986..1d5439896 100755 --- a/src/OBJECT/GEOM_Annotation.hxx +++ b/src/OBJECT/GEOM_Annotation.hxx @@ -102,7 +102,7 @@ public: //! screen, while its position is a 3D point defined in world's coordinate system. Standard_EXPORT void SetIsScreenFixed( const Standard_Boolean theIsFixed ); - //! Retuns value of "screen fixed" positioning mode. + //! Returns value of "screen fixed" positioning mode. Standard_Boolean GetIsScreenFixed() const { return myIsScreenFixed; } //! Converts annotation position to screen fixed coordinates and diff --git a/src/RepairGUI/RepairGUI.cxx b/src/RepairGUI/RepairGUI.cxx index 663ccdc90..132aad55f 100644 --- a/src/RepairGUI/RepairGUI.cxx +++ b/src/RepairGUI/RepairGUI.cxx @@ -38,7 +38,7 @@ #include "RepairGUI_ShapeProcessDlg.h" // Method PROCESS SHAPE #include "RepairGUI_CloseContourDlg.h" // Method CLOSE CONTOUR #include "RepairGUI_RemoveIntWiresDlg.h"// Method REMOVE INTERNAL WIRES -#include "RepairGUI_DivideEdgeDlg.h" // Method DEVIDE EDGE +#include "RepairGUI_DivideEdgeDlg.h" // Method DIVIDE EDGE #include "RepairGUI_FreeBoundDlg.h" // Method FREE BOUNDARIES #include "RepairGUI_FreeFacesDlg.h" // Method FREE FACES #include "RepairGUI_GlueDlg.h" // Method GLUE FACES diff --git a/src/RepairGUI/RepairGUI_GlueDlg.cxx b/src/RepairGUI/RepairGUI_GlueDlg.cxx index cf4d33ba9..2e178397e 100644 --- a/src/RepairGUI/RepairGUI_GlueDlg.cxx +++ b/src/RepairGUI/RepairGUI_GlueDlg.cxx @@ -592,7 +592,7 @@ void RepairGUI_GlueDlg::clearShapeBufferLocal(GEOM::GEOM_Object_ptr theObj) //================================================================ // Function : onAccept // Purpose : This method should be called from dialog's slots onOk() and onApply() -// It perfroms user input validation, then it +// It performs user input validation, then it // performs a proper operation and manages transactions, etc. //================================================================ bool RepairGUI_GlueDlg::onAcceptLocal() diff --git a/src/RepairGUI/RepairGUI_LimitToleranceDlg.cxx b/src/RepairGUI/RepairGUI_LimitToleranceDlg.cxx index 11ae185f2..5881526bd 100644 --- a/src/RepairGUI/RepairGUI_LimitToleranceDlg.cxx +++ b/src/RepairGUI/RepairGUI_LimitToleranceDlg.cxx @@ -316,7 +316,7 @@ bool RepairGUI_LimitToleranceDlg::execute(ObjectList& objects) //================================================================ // Function : onAccept // Purpose : This method should be called from dialog's slots onOk() and onApply() -// It perfroms user input validation, then it +// It performs user input validation, then it // performs a proper operation and manages transactions, etc. //================================================================ bool RepairGUI_LimitToleranceDlg::onAcceptLocal() diff --git a/src/RepairGUI/RepairGUI_ShapeProcessDlg.cxx b/src/RepairGUI/RepairGUI_ShapeProcessDlg.cxx index 37880e93e..c073038e7 100755 --- a/src/RepairGUI/RepairGUI_ShapeProcessDlg.cxx +++ b/src/RepairGUI/RepairGUI_ShapeProcessDlg.cxx @@ -712,7 +712,7 @@ bool RepairGUI_ShapeProcessDlg::execute( ObjectList& objects ) } if ( !anErrorObjNames.empty() ) - MESSAGE( "ERRORS occured while processing the following objects: " << anErrorObjNames.join( " " ).toLatin1().data() ); + MESSAGE( "ERRORS occurred while processing the following objects: " << anErrorObjNames.join( " " ).toLatin1().data() ); return anErrorObjNames.size() < myObjects->length(); // true if at least one object was OK, false if ALL objects were nil after Healing. } diff --git a/src/STEPPlugin/STEPPlugin_ExportDriver.cxx b/src/STEPPlugin/STEPPlugin_ExportDriver.cxx index c6bfe8580..3c50a64f7 100644 --- a/src/STEPPlugin/STEPPlugin_ExportDriver.cxx +++ b/src/STEPPlugin/STEPPlugin_ExportDriver.cxx @@ -137,7 +137,7 @@ Standard_Integer STEPPlugin_ExportDriver::Execute(LOGBOOK& log) const } catch (Standard_Failure) { - //THROW_SALOME_CORBA_EXCEPTION("Exception catched in STEPExport", SALOME::BAD_PARAM); + //THROW_SALOME_CORBA_EXCEPTION("Exception caught in STEPExport", SALOME::BAD_PARAM); } return 0; } diff --git a/src/STLPlugin/STLPlugin_ExportDriver.cxx b/src/STLPlugin/STLPlugin_ExportDriver.cxx index 3f269f304..d45f7a0fc 100644 --- a/src/STLPlugin/STLPlugin_ExportDriver.cxx +++ b/src/STLPlugin/STLPlugin_ExportDriver.cxx @@ -126,7 +126,7 @@ Standard_Integer STLPlugin_ExportDriver::Execute(LOGBOOK& log) const } catch( Standard_Failure ) { - //THROW_SALOME_CORBA_EXCEPTION("Exception catched in ExportSTL", SALOME::BAD_PARAM); + //THROW_SALOME_CORBA_EXCEPTION("Exception caught in ExportSTL", SALOME::BAD_PARAM); } return 0; } diff --git a/src/ShHealOper/ShHealOper_ChangeOrientation.hxx b/src/ShHealOper/ShHealOper_ChangeOrientation.hxx index 71b27c08c..8c88cbdce 100644 --- a/src/ShHealOper/ShHealOper_ChangeOrientation.hxx +++ b/src/ShHealOper/ShHealOper_ChangeOrientation.hxx @@ -46,10 +46,10 @@ class ShHealOper_ChangeOrientation : public ShHealOper_Tool /// Copy constructor Standard_EXPORT ShHealOper_ChangeOrientation (const TopoDS_Shape& theShape); - //Method for initalization by whole shape. + //Method for initialization by whole shape. Standard_EXPORT virtual void Init(const TopoDS_Shape& theShape); - //Method for initalization by whole shape. + //Method for initialization by whole shape. Standard_EXPORT Standard_Boolean Perform(); //Change orientation diff --git a/src/ShHealOper/ShHealOper_CloseContour.cxx b/src/ShHealOper/ShHealOper_CloseContour.cxx index 5eaa14a8f..37508ce73 100644 --- a/src/ShHealOper/ShHealOper_CloseContour.cxx +++ b/src/ShHealOper/ShHealOper_CloseContour.cxx @@ -136,7 +136,7 @@ void ShHealOper_CloseContour::build(Handle(ShapeExtend_WireData)& theSewd) //checks that all specified edges belong the one face or not. Standard_Boolean isOneFace = checkOneFace(theSewd,aCommonFaces); - //add edge or increase max tolerance in dependance on specified VertexMode. + //add edge or increase max tolerance in dependence on specified VertexMode. //if all edges belong the one face that gap will be closed in the 2D by line //else gap will be closed in the 3D by line. myDone = fixGaps(theSewd,aCommonFaces); diff --git a/src/ShHealOper/ShHealOper_CloseContour.hxx b/src/ShHealOper/ShHealOper_CloseContour.hxx index d8d9d3389..94b189bba 100644 --- a/src/ShHealOper/ShHealOper_CloseContour.hxx +++ b/src/ShHealOper/ShHealOper_CloseContour.hxx @@ -51,7 +51,7 @@ class ShHealOper_CloseContour : public ShHealOper_Tool //Initalizes by whole shape. Standard_EXPORT virtual void Init(const TopoDS_Shape& theShape); - //Method for initalization by whole shape. + //Method for initialization by whole shape. Standard_EXPORT Standard_Boolean Perform(const TopTools_SequenceOfShape& theSeqEdges, const Standard_Boolean theModeVertex = Standard_False, diff --git a/src/ShHealOper/ShHealOper_EdgeDivide.cxx b/src/ShHealOper/ShHealOper_EdgeDivide.cxx index 8b11a8f1e..869be89b9 100644 --- a/src/ShHealOper/ShHealOper_EdgeDivide.cxx +++ b/src/ShHealOper/ShHealOper_EdgeDivide.cxx @@ -189,7 +189,7 @@ Standard_Boolean ShHealOper_EdgeDivide::build(const Handle(TColStd_HSequenceOfRe has2d = Standard_False, hasPCurves = Standard_False; - //computation of the split values in dependance from specified mode and values. + //computation of the split values in dependence from specified mode and values. if(!computeValues(theValues, has3d,has2d,hasPCurves)) { myErrorStatus = ShHealOper_InvalidParameters; return Standard_False; @@ -214,7 +214,7 @@ Standard_Boolean ShHealOper_EdgeDivide::build(const Handle(TColStd_HSequenceOfRe return Standard_False; } - //split 3d curve and pcurve for each face reffering to edge. + //split 3d curve and pcurve for each face referring to edge. Standard_Boolean isDone = Standard_True; if(hasPCurves) { const TopTools_ListOfShape& lfaces = myMapEdgesFace.FindFromKey(myEdge); diff --git a/src/ShHealOper/ShHealOper_EdgeDivide.hxx b/src/ShHealOper/ShHealOper_EdgeDivide.hxx index 252dba9f4..1a9eebb7d 100644 --- a/src/ShHealOper/ShHealOper_EdgeDivide.hxx +++ b/src/ShHealOper/ShHealOper_EdgeDivide.hxx @@ -49,7 +49,7 @@ class ShHealOper_EdgeDivide : public ShHealOper_Tool /// Constructor initializes by shape. Standard_EXPORT virtual void Init(const TopoDS_Shape& theShape); - //Method for initalization by whole shape. + //Method for initialization by whole shape. Standard_EXPORT Standard_Boolean Perform(const TopoDS_Shape& theEdge, const Standard_Real theValue, diff --git a/src/ShHealOper/ShHealOper_FillHoles.cxx b/src/ShHealOper/ShHealOper_FillHoles.cxx index 799aa8f6e..36dcaf0b6 100644 --- a/src/ShHealOper/ShHealOper_FillHoles.cxx +++ b/src/ShHealOper/ShHealOper_FillHoles.cxx @@ -361,7 +361,7 @@ Standard_Boolean ShHealOper_FillHoles::addFace(const Handle(Geom_Surface)& theSu aB.Range (anEdge, aFace, aF, aL); // Set orientation of the edge: orientation should be changed - // if its orientation does not make sence with curve orientation + // if its orientation does not make sense with curve orientation // recommended by GeomPlate if ((anEdge.Orientation() == TopAbs_FORWARD) == (theSenses->Value (theOrders->Value (aInd)) == 1)) { diff --git a/src/ShHealOper/ShHealOper_FillHoles.hxx b/src/ShHealOper/ShHealOper_FillHoles.hxx index 7b19d27b0..44af3c08c 100644 --- a/src/ShHealOper/ShHealOper_FillHoles.hxx +++ b/src/ShHealOper/ShHealOper_FillHoles.hxx @@ -53,7 +53,7 @@ class ShHealOper_FillHoles : public ShHealOper_Tool Standard_EXPORT ShHealOper_FillHoles (const TopoDS_Shape& theShape); Standard_EXPORT virtual void Init(const TopoDS_Shape& theShape); - //Method for initalization by whole shape. + //Method for initialization by whole shape. Standard_EXPORT void InitParameters(Standard_Integer theDegree = 3,//3(2) Standard_Integer theNbPtsOnCur =5,//3, diff --git a/src/ShHealOper/ShHealOper_RemoveFace.hxx b/src/ShHealOper/ShHealOper_RemoveFace.hxx index b5a4390af..25e881ae9 100644 --- a/src/ShHealOper/ShHealOper_RemoveFace.hxx +++ b/src/ShHealOper/ShHealOper_RemoveFace.hxx @@ -50,7 +50,7 @@ class ShHealOper_RemoveFace : public ShHealOper_Tool Standard_EXPORT ShHealOper_RemoveFace (const TopoDS_Shape& theShape); // Constructor initialized by shape from which faces will be removed. Standard_EXPORT virtual void Init(const TopoDS_Shape& theShape); - //Method for initalization by whole shape. + //Method for initialization by whole shape. Standard_EXPORT Standard_Boolean Perform(); //Removes all faces from specified shape. diff --git a/src/ShHealOper/ShHealOper_RemoveInternalWires.hxx b/src/ShHealOper/ShHealOper_RemoveInternalWires.hxx index fe5a7eda0..d619293ba 100644 --- a/src/ShHealOper/ShHealOper_RemoveInternalWires.hxx +++ b/src/ShHealOper/ShHealOper_RemoveInternalWires.hxx @@ -48,10 +48,10 @@ class ShHealOper_RemoveInternalWires : public ShHealOper_Tool /// Copy constructor Standard_EXPORT ShHealOper_RemoveInternalWires (const TopoDS_Shape& theShape); - //Method for initalization by whole shape. + //Method for initialization by whole shape. Standard_EXPORT virtual void Init(const TopoDS_Shape& theShape); - //Method for initalization by whole shape. + //Method for initialization by whole shape. Standard_EXPORT Standard_Boolean Remove(); //Removes all internal wires from all faces of the shape diff --git a/src/ShHealOper/ShHealOper_Sewing.hxx b/src/ShHealOper/ShHealOper_Sewing.hxx index 6f07c461b..7ff51dc57 100644 --- a/src/ShHealOper/ShHealOper_Sewing.hxx +++ b/src/ShHealOper/ShHealOper_Sewing.hxx @@ -50,10 +50,10 @@ class ShHealOper_Sewing : public ShHealOper_Tool Standard_EXPORT ShHealOper_Sewing (const TopoDS_Shape& theShape, const Standard_Real theTolerance); - //Constructor for initalization by shape and tolerance. + //Constructor for initialization by shape and tolerance. Standard_EXPORT virtual void Init(const TopoDS_Shape& theShape); - //Method for initalization by whole shape. + //Method for initialization by whole shape. Standard_EXPORT Standard_Boolean Perform(); //Performs sewing specified whole shape. diff --git a/src/ShHealOper/ShHealOper_Tool.hxx b/src/ShHealOper/ShHealOper_Tool.hxx index c07972796..665085f58 100644 --- a/src/ShHealOper/ShHealOper_Tool.hxx +++ b/src/ShHealOper/ShHealOper_Tool.hxx @@ -53,7 +53,7 @@ class ShHealOper_Tool // Constructor initialized by shape from which faces will be removed. Standard_EXPORT virtual void Init(const TopoDS_Shape& theShape); - //Method for initalization by whole shape. + //Method for initialization by whole shape. inline const TopoDS_Shape& GetResultShape() const { diff --git a/src/ShapeRecognition/ShapeRec_FeatureDetector.cxx b/src/ShapeRecognition/ShapeRec_FeatureDetector.cxx index 9ba1395c4..497ad04ad 100644 --- a/src/ShapeRecognition/ShapeRec_FeatureDetector.cxx +++ b/src/ShapeRecognition/ShapeRec_FeatureDetector.cxx @@ -235,7 +235,7 @@ bool ShapeRec_FeatureDetector::ComputeContours( bool useROI, ShapeRec_Parameters detected_edges = cv::Mat(binary_backproject); } - // else if ( detection_method == RIDGE_DETECTOR ) // Method adapted for engineering drawings (e.g. watershed functionnality could be used here cf.OpenCV documentation and samples) + // else if ( detection_method == RIDGE_DETECTOR ) // Method adapted for engineering drawings (e.g. watershed functionality could be used here cf.OpenCV documentation and samples) // { // // TODO // return false; diff --git a/src/VTKPlugin/VTKPlugin_ExportDriver.cxx b/src/VTKPlugin/VTKPlugin_ExportDriver.cxx index ae67871a2..fdd56a959 100644 --- a/src/VTKPlugin/VTKPlugin_ExportDriver.cxx +++ b/src/VTKPlugin/VTKPlugin_ExportDriver.cxx @@ -100,13 +100,13 @@ Standard_Integer VTKPlugin_ExportDriver::Execute(LOGBOOK& log) const aWriter->SetFileName( aFileName.ToCString() ); aWriter->Write(); aWriter->Delete(); - pd->Delete(); //instanciated by the GEOM::GetData(...) method + pd->Delete(); //instantiated by the GEOM::GetData(...) method return 1; } catch( Standard_Failure ) { - //THROW_SALOME_CORBA_EXCEPTION("Exception catched in ExportVTK", SALOME::BAD_PARAM); + //THROW_SALOME_CORBA_EXCEPTION("Exception caught in ExportVTK", SALOME::BAD_PARAM); } return 0; } diff --git a/src/XAO/XAO_BrepGeometry.cxx b/src/XAO/XAO_BrepGeometry.cxx index db3c162b0..f59edc305 100644 --- a/src/XAO/XAO_BrepGeometry.cxx +++ b/src/XAO/XAO_BrepGeometry.cxx @@ -97,7 +97,7 @@ void BrepGeometry::setTopoDS_Shape(const TopoDS_Shape& shape) void BrepGeometry::initIds() { - // intialization of Ids + // initialization of Ids initListIds(TopAbs_VERTEX, m_vertices); initListIds(TopAbs_EDGE, m_edges); initListIds(TopAbs_FACE, m_faces); diff --git a/src/XAO/XAO_Field.hxx b/src/XAO/XAO_Field.hxx index 5d2c373da..be5dcff2a 100644 --- a/src/XAO/XAO_Field.hxx +++ b/src/XAO/XAO_Field.hxx @@ -47,7 +47,7 @@ namespace XAO protected: /** * Constructor. - * @param dimension the dimension ot the field. + * @param dimension the dimension of the field. * @param nbElements the number of elements. * @param nbComponents the number of components. * @param name the name of the field. -- 2.39.2