From bef7e3cbcdce0bb09e953394ecdbfb3972a75f27 Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 25 Jun 2018 14:32:46 +0300 Subject: [PATCH] Typo-fix by Kunda http://www.salome-platform.org/forum/forum_9/625363577 --- doc/salome/gui/GEOM/CMakeLists.txt | 2 +- src/BooleanGUI/BooleanGUI_Dialog.cxx | 4 ++-- src/GEOMImpl/GEOMImpl_CopyDriver.cxx | 6 +++--- src/GEOMImpl/GEOMImpl_ICurveParametric.hxx | 2 +- src/GEOMImpl/GEOMImpl_IShapesOperations.cxx | 2 +- src/GEOMImpl/GEOMImpl_PipeDriver.cxx | 6 +++--- src/GEOMImpl/GEOMImpl_PolylineDumper.hxx | 4 ++-- src/GEOMImpl/GEOMImpl_ShapeDriver.cxx | 2 +- src/GEOMToolsGUI/GEOMToolsGUI_DeflectionDlg.cxx | 2 +- src/GEOMToolsGUI/GEOMToolsGUI_LineWidthDlg.cxx | 2 +- src/GEOMToolsGUI/GEOMToolsGUI_NbIsosDlg.cxx | 2 +- src/GEOMUtils/GEOMUtils.cxx | 2 +- src/GEOM_SWIG/GEOM_TestField.py | 2 +- src/OBJECT/GEOM_VTKTrihedron.cxx | 4 ++-- src/OBJECT/GEOM_VTKTrihedron.hxx | 2 +- src/OCC2VTK/OCC2VTK_Tools.h | 2 +- 16 files changed, 23 insertions(+), 23 deletions(-) diff --git a/doc/salome/gui/GEOM/CMakeLists.txt b/doc/salome/gui/GEOM/CMakeLists.txt index ff5b0bfe5..4e20c610b 100644 --- a/doc/salome/gui/GEOM/CMakeLists.txt +++ b/doc/salome/gui/GEOM/CMakeLists.txt @@ -23,7 +23,7 @@ SALOME_CONFIGURE_FILE(doxyfile_tui.in doxyfile_tui) SALOME_CONFIGURE_FILE(static/header.html.in ${CMAKE_CURRENT_BINARY_DIR}/static/header.html) SALOME_CONFIGURE_FILE(static/header_py.html.in ${CMAKE_CURRENT_BINARY_DIR}/static/header_py.html) -# Generate a temporary python file, needed for the genaration of the documentation +# Generate a temporary python file, needed for the generation of the documentation # of the built-in Geometry plugins. SET(DOC_GEOM_PluginsList AdvancedGEOM STLPlugin BREPPlugin STEPPlugin IGESPlugin XAOPlugin) IF(SALOME_GEOM_USE_VTK) diff --git a/src/BooleanGUI/BooleanGUI_Dialog.cxx b/src/BooleanGUI/BooleanGUI_Dialog.cxx index c2d1d97da..63ba1ad72 100644 --- a/src/BooleanGUI/BooleanGUI_Dialog.cxx +++ b/src/BooleanGUI/BooleanGUI_Dialog.cxx @@ -198,7 +198,7 @@ void BooleanGUI_Dialog::Init() mainFrame()->RadioButton1->setFocus(); globalSelection(GEOM_ALLSHAPES); - //localSelection(TopAbs_SHAPE); // VSR 24/09/2015: dectivate local selection in BOP (CoTech decision) + //localSelection(TopAbs_SHAPE); // VSR 24/09/2015: deactivate local selection in BOP (CoTech decision) myGroup->PushButton1->click(); resize(100,100); @@ -338,7 +338,7 @@ void BooleanGUI_Dialog::SetEditCurrentArgument() } globalSelection(GEOM_ALLSHAPES); - //localSelection(TopAbs_SHAPE); // VSR 24/09/2015: dectivate local selection in BOP (CoTech decision) + //localSelection(TopAbs_SHAPE); // VSR 24/09/2015: deactivate local selection in BOP (CoTech decision) // enable line edit myEditCurrentArgument->setEnabled(true); diff --git a/src/GEOMImpl/GEOMImpl_CopyDriver.cxx b/src/GEOMImpl/GEOMImpl_CopyDriver.cxx index c9bd7bc8d..afea9c03c 100644 --- a/src/GEOMImpl/GEOMImpl_CopyDriver.cxx +++ b/src/GEOMImpl/GEOMImpl_CopyDriver.cxx @@ -261,7 +261,7 @@ Standard_Integer GEOMImpl_CopyDriver::transferData(Handle(TFunction_Logbook)& lo //================================================================================ /*! - * \brief For each subshape of the source shape compute coinsident sub-shapes + * \brief For each subshape of the source shape compute coincident sub-shapes * of the destination shape using GetInPlace method. */ //================================================================================ @@ -320,7 +320,7 @@ Standard_Boolean GEOMImpl_CopyDriver::getInPlace //================================================================================ /*! - * \brief For each subshape of the source shape compute coinsident sub-shapes + * \brief For each subshape of the source shape compute coincident sub-shapes * of the destination shape using an old implementation * of GetInPlace algorithm. */ @@ -369,7 +369,7 @@ Standard_Boolean GEOMImpl_CopyDriver::getInPlaceOld //================================================================================ /*! - * \brief For each subshape of the source shape compute coinsident sub-shapes + * \brief For each subshape of the source shape compute coincident sub-shapes * of the destination shape using GetInPlaceByHistory algorithm. */ //================================================================================ diff --git a/src/GEOMImpl/GEOMImpl_ICurveParametric.hxx b/src/GEOMImpl/GEOMImpl_ICurveParametric.hxx index 7492d03fb..66ad0b1e1 100644 --- a/src/GEOMImpl/GEOMImpl_ICurveParametric.hxx +++ b/src/GEOMImpl/GEOMImpl_ICurveParametric.hxx @@ -29,7 +29,7 @@ #include "GEOM_Function.hxx" /*! - * \brief Interface to data of analitically defined curve + * \brief Interface to data of analytically defined curve * * WARNING: this data co-exists with data of either GEOMImpl_IPolyline * or GEOMImpl_ISpline diff --git a/src/GEOMImpl/GEOMImpl_IShapesOperations.cxx b/src/GEOMImpl/GEOMImpl_IShapesOperations.cxx index a2b31ef3a..6b611088d 100644 --- a/src/GEOMImpl/GEOMImpl_IShapesOperations.cxx +++ b/src/GEOMImpl/GEOMImpl_IShapesOperations.cxx @@ -139,7 +139,7 @@ namespace * \brief Returns the vertex from theWhere shape that is coincident with * theVertex. * - * \param theWhere the shape where the coinsident vertex is searched. + * \param theWhere the shape where the coincident vertex is searched. * \param theVertex the vertex to be searched. * \return the coincident vertex if it is found. Otherwise null object. */ diff --git a/src/GEOMImpl/GEOMImpl_PipeDriver.cxx b/src/GEOMImpl/GEOMImpl_PipeDriver.cxx index aab459299..effed4a10 100644 --- a/src/GEOMImpl/GEOMImpl_PipeDriver.cxx +++ b/src/GEOMImpl/GEOMImpl_PipeDriver.cxx @@ -699,7 +699,7 @@ static TopoDS_Shape RemoveFaces(const TopoDS_Shape &theShapeFrom, //======================================================================= //function : makeSolid -//purpose : auxilary for CreatePipeWithDifferentSections +//purpose : auxiliary for CreatePipeWithDifferentSections //======================================================================= Standard_Boolean makeSolid( BRepOffsetAPI_MakePipeShell aBuilder, @@ -1794,7 +1794,7 @@ static TopoDS_Shape CreatePipeForShellSections(const TopoDS_Wire& aWirePath, TopTools_IndexedDataMapOfShapeListOfShape aMapEdgeFaces2; TopExp::MapShapesAndAncestors(aShBase2, TopAbs_EDGE, TopAbs_FACE, aMapEdgeFaces2); - // constuct map face->face + // construct map face->face TopTools_IndexedDataMapOfShapeShape FF; TopoDS_Shape FS1,FS2; if (nbSubBases==0) { @@ -2189,7 +2189,7 @@ static TopoDS_Shape CreatePipeShellsWithoutPath(GEOMImpl_IPipe* aCI) TopTools_IndexedDataMapOfShapeListOfShape aMapEdgeFaces2; TopExp::MapShapesAndAncestors(aShBase2, TopAbs_EDGE, TopAbs_FACE, aMapEdgeFaces2); - // constuct map face->face (and sub-shapes) + // construct map face->face (and sub-shapes) TopTools_IndexedDataMapOfShapeShape FF; //TopoDS_Shape FS1 = SecFs.Value(i), FS2 = SecFs.Value(i+1); TopoDS_Shape FS1, FS2; diff --git a/src/GEOMImpl/GEOMImpl_PolylineDumper.hxx b/src/GEOMImpl/GEOMImpl_PolylineDumper.hxx index 0793d736a..2b5a6094b 100644 --- a/src/GEOMImpl/GEOMImpl_PolylineDumper.hxx +++ b/src/GEOMImpl/GEOMImpl_PolylineDumper.hxx @@ -49,7 +49,7 @@ class GEOMIMPL_EXPORT GEOMImpl_PolylineDumper public: /** - * This construcor initializes the object with 2D polyline creation + * This constructor initializes the object with 2D polyline creation * parameters. * * \param theCoords the list of coordinates list. theCoordsList[0] @@ -71,7 +71,7 @@ public: const Handle(TColStd_HArray1OfReal) &thePlnCoords); /** - * This construcor initializes the object with 2D polyline creation + * This constructor initializes the object with 2D polyline creation * parameters. * * \param theCoords the list of coordinates list. theCoordsList[0] diff --git a/src/GEOMImpl/GEOMImpl_ShapeDriver.cxx b/src/GEOMImpl/GEOMImpl_ShapeDriver.cxx index ed6d4cddd..71229e06c 100644 --- a/src/GEOMImpl/GEOMImpl_ShapeDriver.cxx +++ b/src/GEOMImpl/GEOMImpl_ShapeDriver.cxx @@ -1571,7 +1571,7 @@ TopoDS_Edge GEOMImpl_ShapeDriver::MakeEdgeFromWire(const TopoDS_Shape& aWire, const Standard_Real aTol = BRep_Tool::Tolerance(aVtx); if (aPFirst.IsEqual(aPnt, aTol)) { - // The coinsident vertex is found. + // The coincident vertex is found. FirstVertex = aVtx; LastVertex = aVtx; FirstVertex.Orientation(TopAbs_FORWARD); diff --git a/src/GEOMToolsGUI/GEOMToolsGUI_DeflectionDlg.cxx b/src/GEOMToolsGUI/GEOMToolsGUI_DeflectionDlg.cxx index fbbd65bd1..c0d8daad7 100644 --- a/src/GEOMToolsGUI/GEOMToolsGUI_DeflectionDlg.cxx +++ b/src/GEOMToolsGUI/GEOMToolsGUI_DeflectionDlg.cxx @@ -130,7 +130,7 @@ GEOMToolsGUI_DeflectionDlg::GEOMToolsGUI_DeflectionDlg (QWidget* parent) connect(buttonCancel, SIGNAL(clicked()), this, SLOT(reject())); connect(buttonHelp, SIGNAL(clicked()), this, SLOT(ClickOnHelp())); - // Move widget on the botton right corner of main widget + // Move widget on the bottom right corner of main widget SUIT_Tools::centerWidget(this, parent); } diff --git a/src/GEOMToolsGUI/GEOMToolsGUI_LineWidthDlg.cxx b/src/GEOMToolsGUI/GEOMToolsGUI_LineWidthDlg.cxx index 5d2067430..7ce77be55 100644 --- a/src/GEOMToolsGUI/GEOMToolsGUI_LineWidthDlg.cxx +++ b/src/GEOMToolsGUI/GEOMToolsGUI_LineWidthDlg.cxx @@ -124,7 +124,7 @@ GEOMToolsGUI_LineWidthDlg::GEOMToolsGUI_LineWidthDlg (QWidget* parent, const QSt connect(buttonCancel, SIGNAL(clicked()), this, SLOT(reject())); connect(buttonHelp, SIGNAL(clicked()), this, SLOT(ClickOnHelp())); - // Move widget on the botton right corner of main widget + // Move widget on the bottom right corner of main widget SUIT_Tools::centerWidget(this, parent); } diff --git a/src/GEOMToolsGUI/GEOMToolsGUI_NbIsosDlg.cxx b/src/GEOMToolsGUI/GEOMToolsGUI_NbIsosDlg.cxx index 89fd1366f..561ccfacc 100644 --- a/src/GEOMToolsGUI/GEOMToolsGUI_NbIsosDlg.cxx +++ b/src/GEOMToolsGUI/GEOMToolsGUI_NbIsosDlg.cxx @@ -130,7 +130,7 @@ GEOMToolsGUI_NbIsosDlg::GEOMToolsGUI_NbIsosDlg(QWidget* parent ) connect(buttonCancel, SIGNAL(clicked()), this, SLOT(reject())); connect(buttonHelp, SIGNAL(clicked()), this, SLOT(ClickOnHelp())); - /* Move widget on the botton right corner of main widget */ + /* Move widget on the bottom right corner of main widget */ SUIT_Tools::centerWidget(this, parent); } diff --git a/src/GEOMUtils/GEOMUtils.cxx b/src/GEOMUtils/GEOMUtils.cxx index 3c1761027..3537f1963 100644 --- a/src/GEOMUtils/GEOMUtils.cxx +++ b/src/GEOMUtils/GEOMUtils.cxx @@ -1280,7 +1280,7 @@ bool GEOMUtils::IsOpenPath(const TopoDS_Shape &theShape) const TopAbs_ShapeEnum aType = theShape.ShapeType(); if (aType == TopAbs_EDGE || aType == TopAbs_WIRE) { - // Check if path ends are coinsident. + // Check if path ends are coincident. TopoDS_Vertex aV[2]; if (aType == TopAbs_EDGE) { diff --git a/src/GEOM_SWIG/GEOM_TestField.py b/src/GEOM_SWIG/GEOM_TestField.py index 69a798c6b..e48353783 100644 --- a/src/GEOM_SWIG/GEOM_TestField.py +++ b/src/GEOM_SWIG/GEOM_TestField.py @@ -44,7 +44,7 @@ MustFail = -1 geompy = None def CheckFieldCreation(shape, name, ftype, dimension, componentNames, nbFiOrMustFail=-1): - # WARNING: assure name uniquness to check geompy.GetField( shape, name ) + # WARNING: assure name uniqueness to check geompy.GetField( shape, name ) try: field = geompy.CreateField(shape, name, ftype, dimension, componentNames) except Exception as e: diff --git a/src/OBJECT/GEOM_VTKTrihedron.cxx b/src/OBJECT/GEOM_VTKTrihedron.cxx index d6230b0e7..dac6fa5cf 100644 --- a/src/OBJECT/GEOM_VTKTrihedron.cxx +++ b/src/OBJECT/GEOM_VTKTrihedron.cxx @@ -51,7 +51,7 @@ /* Class : GEOM_VTKTrihedron Description : Class for displaying axis of trihedron in VTK viewer. - Placement of trihedron is chahged with SetPlacement() method + Placement of trihedron is changed with SetPlacement() method */ class GEOM_VTKTrihedronAxis : public VTKViewer_Axis { @@ -194,7 +194,7 @@ void GEOM_VTKTrihedronAxis::SetColor( const double theColor[ 3 ] ) /* Class : GEOM_VTKTrihedron Description : Class for displaying trihedron of local CS in VTK viewer. - Placement of trihedron is chahged with SetPlacement() method + Placement of trihedron is changed with SetPlacement() method */ vtkStandardNewMacro( GEOM_VTKTrihedron ); diff --git a/src/OBJECT/GEOM_VTKTrihedron.hxx b/src/OBJECT/GEOM_VTKTrihedron.hxx index 553b9f4fd..1567491af 100644 --- a/src/OBJECT/GEOM_VTKTrihedron.hxx +++ b/src/OBJECT/GEOM_VTKTrihedron.hxx @@ -40,7 +40,7 @@ class vtkPolyDataMapper; /* Class : GEOM_VTKTrihedron Description : Class for displaying trihedron of local CS in VTK viewer. - Placement of trihedron is chahged with SetPlacement() method + Placement of trihedron is changed with SetPlacement() method */ class GEOM_OBJECT_EXPORT GEOM_VTKTrihedron : public SALOME_Actor diff --git a/src/OCC2VTK/OCC2VTK_Tools.h b/src/OCC2VTK/OCC2VTK_Tools.h index 4b8c0cdf5..06dcbb20a 100755 --- a/src/OCC2VTK/OCC2VTK_Tools.h +++ b/src/OCC2VTK/OCC2VTK_Tools.h @@ -37,7 +37,7 @@ namespace GEOM * \brief Convert shape to the VTK data sources * \param theShape shape * \param theEdgeMape map that stores face-to-edge relations - * \param theIsVector boolen flag, when \c true causes generating additional + * \param theIsVector boolean flag, when \c true causes generating additional * dataset for edges orientation vectors * \param theStandaloneVertexSource output standalone vertices data source * \param theIsolatedEdgeSource output standalone edges data source -- 2.30.2