From a9fe5759c52e7f225c6b1403bf93fc97c10874b9 Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 28 Dec 2017 14:38:33 +0300 Subject: [PATCH] Typo-fix by Kunda http://www.salome-platform.org/forum/forum_9/22126441 --- idl/GEOM_Gen.idl | 22 ++++++------- .../AdvancedEngine_IOperations.cxx | 4 +-- .../AdvancedEngine_PipeTShapeDriver.cxx | 4 +-- src/BasicGUI/BasicGUI_PointDlg.cxx | 6 ++-- src/BlockFix/BlockFix.cxx | 2 +- src/CurveCreator/CurveCreator_UtilsICurve.hxx | 2 +- src/CurveCreator/CurveCreator_Widget.cxx | 2 +- src/EntityGUI/EntityGUI_FieldDlg.cxx | 2 +- src/EntityGUI/EntityGUI_SketcherDlg.cxx | 2 +- src/GEOM/GEOM_IField.hxx | 2 +- src/GEOMAlgo/GEOMAlgo_ShapeInfo.cxx | 2 +- src/GEOMBase/GEOMBase.h | 2 +- src/GEOMBase/GEOMBase_Helper.cxx | 2 +- src/GEOMBase/GEOMBase_Helper.h | 2 +- src/GEOMGUI/GEOMGUI_DimensionProperty.h | 22 ++++++------- src/GEOMGUI/GEOM_Displayer.cxx | 4 +-- src/GEOMGUI/GEOM_Displayer.h | 2 +- src/GEOMImpl/GEOMImpl_ArchimedeDriver.cxx | 2 +- src/GEOMImpl/GEOMImpl_GlueDriver.cxx | 6 ++-- src/GEOMImpl/GEOMImpl_HealingDriver.cxx | 2 +- src/GEOMImpl/GEOMImpl_IArc.hxx | 2 +- src/GEOMImpl/GEOMImpl_IArchimede.hxx | 2 +- src/GEOMImpl/GEOMImpl_IBoolean.hxx | 2 +- src/GEOMImpl/GEOMImpl_IBox.hxx | 2 +- src/GEOMImpl/GEOMImpl_ICircle.hxx | 2 +- src/GEOMImpl/GEOMImpl_ICone.hxx | 2 +- src/GEOMImpl/GEOMImpl_ICopy.hxx | 2 +- src/GEOMImpl/GEOMImpl_ICylinder.hxx | 2 +- src/GEOMImpl/GEOMImpl_IDisk.hxx | 2 +- src/GEOMImpl/GEOMImpl_IEllipse.hxx | 2 +- src/GEOMImpl/GEOMImpl_IExtract.hxx | 2 +- src/GEOMImpl/GEOMImpl_IFace.hxx | 2 +- src/GEOMImpl/GEOMImpl_IFilling.hxx | 2 +- src/GEOMImpl/GEOMImpl_IImportExport.hxx | 2 +- src/GEOMImpl/GEOMImpl_ILine.hxx | 2 +- src/GEOMImpl/GEOMImpl_IOffset.hxx | 2 +- src/GEOMImpl/GEOMImpl_IPartition.hxx | 2 +- src/GEOMImpl/GEOMImpl_IPipe.hxx | 2 +- src/GEOMImpl/GEOMImpl_IPipeDiffSect.hxx | 2 +- src/GEOMImpl/GEOMImpl_IPipeShellSect.hxx | 2 +- src/GEOMImpl/GEOMImpl_IPlane.hxx | 2 +- src/GEOMImpl/GEOMImpl_IPosition.hxx | 2 +- src/GEOMImpl/GEOMImpl_IPrism.hxx | 2 +- src/GEOMImpl/GEOMImpl_IRevolution.hxx | 2 +- src/GEOMImpl/GEOMImpl_IScale.hxx | 2 +- src/GEOMImpl/GEOMImpl_IShapeExtend.hxx | 2 +- src/GEOMImpl/GEOMImpl_ISphere.hxx | 2 +- src/GEOMImpl/GEOMImpl_IThruSections.hxx | 2 +- src/GEOMImpl/GEOMImpl_ITorus.hxx | 2 +- src/GEOMImpl/GEOMImpl_ITransferData.cxx | 2 +- src/GEOMImpl/GEOMImpl_ITransferData.hxx | 2 +- src/GEOMImpl/GEOMImpl_ITranslate.hxx | 2 +- src/GEOMImpl/GEOMImpl_PipeDriver.cxx | 6 ++-- src/GEOMImpl/GEOMImpl_PolylineDumper.cxx | 2 +- src/GEOMToolsGUI/GEOMToolsGUI.cxx | 2 +- src/GEOMToolsGUI/GEOMToolsGUI_1.cxx | 2 +- .../GEOMToolsGUI_MaterialPropertiesDlg.cxx | 2 +- src/GEOMUtils/GEOMUtils.hxx | 6 ++-- src/GEOM_I/GEOM_Gen_i.cc | 8 ++--- src/GEOM_I/GEOM_IMeasureOperations_i.cc | 2 +- src/GEOM_SWIG/GEOM_TestHealing.py | 2 +- src/GEOM_SWIG/GEOM_blocks.py | 2 +- src/GEOM_SWIG/geomBuilder.py | 24 +++++++------- src/GEOM_SWIG_WITHIHM/libGEOM_Swig.cxx | 2 +- src/Material/Material_ResourceMgr.cxx | 4 +-- .../MeasureGUI_DimensionCreateTool.cxx | 2 +- src/OBJECT/GEOM_Annotation.cxx | 2 +- src/OBJECT/GEOM_Annotation.hxx | 8 ++--- src/RepairGUI/RepairGUI_ShapeProcessDlg.cxx | 2 +- src/SKETCHER/Sketcher_Profile.cxx | 32 +++++++++---------- src/ShHealOper/ShHealOper_EdgeDivide.cxx | 4 +-- src/ShHealOper/ShHealOper_EdgeDivide.hxx | 2 +- src/ShHealOper/ShHealOper_ShapeProcess.hxx | 4 +-- 73 files changed, 139 insertions(+), 139 deletions(-) diff --git a/idl/GEOM_Gen.idl b/idl/GEOM_Gen.idl index 7241c256d..cd8f8c808 100644 --- a/idl/GEOM_Gen.idl +++ b/idl/GEOM_Gen.idl @@ -391,7 +391,7 @@ module GEOM * * This function is useful for the compounds only; for simple shapes it * exactly the same value as GetShapeType(). - * Note, that compounds are procesed recursively. + * Note, that compounds are processed recursively. * * \sa GetShapeType(), GetTopologyType(), GetMaxShapeType() */ @@ -402,7 +402,7 @@ module GEOM * * This function is useful for the compounds only; for simple shapes it * exactly the same value as GetShapeType(). - * Note, that compounds are procesed recursively. + * Note, that compounds are processed recursively. * * \sa GetShapeType(), GetTopologyType(), GetMinShapeType() */ @@ -1903,7 +1903,7 @@ module GEOM * \param theBase Base shape to be extruded. * \param thePath Path shape to extrude the base shape along it. * \param theVec Vector defines a constant binormal direction to keep the - * same angle beetween the Direction and the sections + * same angle between the Direction and the sections * along the sweep surface. * \param IsGenerateGroups flag that tells if it is necessary to * return groups (true) or not (false). @@ -4184,8 +4184,8 @@ module GEOM SALOMEDS::TMPFile GetTexture(in long theID, out long theWidth, out long theHeight); /*! - * \brief Get list of all avaiable texture IDs - * \return list of all texture IDs avaiable for the current study + * \brief Get list of all available texture IDs + * \return list of all texture IDs available for the current study */ ListOfLong GetAllTextures(); @@ -4544,7 +4544,7 @@ module GEOM /*! * \brief Detect self-intersections of the given shape with algorithm based on mesh intersections. * \param theShape Shape to check validity of. - * \param theDeflection Linear deflection coefficient that specifies quality of tesselation. + * \param theDeflection Linear deflection coefficient that specifies quality of tessellation. * \param theTolerance Specifies a distance between sub-shapes used for detecting gaps: * - if \a theTolerance <= 0, algorithm detects intersections * - if \a theTolerance > 0, algorithm detects gaps @@ -4557,9 +4557,9 @@ module GEOM out ListOfLong theIntersections); /*! - * \brief Check boolean and partition operations agruments. - * \param theShape the agrument of an operation to be checked. - * \return TRUE if the agrument is valid for a boolean or partition + * \brief Check boolean and partition operations arguments. + * \param theShape the argument of an operation to be checked. + * \return TRUE if the argument is valid for a boolean or partition * operation; FALSE otherwise. */ boolean CheckBOPArguments (in GEOM_Object theShape); @@ -4571,7 +4571,7 @@ module GEOM * \param theTolerance Specifies a distance between shapes used for detecting gaps: * - if \a theTolerance <= 0, algorithm detects intersections * - if \a theTolerance > 0, algorithm detects gaps - * \param theDeflection Linear deflection coefficient that specifies quality of tesselation: + * \param theDeflection Linear deflection coefficient that specifies quality of tessellation: * - if \a theDeflection <= 0, default deflection 0.001 is used * \param theIntersections1 Output: contains list of sub-shapes IDs from 1st shape that localize intersection * \param theIntersections2 Output: contains list of sub-shapes IDs from 2nd shape that localize intersection @@ -5044,7 +5044,7 @@ module GEOM /*! * \brief Returns a GEOM_Object defined by its IOR - * \param theIOR a string containg an IOR of the requested GEOM_Object + * \param theIOR a string containing an IOR of the requested GEOM_Object */ GEOM_Object GetIORFromString (in string theIOR); diff --git a/src/AdvancedEngine/AdvancedEngine_IOperations.cxx b/src/AdvancedEngine/AdvancedEngine_IOperations.cxx index 4af7dd3b6..1641097db 100644 --- a/src/AdvancedEngine/AdvancedEngine_IOperations.cxx +++ b/src/AdvancedEngine/AdvancedEngine_IOperations.cxx @@ -1832,7 +1832,7 @@ TopoDS_Shape AdvancedEngine_IOperations::MakeThicknessReduction (gp_Ax2 theAxes, StdFail_NotDone::Raise("Cannot build cones of thickness reduction"); BRepAlgoAPI_Cut cut1 (ConeExt.Shape(), ConeInt.Shape()); if (!cut1.IsDone()) - StdFail_NotDone::Raise("Coudn't build transition part of thickness reduction"); + StdFail_NotDone::Raise("Couldn't build transition part of thickness reduction"); TopoDS_Shape aReduction = cut1.Shape(); // Build the thin part, if required @@ -1846,7 +1846,7 @@ TopoDS_Shape AdvancedEngine_IOperations::MakeThicknessReduction (gp_Ax2 theAxes, StdFail_NotDone::Raise("Cannot build cylinders of thickness reduction"); BRepAlgoAPI_Cut cut2 (CExt.Shape(), CInt.Shape()); if (!cut2.IsDone()) - StdFail_NotDone::Raise("Coudn't build thin part of thickness reduction"); + StdFail_NotDone::Raise("Couldn't build thin part of thickness reduction"); aThinPart = cut2.Shape(); } diff --git a/src/AdvancedEngine/AdvancedEngine_PipeTShapeDriver.cxx b/src/AdvancedEngine/AdvancedEngine_PipeTShapeDriver.cxx index 4549680fb..dffa0b5f5 100644 --- a/src/AdvancedEngine/AdvancedEngine_PipeTShapeDriver.cxx +++ b/src/AdvancedEngine/AdvancedEngine_PipeTShapeDriver.cxx @@ -338,13 +338,13 @@ TopoDS_Shape AdvancedEngine_PipeTShapeDriver::MakePipeTShape (const double r1, c // Remove small radius main pipe BRepAlgoAPI_Cut cut1 (fuse1.Shape(), C1Int.Shape()); if (!cut1.IsDone()) { - StdFail_NotDone::Raise("Coudn't cut cylinders"); + StdFail_NotDone::Raise("Couldn't cut cylinders"); } // Remove small radius incident pipe => Te BRepAlgoAPI_Cut Te (cut1.Shape(), C2Int.Shape()); if (!Te.IsDone()) { - StdFail_NotDone::Raise("Coudn't cut cylinders"); + StdFail_NotDone::Raise("Couldn't cut cylinders"); } TopoDS_Shape aShape = Te.Shape(); diff --git a/src/BasicGUI/BasicGUI_PointDlg.cxx b/src/BasicGUI/BasicGUI_PointDlg.cxx index 66326b97d..5d7668a8a 100644 --- a/src/BasicGUI/BasicGUI_PointDlg.cxx +++ b/src/BasicGUI/BasicGUI_PointDlg.cxx @@ -683,7 +683,7 @@ void BasicGUI_PointDlg::CheckBoxClicked() //================================================================================= -// funcion : getParameter() +// function : getParameter() // purpose : //================================================================================= double BasicGUI_PointDlg::getParameter() const @@ -693,7 +693,7 @@ double BasicGUI_PointDlg::getParameter() const //================================================================================= -// funcion : getUParameter() +// function : getUParameter() // purpose : //================================================================================= double BasicGUI_PointDlg::getUParameter() const @@ -703,7 +703,7 @@ double BasicGUI_PointDlg::getUParameter() const //================================================================================= -// funcion : getVParameter() +// function : getVParameter() // purpose : //================================================================================= double BasicGUI_PointDlg::getVParameter() const diff --git a/src/BlockFix/BlockFix.cxx b/src/BlockFix/BlockFix.cxx index 3c095f058..30f2505d9 100644 --- a/src/BlockFix/BlockFix.cxx +++ b/src/BlockFix/BlockFix.cxx @@ -95,7 +95,7 @@ static void FixResult(const TopoDS_Shape& result, { for (TopExp_Explorer ex_f(result,TopAbs_FACE); ex_f.More(); ex_f.Next()) { TopoDS_Shape aShape = Context->Apply(ex_f.Current().Oriented(TopAbs_FORWARD)); - // face coud not be dropped or splitted on this step + // face could not be dropped or split on this step TopoDS_Face aFace = TopoDS::Face(aShape); TopLoc_Location L; Handle(Geom_Surface) Surf = BRep_Tool::Surface(aFace,L); diff --git a/src/CurveCreator/CurveCreator_UtilsICurve.hxx b/src/CurveCreator/CurveCreator_UtilsICurve.hxx index 33af24245..804c81737 100644 --- a/src/CurveCreator/CurveCreator_UtilsICurve.hxx +++ b/src/CurveCreator/CurveCreator_UtilsICurve.hxx @@ -58,7 +58,7 @@ public: CurveCreator_ICurve* theCurve ); /** - * Returns whethe the container has the value + * Returns whether the container has the value * \param theList a container of values * \param theValue a value */ diff --git a/src/CurveCreator/CurveCreator_Widget.cxx b/src/CurveCreator/CurveCreator_Widget.cxx index a76f408f1..ae0c67d91 100644 --- a/src/CurveCreator/CurveCreator_Widget.cxx +++ b/src/CurveCreator/CurveCreator_Widget.cxx @@ -1591,7 +1591,7 @@ void CurveCreator_Widget::convert( const CurveCreator_ICurve::SectionToPointList } /** - * Returns whethe the container has the value + * Returns whether the container has the value * \param theList a container of values * \param theValue a value */ diff --git a/src/EntityGUI/EntityGUI_FieldDlg.cxx b/src/EntityGUI/EntityGUI_FieldDlg.cxx index 58d99914e..f74de4a98 100644 --- a/src/EntityGUI/EntityGUI_FieldDlg.cxx +++ b/src/EntityGUI/EntityGUI_FieldDlg.cxx @@ -485,7 +485,7 @@ void EntityGUI_FieldDlg::StepTable::setEditable (bool isEditable, //======================================================================= // name : EntityGUI_FieldDlg::StepTable::isEditable -// Purpose : Verify wheter cell is editable +// Purpose : Verify whether cell is editable //======================================================================= bool EntityGUI_FieldDlg::StepTable::isEditable (int row, int col) const { diff --git a/src/EntityGUI/EntityGUI_SketcherDlg.cxx b/src/EntityGUI/EntityGUI_SketcherDlg.cxx index 29b0692c2..2a1863026 100644 --- a/src/EntityGUI/EntityGUI_SketcherDlg.cxx +++ b/src/EntityGUI/EntityGUI_SketcherDlg.cxx @@ -627,7 +627,7 @@ void EntityGUI_SketcherDlg::RectClicked() { InitClick(); - // Connect the selction manager (disconnected in InitClick()) + // Connect the selection manager (disconnected in InitClick()) connect( myGeometryGUI->getApp()->selectionMgr(), SIGNAL( currentSelectionChanged() ), this, SLOT( SelectionIntoArgument() ) ); diff --git a/src/GEOM/GEOM_IField.hxx b/src/GEOM/GEOM_IField.hxx index d6da53b27..4092b5f9a 100644 --- a/src/GEOM/GEOM_IField.hxx +++ b/src/GEOM/GEOM_IField.hxx @@ -20,7 +20,7 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -//NOTE: This is an intreface to a function for the Field creation. +//NOTE: This is an interface to a function for the Field creation. // #include "GEOM_Function.hxx" diff --git a/src/GEOMAlgo/GEOMAlgo_ShapeInfo.cxx b/src/GEOMAlgo/GEOMAlgo_ShapeInfo.cxx index 6eaf087dc..3614245da 100644 --- a/src/GEOMAlgo/GEOMAlgo_ShapeInfo.cxx +++ b/src/GEOMAlgo/GEOMAlgo_ShapeInfo.cxx @@ -429,7 +429,7 @@ void GEOMAlgo_ShapeInfo::Dump()const break; // default: - printf(" * not implememted yet\n"); + printf(" * not implemented yet\n"); break; } } diff --git a/src/GEOMBase/GEOMBase.h b/src/GEOMBase/GEOMBase.h index 1ec882ca1..58319d39b 100644 --- a/src/GEOMBase/GEOMBase.h +++ b/src/GEOMBase/GEOMBase.h @@ -66,7 +66,7 @@ public : const bool shapesOnly = false ); static QString GetShapeTypeString( const TopoDS_Shape& shape ); - /* Convertions */ + /* Conversions */ static Handle(GEOM_AISShape) ConvertIOinGEOMAISShape( const Handle(SALOME_InteractiveObject)& IO, bool onlyInActiveView = false ); diff --git a/src/GEOMBase/GEOMBase_Helper.cxx b/src/GEOMBase/GEOMBase_Helper.cxx index c38769a9a..cbd5e5e6c 100755 --- a/src/GEOMBase/GEOMBase_Helper.cxx +++ b/src/GEOMBase/GEOMBase_Helper.cxx @@ -967,7 +967,7 @@ bool GEOMBase_Helper::onAccept( const bool publish, const bool useTransaction, b //================================================================ // Function : showError -// Purpose : Shows a message box with infromation about an error taken from getOperation()->GetErrorCode() +// Purpose : Shows a message box with information about an error taken from getOperation()->GetErrorCode() //================================================================ void GEOMBase_Helper::showError() { diff --git a/src/GEOMBase/GEOMBase_Helper.h b/src/GEOMBase/GEOMBase_Helper.h index a62b2f129..feaf74a83 100755 --- a/src/GEOMBase/GEOMBase_Helper.h +++ b/src/GEOMBase/GEOMBase_Helper.h @@ -134,7 +134,7 @@ protected: // should be published in a study. void showError(); - // Shows a message box with infromation about an error taken from getOperation()->GetErrorCode() + // Shows a message box with information about an error taken from getOperation()->GetErrorCode() void showError( const QString& msg ); // Shows a error message followed by diff --git a/src/GEOMGUI/GEOMGUI_DimensionProperty.h b/src/GEOMGUI/GEOMGUI_DimensionProperty.h index a2397968c..a074da494 100644 --- a/src/GEOMGUI/GEOMGUI_DimensionProperty.h +++ b/src/GEOMGUI/GEOMGUI_DimensionProperty.h @@ -135,14 +135,14 @@ public: /*! * \brief Inits property fields from the passed length object. * \param theIO [in] the interactive presentation. - * \param theLCS [in] the local coordiante system of parent object. + * \param theLCS [in] the local coordinate system of parent object. */ void Init( const Handle(AIS_LengthDimension)& theIO, const gp_Ax3& theLCS ); /*! * \brief Updates length object properties from the fields. * \param theIO [in/out] the interactive presentation. - * \param theLCS [in] the local coordiante system of parent object. + * \param theLCS [in] the local coordinate system of parent object. */ void Update( Handle(AIS_LengthDimension)& theIO, const gp_Ax3& theLCS ); @@ -160,7 +160,7 @@ public: void FromValues(int& theIt, const std::vector& theValues); /*! - * \brief Overload comparsion. + * \brief Overload comparison. */ bool operator == (const Length &theOther) const; bool operator != (const Length &theOther) const { return !(operator == (theOther)); } @@ -203,14 +203,14 @@ public: /*! * \brief Inits property fields from the passed length object. * \param theIO [in] the interactive presentation. - * \param theLCS [in] the local coordiante system of parent object. + * \param theLCS [in] the local coordinate system of parent object. */ void Init( const Handle(AIS_DiameterDimension)& theIO, const gp_Ax3& theLCS ); /*! * \brief Updates length object properties from the fields. * \param theIO [in/out] the interactive presentation. - * \param theLCS [in] the local coordiante system of parent object. + * \param theLCS [in] the local coordinate system of parent object. */ void Update( Handle(AIS_DiameterDimension)& theIO, const gp_Ax3& theLCS ); @@ -228,7 +228,7 @@ public: void FromValues(int& theIt, const std::vector& theValues); /*! - * \brief Overload comparsion. + * \brief Overload comparison. */ bool operator == (const Diameter &theOther) const; bool operator != (const Diameter &theOther) const { return !(operator == (theOther)); } @@ -273,14 +273,14 @@ public: /*! * \brief Inits property fields from the passed length object. * \param theIO [in] the interactive presentation. - * \param theLCS [in] the local coordiante system of parent object. + * \param theLCS [in] the local coordinate system of parent object. */ void Init( const Handle(AIS_AngleDimension)& theIO, const gp_Ax3& theLCS ); /*! * \brief Updates length object properties from the fields. * \param theIO [in/out] the interactive presentation. - * \param theLCS [in] the local coordiante system of parent object. + * \param theLCS [in] the local coordinate system of parent object. */ void Update( Handle(AIS_AngleDimension)& theIO, const gp_Ax3& theLCS ); @@ -298,7 +298,7 @@ public: void FromValues(int& theIt, const std::vector& theValues); /*! - * \brief Overload comparsion. + * \brief Overload comparison. */ bool operator == (const Angle &theOther) const; bool operator != (const Angle &theOther) const { return !(operator == (theOther)); } @@ -352,12 +352,12 @@ public: operator QString() const; /*! - * \brief Overload comparsion. + * \brief Overload comparison. */ bool operator == (const GEOMGUI_DimensionProperty &theOther) const; /*! - * \brief Overload comparsion. + * \brief Overload comparison. */ bool operator != (const GEOMGUI_DimensionProperty &theOther) const { diff --git a/src/GEOMGUI/GEOM_Displayer.cxx b/src/GEOMGUI/GEOM_Displayer.cxx index c08cee809..6925d8d22 100755 --- a/src/GEOMGUI/GEOM_Displayer.cxx +++ b/src/GEOMGUI/GEOM_Displayer.cxx @@ -1672,7 +1672,7 @@ void GEOM_Displayer::Update( SALOME_VTKPrs* prs ) //================================================================= /*! * GEOM_Displayer::BuildPrs - * Build presentation accordint to the current viewer type + * Build presentation according to the current viewer type */ //================================================================= SALOME_Prs* GEOM_Displayer::BuildPrs( GEOM::GEOM_Object_ptr theObj ) @@ -1701,7 +1701,7 @@ SALOME_Prs* GEOM_Displayer::BuildPrs( GEOM::GEOM_Object_ptr theObj ) //================================================================= /*! * GEOM_Displayer::BuildPrs - * Build presentation accordint to the current viewer type + * Build presentation according to the current viewer type */ //================================================================= SALOME_Prs* GEOM_Displayer::BuildPrs( const TopoDS_Shape& theShape ) diff --git a/src/GEOMGUI/GEOM_Displayer.h b/src/GEOMGUI/GEOM_Displayer.h index d9184ec54..712fe8316 100755 --- a/src/GEOMGUI/GEOM_Displayer.h +++ b/src/GEOMGUI/GEOM_Displayer.h @@ -129,7 +129,7 @@ public: /* Update visibility state */ void UpdateVisibility( SALOME_View*, const SALOME_Prs*, bool ); - /* build presentation accordint to the current viewer type*/ + /* build presentation according to the current viewer type*/ SALOME_Prs* BuildPrs ( GEOM::GEOM_Object_ptr ); SALOME_Prs* BuildPrs ( const TopoDS_Shape& ); diff --git a/src/GEOMImpl/GEOMImpl_ArchimedeDriver.cxx b/src/GEOMImpl/GEOMImpl_ArchimedeDriver.cxx index 3f42292a6..fbd647b68 100644 --- a/src/GEOMImpl/GEOMImpl_ArchimedeDriver.cxx +++ b/src/GEOMImpl/GEOMImpl_ArchimedeDriver.cxx @@ -116,7 +116,7 @@ Standard_Integer GEOMImpl_ArchimedeDriver::Execute(Handle(TFunction_Logbook)& lo double volume = VOL.CalculateVolume(Zmax) * aWaterDensity; char msg[100] = ""; - sprintf(msg, "shape sinks to the bottom : Weigth max = %.1f", volume); + sprintf(msg, "shape sinks to the bottom : Weight max = %.1f", volume); StdFail_NotDone::Raise(msg); } diff --git a/src/GEOMImpl/GEOMImpl_GlueDriver.cxx b/src/GEOMImpl/GEOMImpl_GlueDriver.cxx index 20ab8d47f..d014f5503 100644 --- a/src/GEOMImpl/GEOMImpl_GlueDriver.cxx +++ b/src/GEOMImpl/GEOMImpl_GlueDriver.cxx @@ -336,7 +336,7 @@ TopoDS_Shape GEOMImpl_GlueDriver::GlueFaces aGA.SetTolerance(theTolerance); aGA.SetKeepNonSolids(doKeepNonSolids); - // 2. Detect interferred shapes + // 2. Detect interfered shapes aGA.Detect(); //Standard_Integer iWrnDetect = aGA.WarningStatus(); @@ -451,7 +451,7 @@ TopoDS_Shape GEOMImpl_GlueDriver::GlueWithWarnings (const TopoDS_Shape& theShape aGA.SetTolerance(theTolerance); aGA.SetKeepNonSolids(doKeepNonSolids); - // 2. Detect interferred shapes + // 2. Detect interfered shapes aGA.Detect(); //modified by NIZNHY-PKV Tue Mar 13 14:07:12 2012f @@ -609,7 +609,7 @@ TopoDS_Shape GEOMImpl_GlueDriver::GlueByList (const TopoDS_Shape& theShape, aGA.SetTolerance(theTolerance); aGA.SetKeepNonSolids(doKeepNonSolids); - // 2. Detect interferred shapes + // 2. Detect interfered shapes aGA.Detect(); //modified by NIZNHY-PKV Tue Mar 13 14:07:12 2012f diff --git a/src/GEOMImpl/GEOMImpl_HealingDriver.cxx b/src/GEOMImpl/GEOMImpl_HealingDriver.cxx index c75a775b2..5014ef7e8 100644 --- a/src/GEOMImpl/GEOMImpl_HealingDriver.cxx +++ b/src/GEOMImpl/GEOMImpl_HealingDriver.cxx @@ -63,7 +63,7 @@ //======================================================================= //function : raiseNotDoneExeption -//purpose : global function: forms error message and raises exeption +//purpose : global function: forms error message and raises exception //======================================================================= void raiseNotDoneExeption( const int theErrorStatus ) { diff --git a/src/GEOMImpl/GEOMImpl_IArc.hxx b/src/GEOMImpl/GEOMImpl_IArc.hxx index f95c5cd9e..344dbfb46 100644 --- a/src/GEOMImpl/GEOMImpl_IArc.hxx +++ b/src/GEOMImpl/GEOMImpl_IArc.hxx @@ -20,7 +20,7 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -//NOTE: This is an intreface to a function for the Arc creation. +//NOTE: This is an interface to a function for the Arc creation. // #include "GEOM_Function.hxx" diff --git a/src/GEOMImpl/GEOMImpl_IArchimede.hxx b/src/GEOMImpl/GEOMImpl_IArchimede.hxx index ac0009cdd..5d0da1171 100644 --- a/src/GEOMImpl/GEOMImpl_IArchimede.hxx +++ b/src/GEOMImpl/GEOMImpl_IArchimede.hxx @@ -20,7 +20,7 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -//NOTE: This is an intreface to a function for the Archimede operation. +//NOTE: This is an interface to a function for the Archimede operation. // #include "GEOM_Function.hxx" diff --git a/src/GEOMImpl/GEOMImpl_IBoolean.hxx b/src/GEOMImpl/GEOMImpl_IBoolean.hxx index 470739bd5..499d89517 100644 --- a/src/GEOMImpl/GEOMImpl_IBoolean.hxx +++ b/src/GEOMImpl/GEOMImpl_IBoolean.hxx @@ -20,7 +20,7 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -//NOTE: This is an intreface to a function for the Common, Cut and Fuse creation. +//NOTE: This is an interface to a function for the Common, Cut and Fuse creation. // #include "GEOM_Function.hxx" #include "TColStd_HSequenceOfTransient.hxx" diff --git a/src/GEOMImpl/GEOMImpl_IBox.hxx b/src/GEOMImpl/GEOMImpl_IBox.hxx index 5a152c933..fd571341a 100644 --- a/src/GEOMImpl/GEOMImpl_IBox.hxx +++ b/src/GEOMImpl/GEOMImpl_IBox.hxx @@ -20,7 +20,7 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -//NOTE: This is an intreface to a function for the Box creation. +//NOTE: This is an interface to a function for the Box creation. // #include "GEOM_Function.hxx" diff --git a/src/GEOMImpl/GEOMImpl_ICircle.hxx b/src/GEOMImpl/GEOMImpl_ICircle.hxx index 70a71b6f0..d87ccb8cc 100644 --- a/src/GEOMImpl/GEOMImpl_ICircle.hxx +++ b/src/GEOMImpl/GEOMImpl_ICircle.hxx @@ -20,7 +20,7 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -//NOTE: This is an intreface to a function for the Circle creation. +//NOTE: This is an interface to a function for the Circle creation. // #include "GEOM_Function.hxx" diff --git a/src/GEOMImpl/GEOMImpl_ICone.hxx b/src/GEOMImpl/GEOMImpl_ICone.hxx index a55d2b561..6d534aebe 100644 --- a/src/GEOMImpl/GEOMImpl_ICone.hxx +++ b/src/GEOMImpl/GEOMImpl_ICone.hxx @@ -20,7 +20,7 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -//NOTE: This is an intreface to a function for the Cone creation. +//NOTE: This is an interface to a function for the Cone creation. // #include "GEOM_Function.hxx" diff --git a/src/GEOMImpl/GEOMImpl_ICopy.hxx b/src/GEOMImpl/GEOMImpl_ICopy.hxx index a3ec0c733..6fc5df8ea 100644 --- a/src/GEOMImpl/GEOMImpl_ICopy.hxx +++ b/src/GEOMImpl/GEOMImpl_ICopy.hxx @@ -20,7 +20,7 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -//NOTE: This is an intreface to a function for the Copy operation. +//NOTE: This is an interface to a function for the Copy operation. // #include "GEOM_Function.hxx" diff --git a/src/GEOMImpl/GEOMImpl_ICylinder.hxx b/src/GEOMImpl/GEOMImpl_ICylinder.hxx index 3215ffca8..b37cb553a 100644 --- a/src/GEOMImpl/GEOMImpl_ICylinder.hxx +++ b/src/GEOMImpl/GEOMImpl_ICylinder.hxx @@ -20,7 +20,7 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -//NOTE: This is an intreface to a function for the Cylinder creation. +//NOTE: This is an interface to a function for the Cylinder creation. // #include "GEOM_Function.hxx" diff --git a/src/GEOMImpl/GEOMImpl_IDisk.hxx b/src/GEOMImpl/GEOMImpl_IDisk.hxx index e3dd2d52f..32b43637e 100755 --- a/src/GEOMImpl/GEOMImpl_IDisk.hxx +++ b/src/GEOMImpl/GEOMImpl_IDisk.hxx @@ -17,7 +17,7 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -//NOTE: This is an intreface to a function for the Disk creation. +//NOTE: This is an interface to a function for the Disk creation. // #include "GEOM_Function.hxx" diff --git a/src/GEOMImpl/GEOMImpl_IEllipse.hxx b/src/GEOMImpl/GEOMImpl_IEllipse.hxx index 0a84af66f..3db6b40c8 100644 --- a/src/GEOMImpl/GEOMImpl_IEllipse.hxx +++ b/src/GEOMImpl/GEOMImpl_IEllipse.hxx @@ -20,7 +20,7 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -//NOTE: This is an intreface to a function for the Ellipse creation. +//NOTE: This is an interface to a function for the Ellipse creation. // #include "GEOM_Function.hxx" diff --git a/src/GEOMImpl/GEOMImpl_IExtract.hxx b/src/GEOMImpl/GEOMImpl_IExtract.hxx index b5905696e..93a6d5dae 100644 --- a/src/GEOMImpl/GEOMImpl_IExtract.hxx +++ b/src/GEOMImpl/GEOMImpl_IExtract.hxx @@ -20,7 +20,7 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -//NOTE: This is an intreface to a function for the Offset creation. +//NOTE: This is an interface to a function for the Offset creation. // #include "GEOM_Function.hxx" #include diff --git a/src/GEOMImpl/GEOMImpl_IFace.hxx b/src/GEOMImpl/GEOMImpl_IFace.hxx index 1c240cb7d..ece051018 100755 --- a/src/GEOMImpl/GEOMImpl_IFace.hxx +++ b/src/GEOMImpl/GEOMImpl_IFace.hxx @@ -17,7 +17,7 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -//NOTE: This is an intreface to a function for the Face creation. +//NOTE: This is an interface to a function for the Face creation. // #include "GEOM_Function.hxx" diff --git a/src/GEOMImpl/GEOMImpl_IFilling.hxx b/src/GEOMImpl/GEOMImpl_IFilling.hxx index 812ac132c..059c501b2 100644 --- a/src/GEOMImpl/GEOMImpl_IFilling.hxx +++ b/src/GEOMImpl/GEOMImpl_IFilling.hxx @@ -20,7 +20,7 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -//NOTE: This is an intreface to a function for the Filling operation. +//NOTE: This is an interface to a function for the Filling operation. // #include "GEOM_Function.hxx" #include diff --git a/src/GEOMImpl/GEOMImpl_IImportExport.hxx b/src/GEOMImpl/GEOMImpl_IImportExport.hxx index c0ef51087..de71434f9 100644 --- a/src/GEOMImpl/GEOMImpl_IImportExport.hxx +++ b/src/GEOMImpl/GEOMImpl_IImportExport.hxx @@ -20,7 +20,7 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -//NOTE: This is an intreface to a function for the Import Export operation. +//NOTE: This is an interface to a function for the Import Export operation. // #include "GEOM_Function.hxx" diff --git a/src/GEOMImpl/GEOMImpl_ILine.hxx b/src/GEOMImpl/GEOMImpl_ILine.hxx index 0e186f741..1257dc8c4 100644 --- a/src/GEOMImpl/GEOMImpl_ILine.hxx +++ b/src/GEOMImpl/GEOMImpl_ILine.hxx @@ -20,7 +20,7 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -//NOTE: This is an intreface to a function for the vector creation. +//NOTE: This is an interface to a function for the vector creation. // #include "GEOM_Function.hxx" diff --git a/src/GEOMImpl/GEOMImpl_IOffset.hxx b/src/GEOMImpl/GEOMImpl_IOffset.hxx index fea75eac9..21287c81a 100644 --- a/src/GEOMImpl/GEOMImpl_IOffset.hxx +++ b/src/GEOMImpl/GEOMImpl_IOffset.hxx @@ -20,7 +20,7 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -//NOTE: This is an intreface to a function for the Offset creation. +//NOTE: This is an interface to a function for the Offset creation. // #include "GEOM_Function.hxx" #include diff --git a/src/GEOMImpl/GEOMImpl_IPartition.hxx b/src/GEOMImpl/GEOMImpl_IPartition.hxx index bcb58e5a0..a37e95368 100644 --- a/src/GEOMImpl/GEOMImpl_IPartition.hxx +++ b/src/GEOMImpl/GEOMImpl_IPartition.hxx @@ -20,7 +20,7 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -//NOTE: This is an intreface to a function for the Partition creation. +//NOTE: This is an interface to a function for the Partition creation. // #include "GEOM_Function.hxx" diff --git a/src/GEOMImpl/GEOMImpl_IPipe.hxx b/src/GEOMImpl/GEOMImpl_IPipe.hxx index 798b3348b..35c730678 100644 --- a/src/GEOMImpl/GEOMImpl_IPipe.hxx +++ b/src/GEOMImpl/GEOMImpl_IPipe.hxx @@ -20,7 +20,7 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -//NOTE: This is an intreface to a function for the Pipe creation. +//NOTE: This is an interface to a function for the Pipe creation. // #ifndef _GEOMImpl_IPIPE_HXX_ #define _GEOMImpl_IPIPE_HXX_ diff --git a/src/GEOMImpl/GEOMImpl_IPipeDiffSect.hxx b/src/GEOMImpl/GEOMImpl_IPipeDiffSect.hxx index c0dd78003..bfe638a26 100644 --- a/src/GEOMImpl/GEOMImpl_IPipeDiffSect.hxx +++ b/src/GEOMImpl/GEOMImpl_IPipeDiffSect.hxx @@ -20,7 +20,7 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -//NOTE: This is an intreface to a function for the Pipe creation. +//NOTE: This is an interface to a function for the Pipe creation. #ifndef _GEOMImpl_IPIPEDIFFSECT_HXX_ #define _GEOMImpl_IPIPEDIFFSECT_HXX_ diff --git a/src/GEOMImpl/GEOMImpl_IPipeShellSect.hxx b/src/GEOMImpl/GEOMImpl_IPipeShellSect.hxx index bd508bfd4..a816e42e4 100644 --- a/src/GEOMImpl/GEOMImpl_IPipeShellSect.hxx +++ b/src/GEOMImpl/GEOMImpl_IPipeShellSect.hxx @@ -17,7 +17,7 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -//NOTE: This is an intreface to a function for the Pipe creation. +//NOTE: This is an interface to a function for the Pipe creation. #ifndef _GEOMImpl_IPIPESHELLSECT_HXX_ #define _GEOMImpl_IPIPESHELLSECT_HXX_ diff --git a/src/GEOMImpl/GEOMImpl_IPlane.hxx b/src/GEOMImpl/GEOMImpl_IPlane.hxx index 0ad501049..34b6c352a 100644 --- a/src/GEOMImpl/GEOMImpl_IPlane.hxx +++ b/src/GEOMImpl/GEOMImpl_IPlane.hxx @@ -20,7 +20,7 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -//NOTE: This is an intreface to a function for the vector creation. +//NOTE: This is an interface to a function for the vector creation. // #include "GEOM_Function.hxx" diff --git a/src/GEOMImpl/GEOMImpl_IPosition.hxx b/src/GEOMImpl/GEOMImpl_IPosition.hxx index 6aa23a52d..44702db0d 100644 --- a/src/GEOMImpl/GEOMImpl_IPosition.hxx +++ b/src/GEOMImpl/GEOMImpl_IPosition.hxx @@ -20,7 +20,7 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -//NOTE: This is an intreface to a function for the Setting In Position. +//NOTE: This is an interface to a function for the Setting In Position. // #include "GEOM_Function.hxx" diff --git a/src/GEOMImpl/GEOMImpl_IPrism.hxx b/src/GEOMImpl/GEOMImpl_IPrism.hxx index ecfc91e64..06982fd7e 100644 --- a/src/GEOMImpl/GEOMImpl_IPrism.hxx +++ b/src/GEOMImpl/GEOMImpl_IPrism.hxx @@ -20,7 +20,7 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -//NOTE: This is an intreface to a function for the Prism creation. +//NOTE: This is an interface to a function for the Prism creation. #include "GEOM_Function.hxx" // #include TEST diff --git a/src/GEOMImpl/GEOMImpl_IRevolution.hxx b/src/GEOMImpl/GEOMImpl_IRevolution.hxx index 9a7f9bf90..cbbc52b66 100644 --- a/src/GEOMImpl/GEOMImpl_IRevolution.hxx +++ b/src/GEOMImpl/GEOMImpl_IRevolution.hxx @@ -20,7 +20,7 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -//NOTE: This is an intreface to a function for the Revolution creation. +//NOTE: This is an interface to a function for the Revolution creation. // #include "GEOM_Function.hxx" diff --git a/src/GEOMImpl/GEOMImpl_IScale.hxx b/src/GEOMImpl/GEOMImpl_IScale.hxx index f819ac140..5db120a78 100644 --- a/src/GEOMImpl/GEOMImpl_IScale.hxx +++ b/src/GEOMImpl/GEOMImpl_IScale.hxx @@ -20,7 +20,7 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -//NOTE: This is an intreface to a function for the Scale creation. +//NOTE: This is an interface to a function for the Scale creation. // #include "GEOM_Function.hxx" diff --git a/src/GEOMImpl/GEOMImpl_IShapeExtend.hxx b/src/GEOMImpl/GEOMImpl_IShapeExtend.hxx index 004bc142b..6bdb18092 100644 --- a/src/GEOMImpl/GEOMImpl_IShapeExtend.hxx +++ b/src/GEOMImpl/GEOMImpl_IShapeExtend.hxx @@ -20,7 +20,7 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -//NOTE: This is an intreface to a function for the extended shape creation. +//NOTE: This is an interface to a function for the extended shape creation. // #include "GEOM_Function.hxx" diff --git a/src/GEOMImpl/GEOMImpl_ISphere.hxx b/src/GEOMImpl/GEOMImpl_ISphere.hxx index 248c697c1..bbc5e176f 100644 --- a/src/GEOMImpl/GEOMImpl_ISphere.hxx +++ b/src/GEOMImpl/GEOMImpl_ISphere.hxx @@ -20,7 +20,7 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -//NOTE: This is an intreface to a function for the Sphere creation. +//NOTE: This is an interface to a function for the Sphere creation. // #include "GEOM_Function.hxx" diff --git a/src/GEOMImpl/GEOMImpl_IThruSections.hxx b/src/GEOMImpl/GEOMImpl_IThruSections.hxx index f0d04e927..91303ee9a 100644 --- a/src/GEOMImpl/GEOMImpl_IThruSections.hxx +++ b/src/GEOMImpl/GEOMImpl_IThruSections.hxx @@ -20,7 +20,7 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -//NOTE: This is an intreface to a function for the Pipe creation. +//NOTE: This is an interface to a function for the Pipe creation. // #include "GEOM_Function.hxx" #include diff --git a/src/GEOMImpl/GEOMImpl_ITorus.hxx b/src/GEOMImpl/GEOMImpl_ITorus.hxx index ed224a03f..3c04a7cb6 100644 --- a/src/GEOMImpl/GEOMImpl_ITorus.hxx +++ b/src/GEOMImpl/GEOMImpl_ITorus.hxx @@ -20,7 +20,7 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -//NOTE: This is an intreface to a function for the Torus creation. +//NOTE: This is an interface to a function for the Torus creation. // #include "GEOM_Function.hxx" diff --git a/src/GEOMImpl/GEOMImpl_ITransferData.cxx b/src/GEOMImpl/GEOMImpl_ITransferData.cxx index e4ae42a6e..e6e11f659 100644 --- a/src/GEOMImpl/GEOMImpl_ITransferData.cxx +++ b/src/GEOMImpl/GEOMImpl_ITransferData.cxx @@ -20,7 +20,7 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -//NOTE: This is an intreface to a function for the Transfer Data functionality. +//NOTE: This is an interface to a function for the Transfer Data functionality. // diff --git a/src/GEOMImpl/GEOMImpl_ITransferData.hxx b/src/GEOMImpl/GEOMImpl_ITransferData.hxx index acded66d7..a29294649 100644 --- a/src/GEOMImpl/GEOMImpl_ITransferData.hxx +++ b/src/GEOMImpl/GEOMImpl_ITransferData.hxx @@ -20,7 +20,7 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -//NOTE: This is an intreface to a function for the Transfer Data functionality. +//NOTE: This is an interface to a function for the Transfer Data functionality. // diff --git a/src/GEOMImpl/GEOMImpl_ITranslate.hxx b/src/GEOMImpl/GEOMImpl_ITranslate.hxx index d48d438cd..c128d03ac 100755 --- a/src/GEOMImpl/GEOMImpl_ITranslate.hxx +++ b/src/GEOMImpl/GEOMImpl_ITranslate.hxx @@ -20,7 +20,7 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -//NOTE: This is an intreface to a function for the Translate creation. +//NOTE: This is an interface to a function for the Translate creation. // #include "GEOM_Function.hxx" diff --git a/src/GEOMImpl/GEOMImpl_PipeDriver.cxx b/src/GEOMImpl/GEOMImpl_PipeDriver.cxx index 5bb530e39..d84397a4c 100644 --- a/src/GEOMImpl/GEOMImpl_PipeDriver.cxx +++ b/src/GEOMImpl/GEOMImpl_PipeDriver.cxx @@ -569,7 +569,7 @@ static void FindNextPairOfFaces(const TopoDS_Shape& aCurFace, bool stat = FillForOtherEdges(F1other,E1,V1,FF); if (!stat) { if (aCI) delete aCI; - Standard_ConstructionError::Raise("FindNextPairOfFaces: Can not mapping other egdes"); + Standard_ConstructionError::Raise("FindNextPairOfFaces: Can not map other edges"); } FindNextPairOfFaces(F1other, aMapEdgeFaces1, aMapEdgeFaces2, FF, aCI); @@ -919,7 +919,7 @@ TopoDS_Shape GEOMImpl_PipeDriver::CreatePipeWithDifferentSections } } if (nbEdges we have to update WirePath + // one of edges was split => we have to update WirePath BRep_Builder B; TopoDS_Wire W; B.MakeWire(W); @@ -1824,7 +1824,7 @@ static TopoDS_Shape CreatePipeForShellSections(const TopoDS_Wire& aWirePath, bool stat = FillForOtherEdges(FS1,E1,V11,FF); if (!stat) { if (aCI) delete aCI; - Standard_ConstructionError::Raise("FindForOtherEdges: Can not mapping other egdes"); + Standard_ConstructionError::Raise("FindForOtherEdges: Can not map other edges"); } } diff --git a/src/GEOMImpl/GEOMImpl_PolylineDumper.cxx b/src/GEOMImpl/GEOMImpl_PolylineDumper.cxx index 3a34f1bcb..52e71ee4f 100644 --- a/src/GEOMImpl/GEOMImpl_PolylineDumper.cxx +++ b/src/GEOMImpl/GEOMImpl_PolylineDumper.cxx @@ -91,7 +91,7 @@ Standard_Boolean GEOMImpl_PolylineDumper::Dump aPD << theObject << " = pl.result("; if (myWorkingPlane.IsNull()) { - // Add coodinates of working plane. + // Add coordinates of working plane. Standard_Integer i; aPD << "["; diff --git a/src/GEOMToolsGUI/GEOMToolsGUI.cxx b/src/GEOMToolsGUI/GEOMToolsGUI.cxx index bd79254a3..d79a68e10 100644 --- a/src/GEOMToolsGUI/GEOMToolsGUI.cxx +++ b/src/GEOMToolsGUI/GEOMToolsGUI.cxx @@ -77,7 +77,7 @@ static QString getParentComponent( _PTR( SObject ) obj ) //===================================================================================== // function : inUse -// purpose : check if the object(s) passed as the the second arguments are used +// purpose : check if the object(s) passed as the second arguments are used // by the other objects in the study //===================================================================================== static bool inUse( _PTR(Study) study, const QString& component, const QMap& objects ) diff --git a/src/GEOMToolsGUI/GEOMToolsGUI_1.cxx b/src/GEOMToolsGUI/GEOMToolsGUI_1.cxx index 8f463bcbf..723dd270d 100644 --- a/src/GEOMToolsGUI/GEOMToolsGUI_1.cxx +++ b/src/GEOMToolsGUI/GEOMToolsGUI_1.cxx @@ -124,7 +124,7 @@ // Below macro, when uncommented, switches on simplified (more performant) algorithm // of auto-color picking up #define SIMPLE_AUTOCOLOR -// Below macro, when defined, switches on automatic layouting of OCC and Dependecy views +// Below macro, when defined, switches on automatic layouting of OCC and Dependency views // on Show Dependencies operation #define LAYOUT_DEPVIEW diff --git a/src/GEOMToolsGUI/GEOMToolsGUI_MaterialPropertiesDlg.cxx b/src/GEOMToolsGUI/GEOMToolsGUI_MaterialPropertiesDlg.cxx index bc62c01c0..c96f80821 100644 --- a/src/GEOMToolsGUI/GEOMToolsGUI_MaterialPropertiesDlg.cxx +++ b/src/GEOMToolsGUI/GEOMToolsGUI_MaterialPropertiesDlg.cxx @@ -67,7 +67,7 @@ */ /*! - \brief Contructor + \brief Constructor */ GEOMToolsGUI_MaterialList::GEOMToolsGUI_MaterialList( QWidget* parent ) : QListWidget( parent ) diff --git a/src/GEOMUtils/GEOMUtils.hxx b/src/GEOMUtils/GEOMUtils.hxx index 20201f799..c91556ae3 100644 --- a/src/GEOMUtils/GEOMUtils.hxx +++ b/src/GEOMUtils/GEOMUtils.hxx @@ -254,10 +254,10 @@ namespace GEOMUtils Standard_EXPORT bool CheckShape( TopoDS_Shape& shape, bool checkGeometry = false ); /*! - * \brief Check boolean and partition operations agruments + * \brief Check boolean and partition operations arguments * - * \param theShape the agrument of an operation to be checked - * \return \c true if the agrument is valid for a boolean or partition + * \param theShape the argument of an operation to be checked + * \return \c true if the argument is valid for a boolean or partition * operation or \c false otherwise */ Standard_EXPORT bool CheckBOPArguments(const TopoDS_Shape &theShape); diff --git a/src/GEOM_I/GEOM_Gen_i.cc b/src/GEOM_I/GEOM_Gen_i.cc index 34365e199..fc6cee5c4 100644 --- a/src/GEOM_I/GEOM_Gen_i.cc +++ b/src/GEOM_I/GEOM_Gen_i.cc @@ -919,7 +919,7 @@ GEOM::ListOfGO* GEOM_Gen_i::RestoreSubShapesO (SALOMEDS::Study_ptr theStudy, CORBA::String_var anIORo = _orb->object_to_string(theObject); SALOMEDS::SObject_var aSO = theStudy->FindObjectIOR(anIORo.in()); //PTv, IMP 0020001, The salome object - // is not obligatory in case of invokation from script + // is not obligatory in case of invocation from script // if (CORBA::is_nil(aSO)) // return aParts._retn(); @@ -949,7 +949,7 @@ GEOM::ListOfGO* GEOM_Gen_i::RestoreGivenSubShapesO (SALOMEDS::Study_ptr theS CORBA::String_var anIORo = _orb->object_to_string(theObject); SALOMEDS::SObject_var aSO = theStudy->FindObjectIOR(anIORo.in()); //PTv, IMP 0020001, The salome object - // is not obligatory in case of invokation from script + // is not obligatory in case of invocation from script // if (CORBA::is_nil(aSO)) // return aParts._retn(); @@ -1033,7 +1033,7 @@ GEOM::ListOfGO* GEOM_Gen_i::RestoreSubShapes(SALOMEDS::Study_ptr theStudy, { GEOM::ListOfGO_var aParts = new GEOM::ListOfGO; //PTv, IMP 0020001, The salome object - // is not obligatory in case of invokation from script + // is not obligatory in case of invocation from script if (CORBA::is_nil(theStudy) || CORBA::is_nil(theObject) /*|| CORBA::is_nil(theSObject)*/) return aParts._retn(); @@ -1625,7 +1625,7 @@ GEOM::ListOfGO* GEOM_Gen_i::RestoreGivenSubShapes(SALOMEDS::Study_ptr theStu { GEOM::ListOfGO_var aParts = new GEOM::ListOfGO; //PTv, IMP 0020001, The salome object - // is not obligatory in case of invokation from script + // is not obligatory in case of invocation from script if (CORBA::is_nil(theStudy) || CORBA::is_nil(theObject) /*|| CORBA::is_nil(theSObject)*/) return aParts._retn(); diff --git a/src/GEOM_I/GEOM_IMeasureOperations_i.cc b/src/GEOM_I/GEOM_IMeasureOperations_i.cc index ad7fe1b03..80340bb7c 100644 --- a/src/GEOM_I/GEOM_IMeasureOperations_i.cc +++ b/src/GEOM_I/GEOM_IMeasureOperations_i.cc @@ -826,7 +826,7 @@ CORBA::Boolean GEOM_IMeasureOperations_i::CheckBOPArguments bool isGood = false; if (!aShape.IsNull()) { - // Check BOP agruments + // Check BOP arguments isGood = GetOperations()->CheckBOPArguments(aShape); } diff --git a/src/GEOM_SWIG/GEOM_TestHealing.py b/src/GEOM_SWIG/GEOM_TestHealing.py index 4b7951596..dc22c1cee 100644 --- a/src/GEOM_SWIG/GEOM_TestHealing.py +++ b/src/GEOM_SWIG/GEOM_TestHealing.py @@ -21,7 +21,7 @@ # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # -# GEOM_SWIG : binding of C++ implementaion with Python +# GEOM_SWIG : binding of C++ implementation with Python # File : GEOM_TestHealing.py # Author : Julia DOROVSKIKH # Module : GEOM diff --git a/src/GEOM_SWIG/GEOM_blocks.py b/src/GEOM_SWIG/GEOM_blocks.py index c33b2c446..43f1e1016 100644 --- a/src/GEOM_SWIG/GEOM_blocks.py +++ b/src/GEOM_SWIG/GEOM_blocks.py @@ -21,7 +21,7 @@ # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # -# GEOM GEOM_SWIG : binding of C++ implementaion with Python +# GEOM GEOM_SWIG : binding of C++ implementation with Python # File : GEOM_blocks.py # Author : Julia DOROVSKIKH # Module : GEOM diff --git a/src/GEOM_SWIG/geomBuilder.py b/src/GEOM_SWIG/geomBuilder.py index 79dd09036..bf056947d 100644 --- a/src/GEOM_SWIG/geomBuilder.py +++ b/src/GEOM_SWIG/geomBuilder.py @@ -4289,7 +4289,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen): # @param theBase Base shape to be extruded. # @param thePath Path shape to extrude the base shape along it. # @param theVec Vector defines a constant binormal direction to keep the - # same angle beetween the direction and the sections + # same angle between the direction and the sections # along the sweep surface. # @param IsGenerateGroups flag that tells if it is necessary to # create groups. It is equal to False by default. @@ -4318,7 +4318,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen): theBase Base shape to be extruded. thePath Path shape to extrude the base shape along it. theVec Vector defines a constant binormal direction to keep the - same angle beetween the direction and the sections + same angle between the direction and the sections along the sweep surface. IsGenerateGroups flag that tells if it is necessary to create groups. It is equal to False by default. @@ -11462,7 +11462,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen): ## Detect self-intersections of the given shape with algorithm based on mesh intersections. # @param theShape Shape to check. - # @param theDeflection Linear deflection coefficient that specifies quality of tesselation: + # @param theDeflection Linear deflection coefficient that specifies quality of tessellation: # - if \a theDeflection <= 0, default deflection 0.001 is used # @param theTolerance Specifies a distance between sub-shapes used for detecting gaps: # - if \a theTolerance <= 0, algorithm detects intersections (default behavior) @@ -11477,7 +11477,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen): Parameters: theShape Shape to check. - theDeflection Linear deflection coefficient that specifies quality of tesselation: + theDeflection Linear deflection coefficient that specifies quality of tessellation: - if theDeflection <= 0, default deflection 0.001 is used theTolerance Specifies a distance between shapes used for detecting gaps: - if theTolerance <= 0, algorithm detects intersections (default behavior) @@ -11491,20 +11491,20 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen): RaiseIfFailed("CheckSelfIntersectionsFast", self.MeasuOp) return IsValid - ## Check boolean and partition operations agruments. - # @param theShape the agrument of an operation to be checked - # @return TRUE if the agrument is valid for a boolean or partition + ## Check boolean and partition operations arguments. + # @param theShape the argument of an operation to be checked + # @return TRUE if the argument is valid for a boolean or partition # operation; FALSE otherwise. @ManageTransactions("MeasuOp") def CheckBOPArguments(self, theShape): """ - Check boolean and partition operations agruments. + Check boolean and partition operations arguments. Parameters: - theShape the agrument of an operation to be checked + theShape the argument of an operation to be checked Returns: - TRUE if the agrument is valid for a boolean or partition + TRUE if the argument is valid for a boolean or partition operation; FALSE otherwise. """ return self.MeasuOp.CheckBOPArguments(theShape) @@ -11515,7 +11515,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen): # @param theTolerance Specifies a distance between shapes used for detecting gaps: # - if \a theTolerance <= 0, algorithm detects intersections (default behavior) # - if \a theTolerance > 0, algorithm detects gaps - # @param theDeflection Linear deflection coefficient that specifies quality of tesselation: + # @param theDeflection Linear deflection coefficient that specifies quality of tessellation: # - if \a theDeflection <= 0, default deflection 0.001 is used # @return TRUE, if there are intersections (gaps) between source shapes # @return List of sub-shapes IDs from 1st shape that localize intersection. @@ -11533,7 +11533,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen): theTolerance Specifies a distance between shapes used for detecting gaps: - if theTolerance <= 0, algorithm detects intersections (default behavior) - if theTolerance > 0, algorithm detects gaps - theDeflection Linear deflection coefficient that specifies quality of tesselation: + theDeflection Linear deflection coefficient that specifies quality of tessellation: - if theDeflection <= 0, default deflection 0.001 is used Returns: diff --git a/src/GEOM_SWIG_WITHIHM/libGEOM_Swig.cxx b/src/GEOM_SWIG_WITHIHM/libGEOM_Swig.cxx index 2d3306979..0efbe7f0d 100644 --- a/src/GEOM_SWIG_WITHIHM/libGEOM_Swig.cxx +++ b/src/GEOM_SWIG_WITHIHM/libGEOM_Swig.cxx @@ -508,7 +508,7 @@ public: /*! \brief Initialize GEOM module's engine - \return \c true if initialization succeedes or \c false otherwise + \return \c true if initialization succeeds or \c false otherwise */ bool GEOM_Swig::initGeomGen() { diff --git a/src/Material/Material_ResourceMgr.cxx b/src/Material/Material_ResourceMgr.cxx index 02e3fabe7..1c09c4360 100644 --- a/src/Material/Material_ResourceMgr.cxx +++ b/src/Material/Material_ResourceMgr.cxx @@ -101,10 +101,10 @@ Material_ResourceMgr* Material_ResourceMgr::resourceMgr() } /*! - \brief Get list of avaiable materials + \brief Get list of available materials \param theType material type \param theSort if \c true (default), returns a list of materials sorted by name - \return list of avaiable materials names + \return list of available materials names */ QStringList Material_ResourceMgr::materials( MaterialType theType, bool theSort ) { diff --git a/src/MeasureGUI/MeasureGUI_DimensionCreateTool.cxx b/src/MeasureGUI/MeasureGUI_DimensionCreateTool.cxx index 47a2f38de..a03a0f4e8 100644 --- a/src/MeasureGUI/MeasureGUI_DimensionCreateTool.cxx +++ b/src/MeasureGUI/MeasureGUI_DimensionCreateTool.cxx @@ -1076,7 +1076,7 @@ void MeasureGUI_DimensionCreateTool::ChooseLengthFlyoutsFromBnd( SeqOfDirs& theD { const gp_Pln& aPlane = aPlaneIt.Value(); - // transform bounding box to orthogonal coordiantes relative to + // transform bounding box to orthogonal coordinates relative to // dimension points P1, P2 (x-axis) and plane direction (z-axis), // where y coordinates will correspond to flyout direction against // the dimension point line diff --git a/src/OBJECT/GEOM_Annotation.cxx b/src/OBJECT/GEOM_Annotation.cxx index 808893ac8..d45fed6c8 100755 --- a/src/OBJECT/GEOM_Annotation.cxx +++ b/src/OBJECT/GEOM_Annotation.cxx @@ -209,7 +209,7 @@ void GEOM_Annotation::SetAttachPoint( const gp_Pnt& thePoint ) // ======================================================================= // function : SetHilightShape -// purpose : Sets shape (annotated shape) that will be used for hilighting. +// purpose : Sets shape (annotated shape) that will be used for highlighting. // ======================================================================= void GEOM_Annotation::SetHilightShape( const TopoDS_Shape& theShape ) { diff --git a/src/OBJECT/GEOM_Annotation.hxx b/src/OBJECT/GEOM_Annotation.hxx index 3594a1b6d..794402491 100755 --- a/src/OBJECT/GEOM_Annotation.hxx +++ b/src/OBJECT/GEOM_Annotation.hxx @@ -122,10 +122,10 @@ public: //! Returns attachment point of extension line. const gp_Pnt& GetAttachPoint() const { return myAttach; } - //! Sets shape (annotated shape) that will be used for hilighting. + //! Sets shape (annotated shape) that will be used for highlighting. Standard_EXPORT void SetHilightShape( const TopoDS_Shape& theShape ); - //! Returns the hilighting shape. + //! Returns the highlighting shape. const TopoDS_Shape HilightShape() const { return myShape; } public: @@ -283,10 +283,10 @@ private: gp_Pnt myStartPosition; //!< Position before starting dragging operation. Standard_Boolean myIsScreenFixed; //!< Flag indicating whether "screen fixed" positioning mode is turned on or off. Standard_Boolean myIsAutoHide; //!< Flag indicating whether "auto-hiding" option is turned on. - Standard_Boolean myIsDepthCulling; //!< Flag indiciating whether the "depth culling" is turned on. + Standard_Boolean myIsDepthCulling; //!< Flag indicating whether the "depth culling" is turned on. HighlightMode myHilightMode; //!< Highlight mode for presentation. TCollection_ExtendedString myText; //!< Text string of the label presentation. - TopoDS_Shape myShape; //!< Hilighting shape. + TopoDS_Shape myShape; //!< Highlighting shape. private: diff --git a/src/RepairGUI/RepairGUI_ShapeProcessDlg.cxx b/src/RepairGUI/RepairGUI_ShapeProcessDlg.cxx index c073038e7..4a7e27ada 100755 --- a/src/RepairGUI/RepairGUI_ShapeProcessDlg.cxx +++ b/src/RepairGUI/RepairGUI_ShapeProcessDlg.cxx @@ -842,7 +842,7 @@ GEOM::string_array* RepairGUI_ShapeProcessDlg::getParameters( const GEOM::string for ( i = 0, j = 0; i < theOperators.length(); i++ ) j += myValMap[ QString( theOperators[i].in() ) ].size(); - // set the new length of paremeters + // set the new length of parameters aParams->length( j ); // fill the parameters diff --git a/src/SKETCHER/Sketcher_Profile.cxx b/src/SKETCHER/Sketcher_Profile.cxx index fdb7d5bb8..14da33077 100644 --- a/src/SKETCHER/Sketcher_Profile.cxx +++ b/src/SKETCHER/Sketcher_Profile.cxx @@ -594,8 +594,8 @@ void Sketcher_Profile::ShapeFunctor::addSegmentAbsolute( const TCollection_Ascii /*! \brief Add segment by relativ coordinates - \param dx dX value specifing segment end - \param dy dY value specifing segment end + \param dx dX value specifying segment end + \param dy dY value specifying segment end \internal */ void Sketcher_Profile::ShapeFunctor::addSegmentRelative( const TCollection_AsciiString& dx, @@ -801,8 +801,8 @@ void Sketcher_Profile::ShapeFunctor::addArcAbsolute( const TCollection_AsciiStri /*! \brief Add arc along current direction vector by specified relative coordinates - \param dx dX value specifing arc end - \param dy dY value specifing arc end + \param dx dX value specifying arc end + \param dy dY value specifying arc end \internal */ void Sketcher_Profile::ShapeFunctor::addArcRelative( const TCollection_AsciiString& dx, @@ -867,8 +867,8 @@ void Sketcher_Profile::ShapeFunctor::addArcRadiusAbsolute( const TCollection_Asc /*! \brief Add arc with given radius by specified relative coordinates - \param dx dX value specifing arc end - \param dy dY value specifing arc end + \param dx dX value specifying arc end + \param dy dY value specifying arc end \param radius arc radius \param flag reverse direction flag \internal @@ -958,8 +958,8 @@ void Sketcher_Profile::ShapeFunctor::addArcCenterAbsolute( const TCollection_Asc /*! \brief Add arc with given center by specified relative coordinates - \param dx dX value specifing arc end - \param dy dY value specifing arc end + \param dx dX value specifying arc end + \param dy dY value specifying arc end \param xc X coordinate of arc center \param yc Y coordinate of arc center \param flag1 reverse direction flag @@ -1351,8 +1351,8 @@ void Sketcher_Profile::DumpFunctor::addSegmentAbsolute( const TCollection_AsciiS /*! \brief Add segment by relativ coordinates - \param dx dX value specifing segment end - \param dy dY value specifing segment end + \param dx dX value specifying segment end + \param dy dY value specifying segment end \internal */ void Sketcher_Profile::DumpFunctor::addSegmentRelative( const TCollection_AsciiString& dx, @@ -1531,8 +1531,8 @@ void Sketcher_Profile::DumpFunctor::addArcAbsolute( const TCollection_AsciiStrin /*! \brief Add arc along current direction vector by specified relative coordinates - \param dx dX value specifing arc end - \param dy dY value specifing arc end + \param dx dX value specifying arc end + \param dy dY value specifying arc end \internal */ void Sketcher_Profile::DumpFunctor::addArcRelative( const TCollection_AsciiString& dx, @@ -1561,8 +1561,8 @@ void Sketcher_Profile::DumpFunctor::addArcRadiusAbsolute( const TCollection_Asci /*! \brief Add arc with given radius by specified relative coordinates - \param dx dX value specifing arc end - \param dy dY value specifing arc end + \param dx dX value specifying arc end + \param dy dY value specifying arc end \param radius arc radius \param flag reverse direction flag \internal @@ -1599,8 +1599,8 @@ void Sketcher_Profile::DumpFunctor::addArcCenterAbsolute( const TCollection_Asci /*! \brief Add arc with given center by specified relative coordinates - \param dx dX value specifing arc end - \param dy dY value specifing arc end + \param dx dX value specifying arc end + \param dy dY value specifying arc end \param xc X coordinate of arc center \param yc Y coordinate of arc center \param flag1 reverse direction flag diff --git a/src/ShHealOper/ShHealOper_EdgeDivide.cxx b/src/ShHealOper/ShHealOper_EdgeDivide.cxx index 869be89b9..c0aba1164 100644 --- a/src/ShHealOper/ShHealOper_EdgeDivide.cxx +++ b/src/ShHealOper/ShHealOper_EdgeDivide.cxx @@ -261,7 +261,7 @@ Standard_Boolean ShHealOper_EdgeDivide::computeValues(const Handle(TColStd_HSequ Standard_Real aFirst =0.,aLast=0.; - //computation of the split values if edge should be splitted by parameter. + //computation of the split values if edge should be split by parameter. if(myDivideParamMode) { BRep_Tool::Range(myEdge,aFirst,aLast); Handle(Geom_Curve) aCurve = BRep_Tool::Curve(myEdge,aFirst,aLast); @@ -275,7 +275,7 @@ Standard_Boolean ShHealOper_EdgeDivide::computeValues(const Handle(TColStd_HSequ } } else { - //computation of the split values if edge should be splitted by length. + //computation of the split values if edge should be split by length. ShapeAnalysis_Edge sae; Handle(Geom_Curve) aCurve; Standard_Real aCurLen =0.; diff --git a/src/ShHealOper/ShHealOper_EdgeDivide.hxx b/src/ShHealOper/ShHealOper_EdgeDivide.hxx index 1a9eebb7d..2302ba8e5 100644 --- a/src/ShHealOper/ShHealOper_EdgeDivide.hxx +++ b/src/ShHealOper/ShHealOper_EdgeDivide.hxx @@ -56,7 +56,7 @@ class ShHealOper_EdgeDivide : public ShHealOper_Tool const Standard_Boolean theDivideParamMode = Standard_True); //Performs spitting of the specified edge in the accoradnce to //specified mode and value. - //If theDivideParamMode is equal to true edge will be splitted by parameter. + //If theDivideParamMode is equal to true edge will be split by parameter. //Else edge will be spliited by length (default true). //theValue is coefficient for splitting from 0 to 1. diff --git a/src/ShHealOper/ShHealOper_ShapeProcess.hxx b/src/ShHealOper/ShHealOper_ShapeProcess.hxx index f52271dc8..b1e5c1aa5 100644 --- a/src/ShHealOper/ShHealOper_ShapeProcess.hxx +++ b/src/ShHealOper/ShHealOper_ShapeProcess.hxx @@ -47,7 +47,7 @@ class ShHealOper_ShapeProcess : public ShHealOper_Tool /// Empty constructor Standard_EXPORT ShHealOper_ShapeProcess(); - //Constuctor initializes by defaults parameters + //Constructor initializes by defaults parameters // (name of resource file - ShHealing, prefix - ShapeProcess, // SaveHistory = Standard_False, level = TopAbs_FACE) @@ -55,7 +55,7 @@ class ShHealOper_ShapeProcess : public ShHealOper_Tool Standard_EXPORT ShHealOper_ShapeProcess (const TCollection_AsciiString& theNameResource, const TCollection_AsciiString& thePrefix = "ShapeProcess"); - //Constuctor initializes by specified name of resource file and prefix + //Constructor initializes by specified name of resource file and prefix Standard_EXPORT void Perform(const TopoDS_Shape& theOldShape, TopoDS_Shape& theNewShape); -- 2.30.2