Salome HOME
Merge V8_4_BR branch.
authorrnv <rnv@opencascade.com>
Wed, 13 Dec 2017 08:47:35 +0000 (11:47 +0300)
committerrnv <rnv@opencascade.com>
Wed, 13 Dec 2017 08:48:03 +0000 (11:48 +0300)
91 files changed:
CMakeLists.txt
README
SalomeGEOMConfig.cmake.in
doc/salome/examples/complex_objs_ex07.py
doc/salome/examples/topological_geom_objs_ex06.py
doc/salome/gui/GEOM/input/creating_divideddisk.doc
doc/salome/gui/GEOM/input/extruded_boss_operation.doc
doc/salome/gui/GEOM/input/extruded_cut_operation.doc
doc/salome/gui/GEOM/input/geompy_migration.doc
doc/salome/gui/GEOM/input/pictures.doc
doc/salome/gui/GEOM/input/restore_presentation_parameters.doc
doc/salome/gui/GEOM/input/translation_operation.doc
idl/GEOM_Gen.idl
src/AdvancedEngine/AdvancedEngine_IOperations.cxx
src/AdvancedEngine/AdvancedEngine_PipeTShapeDriver.cxx
src/BlockFix/BlockFix.cxx
src/BlockFix/BlockFix_PeriodicSurfaceModifier.cxx
src/BlockFix/BlockFix_UnionEdges.cxx
src/BlockFix/BlockFix_UnionFaces.cxx
src/CurveCreator/CurveCreator_Diff.cxx
src/CurveCreator/CurveCreator_Widget.cxx
src/EntityGUI/EntityGUI.cxx
src/EntityGUI/EntityGUI_3DSketcherDlg.cxx
src/EntityGUI/EntityGUI_FeatureDetectorDlg.cxx
src/EntityGUI/EntityGUI_FieldDlg.cxx
src/EntityGUI/EntityGUI_SketcherDlg.cxx
src/GEOM/GEOM_BaseObject.cxx
src/GEOM/GEOM_Engine.cxx
src/GEOM/GEOM_Engine.hxx
src/GEOM/GEOM_Field.cxx
src/GEOM/GEOM_Function.cxx
src/GEOM/GEOM_Function.hxx
src/GEOMAlgo/GEOMAlgo_FinderShapeOn1.cxx
src/GEOMAlgo/GEOMAlgo_GetInPlaceAPI.cxx
src/GEOMAlgo/GEOMAlgo_GetInPlaceAPI.hxx
src/GEOMAlgo/GEOMAlgo_GlueDetector.cxx
src/GEOMBase/GEOMBase_Helper.cxx
src/GEOMBase/GEOMBase_Skeleton.cxx
src/GEOMBase/GEOM_GenericObjPtr.h
src/GEOMGUI/GEOM_Displayer.cxx
src/GEOMGUI/GEOM_Displayer.h
src/GEOMGUI/GEOM_msg_en.ts
src/GEOMGUI/GeometryGUI.cxx
src/GEOMImpl/GEOMImpl_BooleanDriver.cxx
src/GEOMImpl/GEOMImpl_ChamferDriver.cxx
src/GEOMImpl/GEOMImpl_GlueDriver.cxx
src/GEOMImpl/GEOMImpl_IMeasureOperations.cxx
src/GEOMImpl/GEOMImpl_IMeasureOperations.hxx
src/GEOMImpl/GEOMImpl_IShapesOperations.cxx
src/GEOMImpl/GEOMImpl_PipeDriver.cxx
src/GEOMImpl/GEOMImpl_PrismDriver.cxx
src/GEOMImpl/GEOMImpl_ThruSectionsDriver.cxx
src/GEOMUtils/GEOMUtils.hxx
src/GEOM_I/GEOM_Gen_i.cc
src/GEOM_I/GEOM_Gen_i.hh
src/GEOM_I/GEOM_IMeasureOperations_i.hh
src/GEOM_PY/geomtools.py
src/GEOM_PY/sketcher.py
src/GEOM_SWIG/GEOM_TestAll.py
src/GEOM_SWIG/GEOM_TestOthers.py
src/GEOM_SWIG/GEOM_shellSolid.py
src/GEOM_SWIG/geomBuilder.py
src/GEOM_SWIG/gsketcher.py
src/GEOM_SWIG_WITHIHM/libGEOM_Swig.cxx
src/GroupGUI/GroupGUI_GroupDlg.cxx
src/MeasureGUI/MeasureGUI_AnnotationInteractor.h
src/MeasureGUI/MeasureGUI_DimensionCreateTool.cxx
src/MeasureGUI/MeasureGUI_ManageDimensionsDlg.cxx
src/MeasureGUI/MeasureGUI_Skeleton.cxx
src/OBJECT/GEOM_Annotation.hxx
src/RepairGUI/RepairGUI.cxx
src/RepairGUI/RepairGUI_GlueDlg.cxx
src/RepairGUI/RepairGUI_LimitToleranceDlg.cxx
src/RepairGUI/RepairGUI_ShapeProcessDlg.cxx
src/STEPPlugin/STEPPlugin_ExportDriver.cxx
src/STLPlugin/STLPlugin_ExportDriver.cxx
src/ShHealOper/ShHealOper_ChangeOrientation.hxx
src/ShHealOper/ShHealOper_CloseContour.cxx
src/ShHealOper/ShHealOper_CloseContour.hxx
src/ShHealOper/ShHealOper_EdgeDivide.cxx
src/ShHealOper/ShHealOper_EdgeDivide.hxx
src/ShHealOper/ShHealOper_FillHoles.cxx
src/ShHealOper/ShHealOper_FillHoles.hxx
src/ShHealOper/ShHealOper_RemoveFace.hxx
src/ShHealOper/ShHealOper_RemoveInternalWires.hxx
src/ShHealOper/ShHealOper_Sewing.hxx
src/ShHealOper/ShHealOper_Tool.hxx
src/ShapeRecognition/ShapeRec_FeatureDetector.cxx
src/VTKPlugin/VTKPlugin_ExportDriver.cxx
src/XAO/XAO_BrepGeometry.cxx
src/XAO/XAO_Field.hxx

index 93d7f9919da55762e6e59300ff692c6fb5127417..75992c6a3d74a2242685a5d4cedf28a38913cfe0 100755 (executable)
@@ -37,7 +37,7 @@ SET(${PROJECT_NAME_UC}_MINOR_VERSION 4)
 SET(${PROJECT_NAME_UC}_PATCH_VERSION 0)
 SET(${PROJECT_NAME_UC}_VERSION
   ${${PROJECT_NAME_UC}_MAJOR_VERSION}.${${PROJECT_NAME_UC}_MINOR_VERSION}.${${PROJECT_NAME_UC}_PATCH_VERSION})
-SET(${PROJECT_NAME_UC}_VERSION_DEV 0)
+SET(${PROJECT_NAME_UC}_VERSION_DEV 1)
 
 # Common CMake macros
 # ===================
@@ -86,7 +86,7 @@ MARK_AS_ADVANCED(SALOME_BUILD_GUI SALOME_GEOM_USE_OPENCV SALOME_GEOM_USE_VTK)
 # Prerequisites
 # =============
 # Find "big" prerequisites first - they reference themselves many others
-#   -> this can help finding the smaller prerequisites and detect conficts.
+#   -> this can help find the smaller prerequisites and detect conflicts.
 # In our case KERNEL has already loaded many prereq:
 
 ##
diff --git a/README b/README
index 54eb2a32a38b1bc13eb51d8d98e231c1cf1569fe..946cb42e020c0d52f8389e25214ac6355dd25a3e 100644 (file)
--- a/README
+++ b/README
@@ -34,8 +34,8 @@ Installation
 Pre-requisites
 --------------
 
-SALOME platform relies on a set of third-party softwares; some of them are needed
-at build time only, while other ones are needed in runtime also.
+SALOME platform relies on a set of third-party software; some of them are needed
+at build time only, while other ones are needed at runtime as well.
 
 For more information about the pre-requisites please visit SALOME platform web
 site:
index 701655953bdf394477e6cfa7284a14855bdab9e3..175fa3d2cf8bcb89b1cb04535c48578a73ed3ad1 100644 (file)
@@ -19,7 +19,7 @@
 
 # - Config file for the @PROJECT_NAME@ package
 # It defines the following variables. 
-# Specific to the pacakge @PROJECT_NAME@ itself:
+# Specific to the package @PROJECT_NAME@ itself:
 #  @PROJECT_NAME_UC@_ROOT_DIR_EXP - the root path of the installation providing this CMake file
 #
 
index d9e72ae9654db84b5844e6990845ee0d42630eca..b3b5b8551cfa9e6772e5efcf4bdf55905e65e963 100644 (file)
@@ -60,7 +60,7 @@ def MakeComplexSect(pnt,vec,rmax,rmin,nb):
 
 
 #=======================================================
-#       Create simple path and recieve points
+#       Create simple path and receive points
 #              for section creation
 #=======================================================
 WirePath = geompy.MakeSketcher("Sketcher:F 0 0:T 60 0:T 40 0:R 0:C 100 90:",
index 7ae16d8e6acac3356e57c85731a1034dfc72d93f..3c9190cb1836e5a3a2d6ddecd94507f36ef5dbd8 100644 (file)
@@ -21,7 +21,7 @@ while i <= 3 :
     ShapeListCompound.append(S)
     i = i + 1
 
-# create a compund of the given shapes
+# create a compound of the given shapes
 compound = geompy.MakeCompound(ShapeListCompound)
 
 # add object in the study
index 6b6011b17e94f9849dd45d762600cea5f20fb4a4..d8702675ddc94bc8b58ffb855e435edbfadfa353 100644 (file)
@@ -33,7 +33,7 @@ The result of each operation will be a GEOM_Object.
 
 <b>Arguments:</b>
 - \b Radius - Radius of the disk
-- \b Orientation - Plane on wich the disk will be built
+- \b Orientation - Plane on which the disk will be built
 - \b Pattern - Division pattern
 
 \image html divided_disk_dlg.png
index 8338c6db47452bbe3a59413cbf8a98d099b7c7e2..d75e0bf6955fef0771b34dafa280be18c2990460 100644 (file)
@@ -37,7 +37,7 @@ The input arguments are:
 
 - The \b height of extrusion. It is calculated from the <b>base profile</b> along the normal to its plane.
 
-And optionnaly:
+And optionally:
 
 - A <b>draft angle</b> in degrees. Activated by clicking on \image html draft.png
 
index 0d4d765811ac548010e93a2765780c591e5663ae..d94d1df899b072a14187efbeaa0373895735785d 100644 (file)
@@ -37,7 +37,7 @@ The input arguments are:
 
 - The \b height of extrusion. It's calculated from the <b>base profile</b> along the normal to its plane.
 
-And optionnaly:
+And optionally:
 
 - A <b>draft angle</b> in degrees. Activated by clicking on \image html draft.png
 
index fcac5fb05cc212d218b00be660a7d0f9f1ce48e7..83fdfc23dfe48d500b63f8b77e2c027ec1905995 100644 (file)
@@ -34,7 +34,7 @@ geompy = geomBuilder.New(salome.myStudy)
 
 
 <b> Of course, <em>from geompy import *</em> is no more possible.</b>
-\n You have to explicitely write <em>geompy.some_method()</em>.
+\n You have to explicitly write <em>geompy.some_method()</em>.
 
 \n <b>Some variables have been transferred from the namespace <em>geompy.GEOM</em> to the namespace <em>GEOM</em>.</b>
 \n All occurrences of <em>geompy.GEOM.</em> can be replaced by  <em>GEOM.</em>.
index de4a44859ea6297d9bd6c3d238a6b6207532324a..98a1f658274e54d4bac067e0dda5b6cac807eeac 100644 (file)
@@ -5,7 +5,7 @@
 Some tools in GEOM allow you to create shapes, basing the design on imported pictures (engineering drawings, nautical charts ...) :
 
 <ul>
-<li>\subpage import_picture_page, such as engeneering drawings or nautical charts as a support for shape design.
+<li>\subpage import_picture_page, such as engineering drawings or nautical charts as a support for shape design.
 <li>\subpage shape_recognition_page previously imported in the OCC viewer .
 </ul>
 
index d7705a3f07d982094842b434fb95d5bb15a7f503..abbc083583e5beadf648bd1aee376458f0511112 100644 (file)
@@ -17,7 +17,7 @@ faces and Cylinder_1 with free published edges.
 \image html restore-ss-viewer-before.png "The initial box and cylinder"
 
 First, we examine the case when the resulting shape corresponds to one argument (after transformation, 
-after the Boolean operation Cut, or after the partiton with one object shape). 
+after the Boolean operation Cut, or after the partition with one object shape). 
 
 We create a Cut of Box_1 with Cylinder_1.
 
index 4ebe45b14b92ef6d7b0f3d180534b76210988479..d72a1d19a2226890934d55c490137bb4b2fe5e03 100644 (file)
@@ -30,7 +30,7 @@ components of translation vector.
 
 \image html transformation2.png
 
-\n Finally you can define the \b Vector explicitely. The \b Object will be translated by the length of the vector. 
+\n Finally you can define the \b Vector explicitly. The \b Object will be translated by the length of the vector. 
 If a curve has been selected instead of the vector, only its first and last vertices will be used to get the vector direction and the dialog preview will display the vector along which the object will be translated. 
 \n <b>Activate Distance</b> checkbox and <b>Distance</b> field allow defining a custom distance of translation.
 
index 66f23e436fa4fbf0f36e1aa46813c38ca116433d..cb8a07058cefe82f5c8161a72019e86fabe2951c 100644 (file)
@@ -682,7 +682,7 @@ module GEOM
 
     /*!
      *  \brief Set the operation error code
-     *  \param theErrorID is a string describing the error occured
+     *  \param theErrorID is a string describing the error occurred
      *  \note This method is supposed to be used only by interfaces inheriting from IOperations.
      */
     void SetErrorCode (in string theErrorID);
@@ -703,7 +703,7 @@ module GEOM
     void StartOperation();
 
     /*!
-     *  \brief Closes the previously opened trasaction
+     *  \brief Closes the previously opened transaction
      */
     void FinishOperation();
 
@@ -855,7 +855,7 @@ module GEOM
 
     /*!
      *  C\brief reate 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.
      *  \return New GEOM_Object, containing the created line.
@@ -3217,7 +3217,7 @@ module GEOM
      *
      *  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.
      *  \return List of GEOM_Object, each of them is a propagation group.
      */
@@ -3316,7 +3316,7 @@ module GEOM
      *  \param theRemoveInside Shapes, inside which the results will be deleted.
      *         Each shape from theRemoveInside must belong to theShapes also.
      *  \param theRemoveWebs If TRUE, perform Glue 3D algorithm.
-     *  \param theMaterials Material indices for each shape. Make sence, only if theRemoveWebs is TRUE.
+     *  \param theMaterials Material indices for each shape. Make sense, only if theRemoveWebs is TRUE.
      *
      *  \return New GEOM_Object, containing the result shapes.
      */
@@ -3332,7 +3332,7 @@ module GEOM
     /*!
      *  \brief Perform partition operation.
      *
-     *  This method may be usefull if it is needed to make a partition for
+     *  This method may be useful if it is needed to make a partition for
      *  a compound containing nonintersected shapes. Performance will be better
      *  since intersection between shapes from compound is not performed.
      *
@@ -3795,7 +3795,7 @@ module GEOM
      *  \param theVertexes Global indices of vertexes to perform fillet on.
      *    \note Global index of sub-shape can be obtained, using method
      *          <VAR>GEOM_IShapesOperations.GetSubShapeIndex()</VAR>.
-     *    \note The list of vertices coudl be empty, in this case fillet fill be done
+     *    \note The list of vertices could be empty, in this case fillet fill be done
      *          at all vertices in given wire
      *  \param doIgnoreSecantVertices If FALSE, fillet radius is always limited
      *         by the length of the edges, nearest to the fillet vertex.
@@ -3834,7 +3834,7 @@ module GEOM
                                  in double theD1, in double theD2,
                                  in long theFace1, in long theFace2);
     /*!
-     *  \brief The Same but with params theD = Chamfer Lenght
+     *  \brief The Same but with params theD = Chamfer Length
      *  and theAngle = Chamfer Angle (Angle in radians)
      */
     GEOM_Object MakeChamferEdgeAD (in GEOM_Object theShape,
@@ -3858,7 +3858,7 @@ module GEOM
                                   in double theD1, in double theD2,
                                   in ListOfLong theFaces);
     /*!
-     *  The Same but with params theD = Chamfer Lenght
+     *  The Same but with params theD = Chamfer Length
      *  and theAngle = Chamfer Angle (Angle in radians)
      */
     GEOM_Object MakeChamferFacesAD (in GEOM_Object theShape,
@@ -3877,7 +3877,7 @@ module GEOM
                                   in double theD1, in double theD2,
                                   in ListOfLong theEdges);
     /*!
-     *  The Same but with params theD = Chamfer Lenght
+     *  The Same but with params theD = Chamfer Length
      *  and theAngle = Chamfer Angle (Angle in radians)
      */
     GEOM_Object MakeChamferEdgesAD (in GEOM_Object theShape,
@@ -4064,7 +4064,7 @@ module GEOM
      *  \param theObjects Shapes to get free boundary of.
      *  \param theClosedWires Output. Closed wires on the free boundary of the given shape.
      *  \param theOpenWires Output. Open wires on the free boundary of the given shape.
-     *  \return FALSE, if an error(s) occured during the method execution.
+     *  \return FALSE, if an error(s) occurred during the method execution.
      */
     boolean GetFreeBoundary (in  ListOfGO theObjects,
                              out ListOfGO theClosedWires,
@@ -4194,7 +4194,7 @@ module GEOM
     };
 
     /*!
-     *  \brief Sequence of non-topological information tranfer data.
+     *  \brief Sequence of non-topological information transfer data.
      */
     typedef sequence<TransferDatum> ListOfTransferDatum;
 
@@ -4209,7 +4209,7 @@ module GEOM
      *  \param theResult statistics of the operation. Output parameter. It
      *         represents a sequence of Transfer Datum. A datum has the type
      *         (string code), the total number of items of this type and
-     *         the number of transfered items.
+     *         the number of transferred items.
      *  \return true in case of success; otherwise false.
      */
     boolean TransferData(in  GEOM_Object         theObjectFrom,
@@ -4912,7 +4912,7 @@ module GEOM
      *                            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.
@@ -4943,7 +4943,7 @@ module GEOM
      *                            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.
@@ -4975,7 +4975,7 @@ module GEOM
      *                            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.
index 8241109ebb48c5deae5058ba3f4b67504b54fcc6..190acd59f902c742a27c27e0733d0362338a13d8 100644 (file)
@@ -828,7 +828,7 @@ bool AdvancedEngine_IOperations::GetFacesOnSurf
   // Default value=3
   aFinder.SetNbPntsMin(3);
   // Sets the maximal number of inner points for edges or faces.
-  // It is usefull for the cases when this number is very big (e.g =2000) to improve
+  // It is useful for the cases when this number is very big (e.g =2000) to improve
   // the performance. If this value =0, all inner points will be taken into account.
   // Default value=0
   aFinder.SetNbPntsMax(100);
index 004c45e5050a266c5682b7ff4674d38671d67a9b..44f60ceae4ed4162a1a9e362ced63d5716ebd2ec 100644 (file)
@@ -200,7 +200,7 @@ Handle(TColStd_HSequenceOfInteger)
   // Default value=3
   aFinder.SetNbPntsMin(3);
   // Sets the maximal number of inner points for edges or faces.
-  // It is usefull for the cases when this number is very big (e.g =2000) to improve
+  // It is useful for the cases when this number is very big (e.g =2000) to improve
   // the performance. If this value =0, all inner points will be taken into account.
   // Default value=0
   aFinder.SetNbPntsMax(0);
index 7c62b754b5447c21ae11db597676038bb19f77e6..3c095f058f13288f1c33b0ea48e638e02cf7bab0 100644 (file)
@@ -87,7 +87,7 @@
 
 //=======================================================================
 //function : FixResult
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 static void FixResult(const TopoDS_Shape& result,
                       Handle(ShapeBuild_ReShape)& Context,
index f106d44cfd6f8f98bba7150d5dae1f0d869ee699..e7399f2f5a0405088a500181fec43248ec90522b 100644 (file)
@@ -81,7 +81,7 @@ void BlockFix_PeriodicSurfaceModifier::SetTolerance(const Standard_Real Tol)
 
 //=======================================================================
 //function : ModifySurface
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 static Standard_Boolean ModifySurface(const TopoDS_Face& aFace,
                                       const Handle(Geom_Surface)& aSurface,
index a4d0c0c013d26d2e6110860c7b86f129c4178464..642953f67586b53a98a0e56eca31009b3f36134c 100644 (file)
@@ -463,7 +463,7 @@ static TopoDS_Edge GlueEdgesWithPCurves(const TopTools_SequenceOfShape& aChain,
 
 //=======================================================================
 //function : MergeEdges
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 static Standard_Boolean MergeEdges(const TopTools_SequenceOfShape& SeqEdges,
                                    const Standard_Real Tol,
index 35e9ff26eda13df3d4c48b2e45ee9ff3c05e2269..9a42dde438bf06ce2564a6677921f0583ed78f5d 100644 (file)
@@ -125,7 +125,7 @@ Standard_Integer& BlockFix_UnionFaces::GetOptimumNbFaces()
 
 //=======================================================================
 //function : AddOrdinaryEdges
-//purpose  : auxilary
+//purpose  : auxiliary
 //           adds edges from the shape to the sequence
 //           seams and equal edges are dropped
 //           Returns true if one of original edges dropped
@@ -177,7 +177,7 @@ static Standard_Boolean AddOrdinaryEdges(TopTools_SequenceOfShape& edges,
 
 //=======================================================================
 //function : ClearRts
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 static Handle(Geom_Surface) ClearRts(const Handle(Geom_Surface)& aSurface)
 {
@@ -191,7 +191,7 @@ static Handle(Geom_Surface) ClearRts(const Handle(Geom_Surface)& aSurface)
 
 //=======================================================================
 //function : IsFacesOfSameSolids
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 static Standard_Boolean IsFacesOfSameSolids
        (const TopoDS_Face                               &theFace1,
@@ -591,10 +591,13 @@ TopoDS_Shape BlockFix_UnionFaces::Perform(const TopoDS_Shape& Shape)
       sfw->SetMaxTolerance(Max(1.,myTolerance*1000.));
       sfw->SetFace(aFace);
       for (TopoDS_Iterator iter (aFace,Standard_False); iter.More(); iter.Next()) {
-        TopoDS_Wire wire = TopoDS::Wire(iter.Value());
-        sfw->Load(wire);
-        sfw->FixReorder();
-        sfw->FixShifted();
+        TopoDS_Shape aFaceCont = iter.Value();
+        if (!aFaceCont.IsNull() && aFaceCont.ShapeType() == TopAbs_WIRE) {
+          TopoDS_Wire wire = TopoDS::Wire(iter.Value());
+          sfw->Load(wire);
+          sfw->FixReorder();
+          sfw->FixShifted();
+        }
       }
     }
   } // end processing each solid
index a9f08d3023f9ce22861d061ed296a2052729a144..e27bd0aad39b61ad46b76436c02c7112f6133cb2 100644 (file)
@@ -103,7 +103,7 @@ bool CurveCreator_Diff::init(const CurveCreator_Curve *theCurve,
     if (myPRedo->init(theType, theIntParam)) {
       // Construct undo for RemoveSection command.
       // If the last section is removed, one AddSection command is enough.
-      // If not last section is removed, two commands are requred: AddSection
+      // If not last section is removed, two commands are required: AddSection
       // and MoveSection.
       const int aLastIndex = theCurve->getNbSections() - 1;
 
index 1906c758dbd8b613e86daf80fbbb9446f51cb7f4..a76f408f1423c76ae0fed9ec30b00020d1fc44db 100644 (file)
@@ -954,7 +954,7 @@ void CurveCreator_Widget::SetViewer2DMode(const bool To2D)
 
 //=================================================================================
 // function : GeometryGUI::addCoordsByClick()
-// purpose  : Manage mouse press events in Additon mode
+// purpose  : Manage mouse press events in Addition mode
 //=================================================================================
 void CurveCreator_Widget::addCoordsByClick( QMouseEvent* pe )
 {
index 019e0ad47ecfc812bffe84535a695a4a7ae17b2f..5c7e913d8d09e6c6f3116bcf4581ac56e5f6102d 100644 (file)
@@ -390,7 +390,7 @@ void EntityGUI::DisplaySimulationShape( const TopoDS_Shape& S1, const TopoDS_Sha
     ic->UpdateCurrentViewer();
   }
   catch( Standard_Failure ) {
-    MESSAGE( "Exception catched in EntityGUI::DisplaySimulationShape" );
+    MESSAGE( "Exception caught in EntityGUI::DisplaySimulationShape" );
   } 
 }
 
index aec63c79e3523f2a7f1e91c3a8f8e1cc505daddf..7416a3643ad473475fc5ef9a78fbe0432b23cb0c 100755 (executable)
@@ -1283,7 +1283,7 @@ gp_Dir EntityGUI_3DSketcherDlg::getPresentationPlane() const
       gp_Vec V = Vec1.Transformed(aTransform.Inverted());
       gp_Vec Vec3(V.X(),V.Y(),0.0);
       
-      // Express the coordinates in the refernce coordinate system (OXY)
+      // Express the coordinates in the reference coordinate system (OXY)
       Vec3.Transform(aTransform);   
       if(Abs(Vec1.CrossMagnitude(Vec3)) > Precision::Confusion())                                  
       { 
@@ -1480,7 +1480,7 @@ void EntityGUI_3DSketcherDlg::displayDimensions (bool store)
                  aLength * sin(anAngle1 * M_PI / 180. ),
                  0.0); 
     
-    // Express the coordinates in the refernce coordinate system (OXY)
+    // Express the coordinates in the reference coordinate system (OXY)
     gp_Trsf aTranform = toReferenceSystem(P0);
     P1.Transform(aTranform);    
     P2.Transform(aTranform);
@@ -1654,7 +1654,7 @@ void EntityGUI_3DSketcherDlg::displayText ( std::string theText,
 //================================================================
 // Function : createAISLengthDimension()
 // Purpose  : Method for creation of a length dimension object
-//            Returns an Handle on the AIS_LengthDimension obect
+//            Returns an Handle on the AIS_LengthDimension object
 //================================================================
 Handle(AIS_LengthDimension) EntityGUI_3DSketcherDlg::createAISLengthDimension(double theLength, 
                                                                               gp_Pnt P1, 
@@ -1692,7 +1692,7 @@ Handle(AIS_LengthDimension) EntityGUI_3DSketcherDlg::createAISLengthDimension(do
 //================================================================
 // Function : createAISAngleDimension()
 // Purpose  : Method for creation of an angle dimension object
-//            Returns an Handle on the AIS_AngleDimension obect
+//            Returns an Handle on the AIS_AngleDimension object
 //================================================================
 Handle(AIS_AngleDimension) EntityGUI_3DSketcherDlg::createAISAngleDimension(double theAngle, 
                                                                             gp_Pnt P0, 
index 7d8b1080ecf05bbc240bc96f9c215d964b907283..b33b7a7d6613642816024a649c54503765870a0c 100644 (file)
@@ -282,7 +282,7 @@ EntityGUI_FeatureDetectorDlg::EntityGUI_FeatureDetectorDlg( GeometryGUI* theGeom
   // about what will be considered INSIDE the zone we want to find the frontier of
   // This makes the algorithm more robust against a bit inhomogeneous parts in the zone
   // that we want to delimitate.
-  // The drawback is if we want to delimitate a zone wich color is very similar to the zone
+  // The drawback is if we want to delimitate a zone which color is very similar to the zone
   // we consider as the OUTSIDE, the result will be bad.
   // The current use cases are more of the first form : 
   //  - Strongly contrasted INSIDE and OUTSIDE zones
index 38b891fdb43d4000639f52dbc46899818d7e7c5c..58d99914eee930681774c2cbd1c2b1373a2eacaf 100644 (file)
@@ -1634,7 +1634,7 @@ void EntityGUI_FieldDlg::activateSelection()
   // local selection
   if (!myShape->_is_nil() &&
       !myEditCurrentArgument &&
-      myShapeIDs.size() > 1 ) // shape type is already choosen by user
+      myShapeIDs.size() > 1 ) // shape type is already chosen by user
   {
     GEOM_Displayer*   aDisplayer = getDisplayer();
     CORBA::String_var aMainEntry = myShape->GetStudyEntry();
index 45ecde755367553265afef8e73554dcc21f271a8..29b0692c2759ea77a8c64dac4ce8561836abb383 100644 (file)
@@ -908,7 +908,7 @@ void EntityGUI_SketcherDlg::Dir2Clicked( int constructorId )
 {
   InitClick();
   Group3Spin->SpinBox_DX->blockSignals(true); // Block signals in order not to modify
-  Group3Spin->SpinBox_DY->blockSignals(true); // defaut values
+  Group3Spin->SpinBox_DY->blockSignals(true); // default values
   Group3Spin->SpinBox_DZ->blockSignals(true);
   
   Group2Spin->SpinBox_DX->blockSignals(true);
@@ -1591,7 +1591,7 @@ void EntityGUI_SketcherDlg::LineEditReturnPressed()
      myEditCurrentArgument = Group2Sel->LineEdit2;
 
   /* 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.           */
   const QString objectUserName = myEditCurrentArgument->text();
   QWidget* thisWidget = (QWidget*)this;
@@ -1692,8 +1692,8 @@ void EntityGUI_SketcherDlg::closeEvent( QCloseEvent* e )
 void EntityGUI_SketcherDlg::OnPointSelected(Qt::KeyboardModifiers modifiers, const gp_Pnt& thePnt,
                                             bool isStart )
 {
-  // NOTE Basing the autoapply functionnality on the background picture has no sense anymore
-  // The import picture functionnality is now used for drawing on top of a picture
+  // NOTE Basing the autoapply functionality on the background picture has no sense anymore
+  // The import picture functionality is now used for drawing on top of a picture
   
 //   SUIT_ViewWindow*      theViewWindow  = getDesktop()->activeWindow();
 //   OCCViewer_ViewPort3d* vp             = ((OCCViewer_ViewWindow*)theViewWindow)->getViewPort();
index ee2a92aeb787b3096159eeb1f013bcde6dbc2dd7..aa56b107f36ecec11da60f5a361e500beec3705b 100644 (file)
@@ -322,7 +322,7 @@ TCollection_AsciiString GEOM_BaseObject::GetName()
     aName = aNameAttr->Get();
   // do not return pointer of local variable
   // return aName.ToCString();
-  // the following code could lead to memory leak, so take care about recieved pointer
+  // the following code could lead to memory leak, so take care about received pointer
   return aName;
 }
 
index 90faf13feca75632a95730280e45cb12ef2e8fb5..dd4bc10126af391032cf63bed182c38951086002 100644 (file)
@@ -518,7 +518,7 @@ bool GEOM_Engine::RemoveObject(Handle(GEOM_BaseObject)& theObject)
   if ( aFreeLabels.empty() || aFreeLabels.back() != aLabel )
     aFreeLabels.push_back(aLabel);
 
-  // we can't explicitely delete theObject. At least prevent its functioning
+  // we can't explicitly delete theObject. At least prevent its functioning
   // as an alive object when aLabel is reused for a new object
   theObject->_label = aLabel.Root();
   theObject->_ior.Clear();
@@ -666,7 +666,7 @@ TCollection_AsciiString GEOM_Engine::DumpPython(int theDocID,
   // a map containing copies of TObjectData from theObjectData
   TSting2ObjDataMap    aEntry2ObjData;
   // contains pointers to TObjectData of either aEntry2ObjData or theObjectData; the latter
-  // occures when several StudyEntries correspond to one Entry
+  // occurs when several StudyEntries correspond to one Entry
   TSting2ObjDataPtrMap aStEntry2ObjDataPtr;
 
   //Resource_DataMapOfAsciiStringAsciiString aEntry2StEntry, aStEntry2Entry, theObjectNames;
index e1cfd7b7d301b861a730bbaa41c5b7e4523b19b5..7353ccb5011d878453ed28d51738f0fa4df9d0f6 100644 (file)
@@ -89,11 +89,11 @@ typedef std::map<int, std::list<TDF_Label> > TFreeLabelsList;
 
 class GEOM_Engine
 {
- public:
+public:
   Standard_EXPORT GEOM_Engine();
   Standard_EXPORT virtual ~GEOM_Engine();
 
-  //Retuns the engine    
+  //Returns the engine
   Standard_EXPORT static GEOM_Engine* GetEngine();   
 
   //Returns the OCAF document by its ID, if document doesn't exists it will be created
@@ -173,10 +173,10 @@ class GEOM_Engine
   
   Standard_EXPORT bool DocumentModified(const int theDocId);
 
- protected:
+protected:
   Standard_EXPORT static void SetEngine(GEOM_Engine* theEngine);       
   
- private:
+private:
 
   Handle(GEOM_Application)  _OCAFApp;
   TColStd_DataMapOfIntegerTransient _mapIDDocument;
index 1c577599aed60e67310627558c5dc1ef14616c0b..4ff07261d6201441bcb786292c949df42eceb729 100644 (file)
@@ -46,7 +46,7 @@ namespace
 {
   //================================================================================
   /*!
-   * \brief Returns a funtion with a given type OR the 1st function
+   * \brief Returns a function with a given type OR the 1st function
    */
   //================================================================================
 
@@ -101,7 +101,7 @@ void GEOM_Field::Init(const Handle(GEOM_Object)&                     theShape,
 {
   Handle(GEOM_Function) fun = GetFunction(1);
   if ( !fun.IsNull() )
-    Standard_MultiplyDefined::Raise( "Reinitialization of GEOM_Field is forbiden" );
+    Standard_MultiplyDefined::Raise( "Reinitialization of GEOM_Field is forbidden" );
   fun = AddFunction( GetFieldID(), FUN_ADD_FIELD );
 
   GEOM_IField data( fun );
@@ -498,7 +498,7 @@ void GEOM_FieldStep::Init(const Handle(GEOM_Field)& theField,
 {
   Handle(GEOM_Function) fun = GetFunction(1);
   if ( !fun.IsNull() )
-    Standard_MultiplyDefined::Raise( "Reinitialization of GEOM_FieldStep is forbiden" );
+    Standard_MultiplyDefined::Raise( "Reinitialization of GEOM_FieldStep is forbidden" );
   fun = AddFunction( GEOM_Field::GetFieldID(), GEOM_Field::FUN_ADD_STEP );
 
   GEOM_IField data( fun );
index 92b3ff769205b23882c46b9839e00772e606c04a..ae158573704271aeeba875579f1d932ef7b0670f 100644 (file)
@@ -153,7 +153,7 @@ GEOM_Function::~GEOM_Function()
 
 //================================================================================
 /*!
- * \brief Retuns true if this function is the last one in the study
+ * \brief Returns true if this function is the last one in the study
  */
 //================================================================================
 
index 4e7f16f1e9f33eba436a095efc9f655955463385..9c6dd11f94ced081edab6469b992db5dc4cfc4f6 100644 (file)
@@ -172,7 +172,7 @@ public:
   //Returns true if the last method succided
   Standard_EXPORT bool IsDone() { return _isDone; }
 
-  //Retuns true if this function is the last one in the study
+  //Returns true if this function is the last one in the study
   Standard_EXPORT bool IsLastFuntion();
 
   //Returns a sequence of the external dependencies of this function
index 91ab6c010934c27707f1262fa9fcb8e6efd001a1..94e769894adfe730e2da6640f1220043bf34dcb8 100644 (file)
@@ -632,7 +632,7 @@ void GEOMAlgo_FinderShapeOn1::InnerPoints(const TopoDS_Face& aF,
       for (; aIt.More(); aIt.Next()) {
         iCnt=aIt.Value();
         if (iCnt>1) {
-          // take the first having occured inner link
+          // take the first having occurred inner link
           // and discretize it
           const GEOMAlgo_PassKey& aPK=aIt.Key();
           //
index 7140cc77fcdf5ae14e305699518aa3a08ba3d27f..a24738cdbc7296406c36583baedf6b2fcd0d919e 100644 (file)
@@ -187,7 +187,7 @@ Standard_Integer GEOMAlgo_GetInPlaceAPI::GetInPlaceOld
           if (aWhereDistance.IsDone() && aWhatDistance.IsDone() &&
               fabs(aWhereDistance.Value() - aWhatDistance.Value()) <= aTolConf)
           {
-            // 0020162: "EDF 961 GEOM : Getinplace is getting additionnal orthogonal faces"
+            // 0020162: "EDF 961 GEOM : Getinplace is getting additional orthogonal faces"
             // aVertex must be projected to the same point on Where and on What
             gp_Pnt pOnWhat  = aWhatDistance.PointOnShape2(1);
             gp_Pnt pOnWhere = aWhereDistance.PointOnShape2(1);
index 037ef847c4b5b6567c816e6edc2ec823d9f072b9..1bb4db0798a51692821ac939d02eaf931203cb44 100644 (file)
@@ -60,7 +60,7 @@ public:
                              GEOMAlgo_GetInPlace &theGIP);
 
   /*!
-   *  \brief Old implementation of GetInPlace algoritm.
+   *  \brief Old implementation of GetInPlace algorithm.
    *  This method searches among sub shapes of the shape theWhere parts that are
    *  coincident with the shape theWhat. The result list of shape is returned as
    *  an output parameter. It returns the error code with the following possible
index 94801bb5af906425efea64d038d39d0c312c424b..16758969d17433fdb71592885c05a48c81686b35 100644 (file)
@@ -219,7 +219,7 @@ void GEOMAlgo_GlueDetector::DetectVertices()
         //
         aNbVSD=aBBTree.Select(aSelector);
         if (!aNbVSD) {
-          continue;  // it shoild not be so [at least IP itself]
+          continue;  // it should not be so [at least IP itself]
         }
         //
         const TColStd_ListOfInteger& aLI=aSelector.Indices();
index c183e3ec694ff244ab8d623963e47e5182dace34..c38769a9abb432c5d390d4a0a7f431f7a9a7ed7e 100755 (executable)
@@ -836,7 +836,7 @@ bool GEOMBase_Helper::checkViewWindow()
 //================================================================
 // 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 GEOMBase_Helper::onAccept( const bool publish, const bool useTransaction, bool erasePreviewFlag )
@@ -955,7 +955,7 @@ bool GEOMBase_Helper::onAccept( const bool publish, const bool useTransaction, b
   catch( const SALOME::SALOME_Exception& e ) {
     SalomeApp_Tools::QtCatchCorbaException( e );
     abortCommand();
-    MESSAGE("Exception catched")
+    MESSAGE("Exception caught")
   }
 
   updateViewer();
index 637648cacd5ba65b4dde965c26172f00ca89dcdf..486aff4daf81c5afbdee186ac07a402ce05cad1e 100644 (file)
@@ -225,7 +225,7 @@ void GEOMBase_Skeleton::LineEditReturnPressed()
     return;
 
   /* 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.           */
   const QString objectUserName = myEditCurrentArgument->text();
   QWidget* thisWidget = (QWidget*)this;
index 355f22d7563a5abddaaa55d7bf3100176bc3ea66..8058076eb82748af7647f11d47ff2051eaf21ace 100644 (file)
@@ -57,7 +57,7 @@ namespace GEOM
     object that should be removed by the caller as soon as the object is no more required.
     For example, function GetSubShape() of the GEOM_IShapesOperation interface always creates
     new servant object and returns new object reference to it. If the object is not published
-    in the study, it has to be destroyed and the coresponding servant should be deleted.
+    in the study, it has to be destroyed and the corresponding servant should be deleted.
     
     Examples:
     \code
index bd364b92cdc2a3b35c94865f44f1334136307382..3503704e3740837b01f820647c5db996f6902ef4 100755 (executable)
@@ -943,7 +943,7 @@ void GEOM_Displayer::updateShapeProperties( const Handle(GEOM_AISShape)& AISShap
         study->setObjectProperty( aMgrId, entry, GEOM::propertyName( GEOM::Texture ), QString( GetTexture().c_str() ) );
         study->setObjectProperty( aMgrId, entry, GEOM::propertyName( GEOM::DisplayMode ), 3 );
         
-        // Update propeties map
+        // Update properties map
         propMap = getObjectProperties( study, entry, myViewFrame );
       }
     }
index fb9f79bba85da716b2da933da14110f13454c778..d9184ec540a9abd32417cd6b3923a9cb27b6cf77 100755 (executable)
@@ -192,7 +192,7 @@ public:
   virtual void  BeforeErase  ( SALOME_View*, const SALOME_OCCPrs* );
   virtual void  AfterErase   ( SALOME_View*, const SALOME_OCCPrs* );
 
-  /* This methos is used for activisation/deactivisation of objects to be displayed*/
+  /* This methods is used for activisation/deactivisation of objects to be displayed*/
   void          SetToActivate( const bool );
   bool          ToActivate() const;
 
index 22fc71ae4057efa175a10d360943da65a689f8c5..69e84b9f977d7188fde619532cf3224337431c40 100755 (executable)
@@ -970,7 +970,7 @@ Please, select face, shell or solid and try again</translation>
     </message>
     <message>
         <source>GEOM_INERTIA_TITLE</source>
-        <translation>Calculs Of Inertia</translation>
+        <translation>Calculus Of Inertia</translation>
     </message>
     <message>
         <source>GEOM_INF_LOADED</source>
@@ -1150,7 +1150,7 @@ Please, select face, shell or solid and try again</translation>
     </message>
     <message>
         <source>GEOM_MINDIST_TITLE</source>
-        <translation>Minimun Distance Between Two Objects</translation>
+        <translation>Minimum Distance Between Two Objects</translation>
     </message>
     <message>
         <source>GEOM_MIRROR</source>
@@ -1830,7 +1830,7 @@ Please, select face, shell or solid and try again</translation>
     </message>
     <message>
         <source>GEOM_SKETCHER_ADD_PARAMS</source>
-        <translation>Additionnal Parameters</translation>
+        <translation>Additional Parameters</translation>
     </message>
     <message>
         <source>GEOM_SKETCHER_ANGLE</source>
@@ -5210,7 +5210,7 @@ Please, select face, shell or solid and try again</translation>
     </message>
     <message>
         <source>GEOM_CLOSEDUNCLOSED</source>
-        <translation>Not defined, Closed or Opened. Possibly, error occured.</translation>
+        <translation>Not defined, Closed or Opened. Possibly, error occurred.</translation>
     </message>
     <message>
         <source>GEOM_DISK_CIRCLE</source>
index c024e3e65e2569efdd7e19f16cbd6b2a900066fa..26e15b106393d1ba781c4a0161ed0035c4d3e724 100755 (executable)
@@ -172,7 +172,7 @@ CORBA::Object_var GeometryGUI::ClientSObjectToObject (_PTR(SObject) theSObject)
       anObj = anORB->string_to_object(aValue.c_str());
     }
   } catch(...) {
-    INFOS("ClientSObjectToObject - Unknown exception was occured!!!");
+    INFOS("ClientSObjectToObject - Unknown exception has occurred!!!");
   }
   return anObj._retn();
 }
@@ -623,7 +623,7 @@ void GeometryGUI::OnGUIEvent( int id, const QVariant& theParam )
   case GEOMOp::OpFace:               // MENU BUILD - FACE
   case GEOMOp::OpShell:              // MENU BUILD - SHELL
   case GEOMOp::OpSolid:              // MENU BUILD - SOLID
-  case GEOMOp::OpCompound:           // MENU BUILD - COMPUND
+  case GEOMOp::OpCompound:           // MENU BUILD - COMPOUND
     libName = "BuildGUI";
     break;
   case GEOMOp::OpFuse:               // MENU BOOLEAN - FUSE
@@ -2976,7 +2976,7 @@ void GeometryGUI::storeVisualParameters (int savePoint)
         _PTR(SObject) obj( studyDS->FindObjectID( o_it.key().toLatin1().data() ) );
         if ( !obj || !(aProps.count() > 0))
           continue;
-        // entry is "encoded" = it does NOT contain component adress, since it is a
+        // entry is "encoded" = it does NOT contain component address, since it is a
         // subject to change on next component loading
 
         std::string entry = ip->encodeEntry(o_it.key().toLatin1().data(), componentName);
@@ -3150,7 +3150,7 @@ void GeometryGUI::restoreVisualParameters (int savePoint)
 
   for (std::vector<std::string>::iterator entIt = entries.begin(); entIt != entries.end(); ++entIt)
   {
-    // entry is a normal entry - it should be "decoded" (setting base adress of component)
+    // entry is a normal entry - it should be "decoded" (setting base address of component)
     QString entry (ip->decodeEntry(*entIt).c_str());
 
     // Check that the entry corresponds to a real object in the Study
index 51170847986b35624bba111097f081edf12c3a70..abfc738eaa38435dfec6a0ef047022f51eaf918d 100644 (file)
@@ -422,7 +422,7 @@ TopoDS_Shape GEOMImpl_BooleanDriver::performOperation
           TopoDS_Shape aStepResult = BO.Shape();
 
           // check result of this step: if it is a compound (boolean operations
-          // allways return a compound), we add all sub-shapes of it.
+          // always return a compound), we add all sub-shapes of it.
           // This allows to avoid adding empty compounds,
           // resulting from COMMON on two non-intersecting shapes.
           if (aStepResult.ShapeType() == TopAbs_COMPOUND) {
@@ -483,7 +483,7 @@ TopoDS_Shape GEOMImpl_BooleanDriver::performOperation
       }
       if (isCompound) {
         // check result of this step: if it is a compound (boolean operations
-        // allways return a compound), we add all sub-shapes of it.
+        // always return a compound), we add all sub-shapes of it.
         // This allows to avoid adding empty compounds,
         // resulting from CUT of parts
         if (aCut.ShapeType() == TopAbs_COMPOUND) {
@@ -584,7 +584,7 @@ TopoDS_Shape GEOMImpl_BooleanDriver::performOperation
           TopoDS_Shape aStepResult = BO.Shape();
 
           // check result of this step: if it is a compound (boolean operations
-          // allways return a compound), we add all sub-shapes of it.
+          // always return a compound), we add all sub-shapes of it.
           // This allows to avoid adding empty compounds,
           // resulting from SECTION on two non-intersecting shapes.
           if (aStepResult.ShapeType() == TopAbs_COMPOUND) {
index 6ac40c88693a9dfc5e5d7082de11e78d9aa9b47c..cf7bd0cc67eef62492d6cbee18aed18fdcc8a2af 100644 (file)
@@ -217,7 +217,7 @@ Standard_Integer GEOMImpl_ChamferDriver::Execute(Handle(TFunction_Logbook)& log)
   }
   else if (aType == CHAMFER_SHAPE_EDGES || aType == CHAMFER_SHAPE_EDGES_AD)
   {
-    // chamfer on selected edges with lenght param D1 & D2.
+    // chamfer on selected edges with length param D1 & D2.
 
     int aLen = aCI.GetLength();
     int ind = 1;
index 6d56d9355630a63fc687a0b63a34672312ddab70..20ab8d47fddc6e88259c0a16eab96bd0c1b7a884 100644 (file)
@@ -115,7 +115,7 @@ TopoDS_Shape GEOMImpl_GlueDriver::GlueFacesWithWarnings (const TopoDS_Shape& the
       Standard_Failure::Raise(MSG_BAD_ARG_SHAPE);
       break;
     case 200:
-      Standard_Failure::Raise("Error occured during check of geometric coincidence");
+      Standard_Failure::Raise("Error occurred during check of geometric coincidence");
       break;
     default:
       {
@@ -234,7 +234,7 @@ TopoDS_Shape GEOMImpl_GlueDriver::GlueFaces (const TopoDS_Shape& theShape,
       Standard_Failure::Raise("Result shape is Null");
       break;
     case 200:
-      Standard_Failure::Raise("Error occured during check of geometric coincidence");
+      Standard_Failure::Raise("Error occurred during check of geometric coincidence");
       break;
     default:
       {
index a4f76c11842d178717cbc30ec7d90a220e18015a..cbf78afd3d10d679ace9a90ce62b57346556b0f1 100644 (file)
@@ -148,10 +148,10 @@ GEOMImpl_IMeasureOperations::ShapeKind GEOMImpl_IMeasureOperations::KindOfShape
   }
   const GEOMAlgo_ShapeInfo& anInfo = aSF.Info();
 
-  // specific processing for some "advandced" objects
+  // specific processing for some "advanced" objects
   switch ( geom_type ) {
   case GEOM_MARKER:
-    // local coordinate systen
+    // local coordinate system
     // (+) geompy.kind.LCS  xc yc zc xx xy xz yx yy yz zx zy zz
 
     TopoDS_Face aFace = TopoDS::Face( aShape );
index abc02def73d8352fbf129560b3b02e7a048582b7..7767daa14728d3d606fefade8dd563da5fe67ae0 100644 (file)
@@ -198,7 +198,7 @@ class GEOMImpl_IMeasureOperations : public GEOM_IOperations {
   Standard_EXPORT Standard_Real GetAngleBtwVectors (Handle(GEOM_Object) theVec1, Handle(GEOM_Object) theVec2);
 
 
-  // Methods for recieving radiuses of curvature of curves and surfaces
+  // Methods for receiving radiuses of curvature of curves and surfaces
   // in the given point
   Standard_EXPORT Standard_Real CurveCurvatureByParam (Handle(GEOM_Object) theCurve,
                                                        Standard_Real& theParam);
index fd79eafa16861e2fd5b514f25a688dab25562277..17f3191dddc62a57040e978aa1f6188096a0921a 100644 (file)
@@ -3329,7 +3329,7 @@ Handle(TColStd_HSequenceOfInteger)
   // Default value=3
   aFinder.SetNbPntsMin(3);
   // Sets the maximal number of inner points for edges or faces.
-  // It is usefull for the cases when this number is very big (e.g =2000) to improve
+  // It is useful for the cases when this number is very big (e.g =2000) to improve
   // the performance. If this value =0, all inner points will be taken into account.
   // Default value=0
   aFinder.SetNbPntsMax(100);
@@ -4257,7 +4257,7 @@ Handle(TColStd_HSequenceOfInteger)
   // Default value=3
   aFinder.SetNbPntsMin(3);
   // Sets the maximal number of inner points for edges or faces.
-  // It is usefull for the cases when this number is very big (e.g =2000) to improve
+  // It is useful for the cases when this number is very big (e.g =2000) to improve
   // the performance. If this value =0, all inner points will be taken into account.
   // Default value=0
   aFinder.SetNbPntsMax(100);
index 655d7a79638afac35915eb26bf95285e42a744ee..269c7b008d3ae91df21fcf024863911b828a9825 100644 (file)
@@ -146,7 +146,7 @@ GEOMImpl_PipeDriver::GEOMImpl_PipeDriver()
 
 //=======================================================================
 //function : EvaluateBestSweepMode
-//purpose  : auxilary for right call of MakePipe and MakePipeShell
+//purpose  : auxiliary for right call of MakePipe and MakePipeShell
 //=======================================================================
 static GeomFill_Trihedron EvaluateBestSweepMode(const TopoDS_Shape& Spine)
 {
@@ -202,7 +202,7 @@ static Standard_Boolean BuildPipeShell(BRepOffsetAPI_MakePipeShell &theBuilder)
 
 //=======================================================================
 //function : FillForOtherEdges
-//purpose  : auxilary for CreatePipeForShellSections()
+//purpose  : auxiliary for CreatePipeForShellSections()
 //=======================================================================
 static bool FillForOtherEdges(const TopoDS_Shape& F1,
                               const TopoDS_Shape& E1,
@@ -278,7 +278,7 @@ static bool FillForOtherEdges(const TopoDS_Shape& F1,
 
 //=======================================================================
 //function : FillCorrespondingEdges
-//purpose  : auxilary for CreatePipeForShellSections()
+//purpose  : auxiliary for CreatePipeForShellSections()
 //=======================================================================
 static bool FillCorrespondingEdges(const TopoDS_Shape& FS1,
                                    const TopoDS_Shape& FS2,
@@ -406,7 +406,7 @@ static bool FillCorrespondingEdges(const TopoDS_Shape& FS1,
 
 //=======================================================================
 //function : FillCorrespondingEdges
-//purpose  : auxilary for CreatePipeShellsWithoutPath()
+//purpose  : auxiliary for CreatePipeShellsWithoutPath()
 //=======================================================================
 static bool FillCorrespondingEdges(const TopoDS_Shape& FS1,
                                    const TopoDS_Shape& FS2,
@@ -508,7 +508,7 @@ static bool FillCorrespondingEdges(const TopoDS_Shape& FS1,
 
 //=======================================================================
 //function : FindNextPairOfFaces
-//purpose  : auxilary for CreatePipeForShellSections()
+//purpose  : auxiliary for CreatePipeForShellSections()
 //=======================================================================
 static void FindNextPairOfFaces(const TopoDS_Shape& aCurFace,
                                 TopTools_IndexedDataMapOfShapeListOfShape& aMapEdgeFaces1,
@@ -578,7 +578,7 @@ static void FindNextPairOfFaces(const TopoDS_Shape& aCurFace,
 
 //=======================================================================
 //function : FindFirstPairFaces
-//purpose  : auxilary for Execute()
+//purpose  : auxiliary for Execute()
 //=======================================================================
 static void FindFirstPairFaces(const TopoDS_Shape& S1, const TopoDS_Shape& S2,
                                TopoDS_Vertex& V1, TopoDS_Vertex& V2,
@@ -700,7 +700,7 @@ static void FindFirstPairFaces(const TopoDS_Shape& S1, const TopoDS_Shape& S2,
 //function : RemoveFaces
 //purpose  : This function returns theShapeFrom without faces of the shape
 //           theFacesToRm. It returns a shell if theShapeFrom is a solid or
-//           a compound otherwise. Auxilary for CreatePipeWithDifferentSections
+//           a compound otherwise. Auxiliary for CreatePipeWithDifferentSections
 //           method.
 //=======================================================================
 static TopoDS_Shape RemoveFaces(const TopoDS_Shape &theShapeFrom,
@@ -1309,7 +1309,7 @@ TopoDS_Shape GEOMImpl_PipeDriver::CreatePipeWithDifferentSections
 
 //=======================================================================
 //function : CreatePipeForShellSections
-//purpose  : auxilary for Execute()
+//purpose  : auxiliary for Execute()
 //=======================================================================
 static TopoDS_Shape CreatePipeForShellSections(const TopoDS_Wire& aWirePath,
                                                GEOMImpl_IPipe* aCI)
@@ -2034,7 +2034,7 @@ static TopoDS_Shape CreatePipeForShellSections(const TopoDS_Wire& aWirePath,
 
 //=======================================================================
 //function : CreatePipeShellsWithoutPath
-//purpose  : auxilary for Execute()
+//purpose  : auxiliary for Execute()
 //=======================================================================
 static TopoDS_Shape CreatePipeShellsWithoutPath(GEOMImpl_IPipe* aCI)
 {
@@ -2154,13 +2154,13 @@ static TopoDS_Shape CreatePipeShellsWithoutPath(GEOMImpl_IPipe* aCI)
       if (aCI) delete aCI;
       Standard_ConstructionError::Raise("Can not create correct pipe");
     }
-    MESSAGE ("  correspondences for sub-shapes of first pair of faces is found");
+    MESSAGE ("  correspondences for sub-shapes of first pair of faces found");
 
     FindNextPairOfFaces(FS1, aMapEdgeFaces1, aMapEdgeFaces2, FF, aCI);
-    MESSAGE ("  other correspondences is found, make pipe for all pairs of faces");
+    MESSAGE ("  other correspondences found, make pipe for all pairs of faces");
 
     // make pipe for each pair of faces
-    // auxilary map vertex->edge for created pipe edges
+    // auxiliary map vertex->edge for created pipe edges
     TopTools_IndexedDataMapOfShapeShape VPE;
     ShapeAnalysis_Edge sae;
     //cout<<"FF.Extent()="<<FF.Extent()<<endl;
@@ -2225,7 +2225,7 @@ static TopoDS_Shape CreatePipeShellsWithoutPath(GEOMImpl_IPipe* aCI)
         if (VPE.Contains(E1)) {
           aNewFs.Append(VPE.FindFromKey(E1));
 #ifdef _DEBUG_
-          MESSAGE ("    using existed face");
+          MESSAGE ("    using existing face");
 #endif
           continue;
         }
@@ -2542,7 +2542,7 @@ static TopoDS_Shape CreatePipeShellsWithoutPath(GEOMImpl_IPipe* aCI)
 
 //=======================================================================
 //function : CreatePipeBiNormalAlongVector
-//purpose  : auxilary for Execute()
+//purpose  : auxiliary for Execute()
 //=======================================================================
 static TopoDS_Shape CreatePipeBiNormalAlongVector(const TopoDS_Wire& aWirePath,
                                                   GEOMImpl_IPipe* aCI)
@@ -2619,7 +2619,7 @@ static TopoDS_Shape CreatePipeBiNormalAlongVector(const TopoDS_Wire& aWirePath,
 
 //=======================================================================
 //function : FillGroups
-//purpose  : auxilary for DoGroups()
+//purpose  : auxiliary for DoGroups()
 //=======================================================================
 bool FillGroups(const TopTools_SequenceOfShape         *theGroups,
                 const TopTools_IndexedMapOfShape       &theIndices,
@@ -2652,7 +2652,7 @@ bool FillGroups(const TopTools_SequenceOfShape         *theGroups,
 
 //=======================================================================
 //function : StoreGroups
-//purpose  : auxilary for CreateGroups()
+//purpose  : auxiliary for CreateGroups()
 //=======================================================================
 void StoreGroups(GEOMImpl_IPipe                   *theCI,
                  Handle(TColStd_HArray1OfInteger) *theGroups)
@@ -2680,7 +2680,7 @@ void StoreGroups(GEOMImpl_IPipe                   *theCI,
 
 //=======================================================================
 //function : CreateDownUpGroups
-//purpose  : auxilary for DoGroups()
+//purpose  : auxiliary for DoGroups()
 //=======================================================================
 static bool CreateDownUpGroups(BRepPrimAPI_MakeSweep    *theSweep,
                                TopTools_SequenceOfShape *theGroups,
@@ -2745,7 +2745,7 @@ static bool CreateDownUpGroups(BRepPrimAPI_MakeSweep    *theSweep,
 
 //=======================================================================
 //function : DoGroups1
-//purpose  : auxilary for CreateGroups1()
+//purpose  : auxiliary for CreateGroups1()
 //=======================================================================
 bool DoGroups1 (const TopoDS_Shape          &theProfile,
                BRepOffsetAPI_MakePipeShell &theSweep,
@@ -2856,7 +2856,7 @@ bool DoGroups1 (const TopoDS_Shape          &theProfile,
 
 //=======================================================================
 //function : CreateGroups1
-//purpose  : auxilary for Execute()
+//purpose  : auxiliary for Execute()
 //=======================================================================
 bool CreateGroups1 (const TopoDS_Shape          &theProfile,
                    BRepOffsetAPI_MakePipeShell &theSweep,
@@ -2893,7 +2893,7 @@ bool CreateGroups1 (const TopoDS_Shape          &theProfile,
 
 //=======================================================================
 //function : DoGroups2
-//purpose  : auxilary for CreateGroups()
+//purpose  : auxiliary for CreateGroups()
 //=======================================================================
 static bool DoGroups2(const TopoDS_Shape             &theProfile,
                      const TopoDS_Shape             &thePath,
@@ -2981,7 +2981,7 @@ static bool DoGroups2(const TopoDS_Shape             &theProfile,
 
 //=======================================================================
 //function : CreateGroups
-//purpose  : auxilary for Execute()
+//purpose  : auxiliary for Execute()
 //=======================================================================
 static bool CreateGroups2(const TopoDS_Shape     &theProfile,
                          const TopoDS_Shape     &thePath,
index c70ba4969d34385f5f53b0e2b3a5b71a41ce5303..68fb9275656662d5d09246f05baff7ac247c3df9 100644 (file)
@@ -197,7 +197,7 @@ Standard_Integer GEOMImpl_PrismDriver::Execute(Handle(TFunction_Logbook)& log) c
     Standard_Real anAngle    = aCI.GetDraftAngle();         // Draft angle
     Standard_Boolean isProtrusion = (aCI.GetFuseFlag()==1); 
     Standard_Boolean isInvert = aCI.GetInvertFlag();
-    // Flag to know wether the feature is a protrusion (fuse) or a depression (cut)
+    // Flag to know whether the feature is a protrusion (fuse) or a depression (cut)
     
     // history of the Base wire (RefBase)
     Handle(GEOM_Object) aSuppObj;
index c72b15eb6328b511f287eaea89453be76eebd8e2..afc182e6d040610d63c78533e9c50e20ce2a1dc2 100644 (file)
@@ -127,8 +127,8 @@ Standard_Integer GEOMImpl_ThruSectionsDriver::Execute(Handle(TFunction_Logbook)&
   }
 
   if ( !GEOMUtils::CheckShape(aShape) && !GEOMUtils::FixShapeTolerance(aShape) ) {
-    //algoritm thru section creats on the arcs invalid shapes gka
-    //  Standard_ConstructionError::Raise("Algorithm have produced an invalid shape result");
+    //algorithm through section creates on the arcs invalid shapes gka
+    //  Standard_ConstructionError::Raise("Algorithm has produced an invalid shape result");
   }
 
   aFunction->SetValue(aShape);
index 8bee52fadb369fbd0d11604e9626e52a73f39ea9..20201f79912bf5e871f4324120899ef4a908ae46 100644 (file)
@@ -323,7 +323,7 @@ namespace GEOMUtils
   /*!
    * \brief Extract single SOLID from COMPSOLID or COMPOUND.
    *
-   * If the argument shape is a COMPUND or COMPSOLID and there's
+   * If the argument shape is a COMPOUND or COMPSOLID and there's
    * only single simple-shape type inside, this sub-shape is returned as a result;
    * otherwise, the shape is not changed.
    *
index 63064b051149a7e541fa5ce3f2485adf9b7abceb..7ccc970dd0e14bdc1dba09a1638bdd9e876f5253 100644 (file)
@@ -262,7 +262,7 @@ SALOMEDS::SObject_ptr GEOM_Gen_i::PublishInStudy(SALOMEDS::Study_ptr   theStudy,
   // BEGIN: try to find existed name for current shape
   if ( !aShape->_is_nil() && mytype != GEOM_GROUP)
   {
-    // recieve current TopoDS shape
+    // receive current TopoDS shape
     CORBA::String_var entry = aShape->GetEntry();
     Handle(::GEOM_Object) aGShape = Handle(::GEOM_Object)::DownCast
       ( _impl->GetObject( aShape->GetStudyID(), entry ));
@@ -450,7 +450,7 @@ SALOMEDS::SObject_ptr GEOM_Gen_i::PublishInStudy(SALOMEDS::Study_ptr   theStudy,
 
 //============================================================================
 // function : CreateAndPublishGroup
-// purpose  : auxilary for PublishNamedShapesInStudy
+// purpose  : auxiliary for PublishNamedShapesInStudy
 //============================================================================
 void GEOM_Gen_i::CreateAndPublishGroup(SALOMEDS::Study_ptr theStudy,
                                        GEOM::GEOM_Object_var theMainShape,
@@ -2503,7 +2503,7 @@ void GEOM_Gen_i::LoadPlugin(const std::string& theLibName)
     // load plugin library
     LibHandle libHandle = LoadLib( aPlatformLibName.c_str() );
     if (!libHandle) {
-      // report any error, if occured
+      // report any error, if occurred
 #ifndef WIN32
       throw(SALOME_Exception(dlerror()));
 #else
index 34641ec7ece1f483e477d309a265aea3d83856fd..3413d9d971cd41dd95c69edbf5b2ec44949b3277 100644 (file)
@@ -364,7 +364,7 @@ class GEOM_I_EXPORT GEOM_Gen_i: virtual public POA_GEOM::GEOM_Gen, virtual publi
                                                  GEOM::find_shape_method theFindMethod,
                                                  CORBA::Boolean          theAddPrefix);
 
-  // auxilary for PublishNamedShapesInStudy
+  // auxiliary for PublishNamedShapesInStudy
   void CreateAndPublishGroup(SALOMEDS::Study_ptr theStudy,
                              GEOM::GEOM_Object_var theMainShape,
                              const TopTools_IndexedMapOfShape& anIndices,
index 80b55c2c18473fb40a9750e53b27bde39d2bee78..09fe8344a5ee793df930d08bf802f67523d3ddb8 100644 (file)
@@ -141,7 +141,7 @@ class GEOM_I_EXPORT GEOM_IMeasureOperations_i :
   CORBA::Double GetAngleBtwVectors (GEOM::GEOM_Object_ptr theShape1,
                                     GEOM::GEOM_Object_ptr theShape2);
 
-  // Methods for recieving radiuses of curvature of curves and surfaces
+  // Methods for receiving radiuses of curvature of curves and surfaces
   // in the given point
   CORBA::Double CurveCurvatureByParam (GEOM::GEOM_Object_ptr theCurve,
                                        CORBA::Double theParam);
index a6e18abac4e380c4ac18f92a7b2f5e91fcf2e7ee..27d70d002ecd8c69b14f3542e423be635d15b9ba 100644 (file)
@@ -230,13 +230,13 @@ class GeomStudyTools:
 
     ## Display the geometrical shape whose entry is given by \em entry. 
     #  You should prefer use this function instead of the
-    #  displayShapeByName() which can have an unpredictible behavior in 
+    #  displayShapeByName() which can have an unpredictable behavior in 
     #  the case where several objects exist with the same name in the study.
     def displayShapeByEntry(self, shapeStudyEntry, color = None, fit=True):
         """
         Display the geometrical shape whose entry is given by
         `entry`. You should prefer use this function instead of the
-        displayShapeByName which can have an unpredictible behavior in
+        displayShapeByName which can have an unpredictable behavior in
         the case where several objects exist with the same name in the
         study.
         """
@@ -271,7 +271,7 @@ class GeomStudyTools:
     # Helper functions for a complete suppression of a shape from the
     # SALOME session.
     # ======================================================================
-    ## This completly deletes a geom shape.
+    ## This completely deletes a geom shape.
     #  \warning Please be aware that to delete a geom object, 
     #  you have three operations to perform:
     #    
@@ -280,7 +280,7 @@ class GeomStudyTools:
     #  3. destroy the underlying geom object
     def deleteShape(self,shapeStudyEntry):
         """
-        This completly deletes a geom shape.
+        This completely deletes a geom shape.
         
         WARNING: please be aware that to delete a geom object, you have
         three operations to perform:
@@ -416,7 +416,7 @@ def TEST_createAndDeleteShape():
     gst.eraseShapeByEntry(sphereStudyEntry)
 
     # --------------------------------------------------
-    # In this last example, we completly delete an object from the
+    # In this last example, we completely delete an object from the
     # SALOME session (erase from viewer, remove from study and finnaly
     # destroy the object). This is done by a simple call to
     # deleteShape().
index 84bca3961caaea8dc7d7a3dd3745fe9508e1df53..2e4c98292ac474994e0b41bb88e0706cd7a5369e 100644 (file)
@@ -51,7 +51,7 @@ Example::
     geompy = geomBuilder.New(salome.myStudy)
     geompy.addToStudy( wire, 'mysketch' )
 
-Additionnal examples can be found as unit tests in the source code.
+Additional examples can be found as unit tests in the source code.
 """
 
 geompyEnable = True
index 00b2d7a9814bfa4a0af2d7a60345eb4a6cea5e46..1d8b6b9c49e97602391bedd259cb0663c2cbc3c9 100644 (file)
@@ -325,7 +325,7 @@ def TestAll (geompy, math):
   MultiRot2Dt  = geompy.MultiRotate2DNbTimes(Chamfer, vx, nbtimes1, step1, nbtimes2)
   MultiRot2Ds  = geompy.MultiRotate2DByStep(Chamfer, vx, angle1, nbtimes1, step1, nbtimes2)
 
-  #Create Informations objects
+  #Create Information objects
   CDG        = geompy.MakeCDG(Prism)               #(GEOM_Object)->GEOM_Object
   Archimede  = geompy.Archimede(Box, weight, waterdensity,
                                 meshingdeflection) #(GEOM_Object, 3 Doubles)->GEOM_Object
index 0b20c5e6eeda21be885d123177c1fa662c4b0ef4..afad24292b0bcf41eb6bf18256f313c97c68b5ab 100644 (file)
@@ -818,7 +818,7 @@ def TestOtherOperations (geompy, math):
     for aface in afaces:
       ssname = "Reflection of face " + `ifa` + " of box " + `ibb` + " (by history)"
       if ibb == 6 and (ifa == 2 or ifa == 4):
-        # use IDL interface directly to avoid error message appearence in Python console
+        # use IDL interface directly to avoid error message appearance in Python console
         refl_box_face = geompy.ShapesOp.GetInPlaceByHistory(part, aface)
         if refl_box_face is not None:
           geompy.addToStudyInFather(part, refl_box_face, ssname)
index c776a0366808ec9cd6dd4e2360aae488ac22b06a..ee95adf8b21492ededd8b2dfecb8b9c4045ce02f 100755 (executable)
@@ -255,7 +255,7 @@ def MakeRotation(g, pt, ve, angle):
 
 def MakeMirrorByPoint(s, point):
     """
-    Creates a symmetric object by point symetry
+    Creates a symmetric object by point symmetry
     """
     return fkl
 
@@ -263,7 +263,7 @@ def MakeMirrorByPoint(s, point):
 
 def MakeMirrorByLine(s, line):
     """
-    Creates a symmetric object by line symetry
+    Creates a symmetric object by line symmetry
     """
     return fkl
 
@@ -271,7 +271,7 @@ def MakeMirrorByLine(s, line):
 
 def MakeMirrorByPlane(s, pt, ve):
     """
-    Creates a symmetric object by plane symetry defined by a point and a normal vector
+    Creates a symmetric object by plane symmetry defined by a point and a normal vector
     """
     p = plane(pt, ve)
     r = geompy.MakeMirrorByplane(s, p)
@@ -301,7 +301,7 @@ def mergePointsNearBy(l, v):
     """
     return fkl
 
-# Acces operators
+# Access operators
 # ---------------
 
 def getCoords(v):
index 5de7403b30c000a3a5761f8dced603a1f75fc53c..d8945d2fcc35a08c929267d2de6ed249e81b65fd 100644 (file)
 ## 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.<BR>
         #  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, ... )
index 965f17c96508c9bdede516d97505ff74f1b9c6e7..b9f8a5b3ec386368b42f638dcde6b2a968917572 100644 (file)
@@ -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.
 #  @}
 
 """
index 9a810d39cacb2b6b723f833985f4420af152f541..2d33069795d68d3b8ef06038c4d42278cc109fce 100644 (file)
@@ -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 )
index a7ce624ec35f4e87a713f93b9ae5da102c363753..9566f50f7145563d1cf84c6bf8eef8a6f1c08f6b 100644 (file)
@@ -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();
 
index 21875cc48cebae7346e06b8c7897556211fdb1b5..37a216463118835626a674c15ee8383f1912066d 100755 (executable)
@@ -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.
index 06d3cba253623381b7e5b64c4be557bb59d761af..47a2f38de644582aa62b1736111c26ceae2a6e09 100644 (file)
@@ -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.
 //=================================================================================
index fa53c1aa07120a61aedb278bcc5751b5a5e47c6c..ed4673e152f29970b9f65be88daa53b7bbd250dd 100644 (file)
@@ -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 )
   {
index dcab485c9bd3c264a1067c1e22f13c2367f65c6c..dceb80c09f654b3f25cb3b1447e2200bf729930a 100644 (file)
@@ -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 ) {
index 360a4911e11521e6b1b0f51bc565bc97ab6e9a6f..3594a1b6d6c78d5d81f4a975ecf11bc7558faa3b 100755 (executable)
@@ -100,7 +100,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
index 663ccdc90a952a3bdf49ecf786ce16131337adec..132aad55f92d93e07e3d97d180da104bbebb87a1 100644 (file)
@@ -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
index cf4d33ba9f904ba7906f47cf3e45c8638148c0e0..2e178397ef6fae2ce7ae089b14f6a19a34be68d8 100644 (file)
@@ -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()
index 11ae185f2b5d5840fd408daee56e760551575c3b..5881526bda56446dcd2b9b2cb55602a35e697072 100644 (file)
@@ -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()
index 37880e93ed5d618c8762aba8a091627bb329bf6b..c073038e7241562a32e98a35a6be241d19002599 100755 (executable)
@@ -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.
 }
index 4ef3992635d3c76d9de693529d3c7fe250d3ea84..568aaa40d20535b56beac44bca50b173de16c256 100644 (file)
@@ -137,7 +137,7 @@ Standard_Integer STEPPlugin_ExportDriver::Execute(Handle(TFunction_Logbook)& log
   }
   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;
 }
index 80a8da539972721acfce12ca450e069ad829412e..609fca612c5f64e081f63de31ee50150d76c60f5 100644 (file)
@@ -112,7 +112,7 @@ Standard_Integer STLPlugin_ExportDriver::Execute(Handle(TFunction_Logbook)& log)
   }
   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;
 }
index 3aab7d9769d83c04dd3dff681ef9cfda14bf9eea..0cca15c0b123fbdde5bf30ccf5ac6ee6e2ad67ab 100644 (file)
@@ -45,10 +45,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
index 5eaa14a8f074688cd4ac6b69e5aa47cdd2e87ed4..37508ce73ff19c6ab7c7dd97351b7869895febd2 100644 (file)
@@ -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);
index 2afe07bb24daa49c0905c89885317be0a869eab2..ede77dbe864b87a3d3f40f758cc9dd9185282102 100644 (file)
@@ -50,7 +50,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,
index 8b11a8f1e2a7705d6299b9961e9aad945452c5a4..869be89b94ecc084184b91d5b65e8c70ff3e20ae 100644 (file)
@@ -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);
index 252dba9f48d9cf2828638ba2e2480cb8d248252f..1a9eebb7d8a72f5b3ae20e7e6e84fb765da9b182 100644 (file)
@@ -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,
index 70a65d688d21fc6d56161a6725e8e87d2906e496..058f9c706d322c51fbe703124457fc5a3df6f632 100644 (file)
@@ -359,7 +359,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)) {
index 8202ed935b84cd83dccfc5a1421c4596b861fe3a..a16c63bb3535e11eed18f44d185f1a35a55f0687 100644 (file)
@@ -52,7 +52,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,
index 7c3da9738649482610b66406b97a607a73eb6ef3..144535585fa7468f7d045240492c707ed2825985 100644 (file)
@@ -49,7 +49,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.
   
index 76b2ea9354fbb30e90c7a29089ed009612790fc9..f945d601aa0dc0d1c6441572d59939158fc7c1d1 100644 (file)
@@ -47,10 +47,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
index 8044f8bb0bce28a7a48ae6d8559400cc0fa05760..519b25f2e02ee08c0d57c11df7dc46153fcd8829 100644 (file)
@@ -49,10 +49,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.
index c0797279676ea75fc72bb249ffe36a1502e15ab5..665085f583ecf994d87a0f692d18f0957be5605a 100644 (file)
@@ -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
   {
index 9ba1395c41e0cef5232841a62a0ab9cb8acb77c4..497ad04ada62166e67c7dbbe80efb4628e71d653 100644 (file)
@@ -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;
index 9595d68525861cbf378259e90a7ce4c9503bc943..d3bc3a361f37cbb96d754d907e50dbe9ff9ec1ca 100644 (file)
@@ -100,13 +100,13 @@ Standard_Integer VTKPlugin_ExportDriver::Execute(Handle(TFunction_Logbook)& log)
     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;
 }
index db3c162b0f1bb44b2a960f6035f557ac0f4e3b09..f59edc305ecf375b2fed54ce5c62571c59669e33 100644 (file)
@@ -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);
index 5d2c373dabf5d1e156d47c8ebda82af22ec01afe..be5dcff2a7d7faf66b4e00177bb7d01fc9a07471 100644 (file)
@@ -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.