From f423143109985282fd0df2def234aa5fff847127 Mon Sep 17 00:00:00 2001 From: luzpaz Date: Tue, 11 Feb 2025 07:38:56 -0500 Subject: [PATCH] Documentation - Fix various typos found in codebase #361 Found via `codespell -q 3 -S "*.fr" -L aadd,abnd,abord,acount,adn,afile,aline,alo,alocation,alog,als,anc,ane,anid,anormal,anout,ans,anumber,aother,aparent,apoints,aprogram,asender,asign,asnd,ba,bbuild,bloc,bord,bu,caf,cas,childrens,childs,classe,clen,commun,cylindre,don,dout,dum,ede,entites,fo,fonction,guid,hist,identic,ii,indx,inout,invalide,ist,iterm,llength,lod,mape,modeling,methode,mye,myu,nam,nd,nin,normale,normales,ons,parametre,parametres,periode,pres,reste,resul,secont,serie,shs,slin,som,somme,syntaxe,sur,te,thei,theis,ther,theres,thes,thev,thex,thet,tol,transfert,va,vas,verifie,vertexes,weight` --- .../draw_test_harness/draw_test_harness.md | 2 +- dox/user_guides/ocaf/ocaf.md | 2 +- dox/user_guides/step/step.md | 4 ++-- src/AdvApp2Var/AdvApp2Var_Context.cxx | 2 +- src/AdvApp2Var/AdvApp2Var_CriterionType.hxx | 6 +++-- src/AdvApp2Var/AdvApp2Var_MathBase.cxx | 2 +- src/Approx/Approx_SweepApproximation.cxx | 2 +- src/BRepBuilderAPI/BRepBuilderAPI_Sewing.cxx | 2 +- src/BRepGProp/BRepGProp_UFunction.cxx | 2 +- src/BRepGProp/BRepGProp_UFunction.hxx | 4 ++-- .../BRepIntCurveSurface_Inter.hxx | 16 ++++++------- .../BRepMesh_DefaultRangeSplitter.hxx | 2 +- ...Mesh_DelaunayDeflectionControlMeshAlgo.hxx | 2 +- src/BRepOffset/BRepOffset_Inter3d.cxx | 2 +- src/BRepOffset/BRepOffset_MakeOffset.cxx | 6 ++--- src/BRepOffset/BRepOffset_MakeOffset.hxx | 2 +- src/BRepOffset/BRepOffset_MakeOffset_1.cxx | 6 ++--- .../BRepOffset_MakeSimpleOffset.hxx | 2 +- src/BRepPrim/BRepPrim_GWedge.hxx | 24 +++++++++---------- src/BRepPrimAPI/BRepPrimAPI_MakeHalfSpace.cxx | 2 +- .../BRepSweep_NumLinearRegularSweep.hxx | 8 +++---- src/BRepTest/BRepTest_FeatureCommands.cxx | 2 +- src/BSplCLib/BSplCLib.hxx | 4 ++-- src/BSplSLib/BSplSLib.hxx | 2 +- src/BVH/BVH_Builder.hxx | 2 +- src/BVH/BVH_DistanceField.hxx | 2 +- src/BVH/BVH_Sorter.hxx | 2 +- src/ChFi3d/ChFi3d_Builder_0.cxx | 2 +- src/ChFi3d/ChFi3d_Builder_1.cxx | 2 +- src/ChFi3d/ChFi3d_Builder_C1.cxx | 2 +- src/ChFi3d/ChFi3d_Builder_C2.cxx | 2 +- src/ChFi3d/ChFi3d_Builder_CnCrn.cxx | 2 +- src/ChFi3d/ChFi3d_ChBuilder_C3.cxx | 2 +- src/DBRep/DBRep.cxx | 6 ++--- src/Extrema/Extrema_ExtPElS.cxx | 2 +- src/Extrema/Extrema_GenExtCS.cxx | 2 +- src/Extrema/Extrema_GenExtPS.cxx | 2 +- src/Geom/Geom_BezierSurface.hxx | 2 +- src/GeomPlate/GeomPlate_BuildPlateSurface.cxx | 2 +- src/HLRAlgo/HLRAlgo_Coincidence.hxx | 14 +++++------ src/IFSelect/IFSelect_Modifier.hxx | 2 +- src/IFSelect/IFSelect_SelectSignature.hxx | 2 +- src/IFSelect/IFSelect_SessionFile.hxx | 4 ++-- src/IFSelect/IFSelect_WorkSession.hxx | 6 ++--- src/IGESCAFControl/IGESCAFControl_Writer.cxx | 2 +- src/IGESControl/IGESControl_Controller.hxx | 2 +- src/IGESConvGeom/IGESConvGeom.cxx | 2 +- src/IGESData/IGESData_IGESEntity.hxx | 2 +- src/IGESData/IGESData_IGESReaderData.hxx | 2 +- src/IGESData/IGESData_IGESWriter.hxx | 4 ++-- src/IGESDimen/IGESDimen_GeneralSymbol.hxx | 2 +- src/IGESToBRep/IGESToBRep_BasicCurve.cxx | 4 ++-- src/IGESToBRep/IGESToBRep_BasicSurface.cxx | 4 ++-- src/IGESToBRep/IGESToBRep_CurveAndSurface.hxx | 6 ++--- ...IVtkDraw_HighlightAndSelectionPipeline.cxx | 4 ++-- src/IVtkOCC/IVtkOCC_ViewerSelector.hxx | 2 +- src/IntPatch/IntPatch_ALineToWLine.cxx | 4 ++-- src/IntPatch/IntPatch_ImpImpIntersection.cxx | 6 ++--- src/IntPatch/IntPatch_WLineTool.cxx | 2 +- src/Interface/Interface_CopyTool.hxx | 2 +- src/MAT/MAT_Arc.hxx | 6 ++--- src/MeshVS/MeshVS_Mesh.cxx | 2 +- src/OSD/OSD_FileSystem.hxx | 2 +- src/PLib/PLib.hxx | 4 ++-- src/Plate/Plate_Plate.hxx | 2 +- src/ProjLib/ProjLib_CompProjectedCurve.cxx | 2 +- src/PrsDim/PrsDim_DiameterDimension.hxx | 2 +- src/PrsDim/PrsDim_Dimension.hxx | 4 ++-- src/PrsDim/PrsDim_EqualDistanceRelation.cxx | 6 ++--- src/RWGltf/RWGltf_CafReader.hxx | 2 +- src/RWGltf/RWGltf_GltfJsonParser.cxx | 2 +- .../RWStepShape_RWAngularLocation.cxx | 2 +- .../STEPCAFControl_GDTProperty.cxx | 4 ++-- src/STEPCAFControl/STEPCAFControl_Writer.cxx | 2 +- src/SWDRAW/SWDRAW_ShapeUpgrade.cxx | 2 +- src/ShapeAnalysis/ShapeAnalysis_Surface.hxx | 4 ++-- src/ShapeAnalysis/ShapeAnalysis_WireOrder.cxx | 2 +- .../ShapeCustom_BSplineRestriction.cxx | 2 +- src/ShapeCustom/ShapeCustom_Curve2d.hxx | 2 +- src/StepData/StepData_StepReaderData.hxx | 2 +- src/TDF/TDF_CopyTool.cxx | 2 +- src/TDF/TDF_DerivedAttribute.hxx | 2 +- src/TObj/TObj_Object.hxx | 2 +- .../TopOpeBRepBuild_BuilderON.cxx | 4 ++-- src/TopOpeBRepDS/TopOpeBRepDS_Check.hxx | 2 +- src/ViewerTest/ViewerTest_ObjectCommands.cxx | 4 ++-- .../ViewerTest_RelationCommands.cxx | 6 ++--- src/ViewerTest/ViewerTest_ViewerCommands.cxx | 8 +++---- src/VrmlAPI/VrmlAPI_Writer.cxx | 2 +- .../VrmlConverter_ShadedShape.cxx | 2 +- src/VrmlData/VrmlData_ShapeConvert.hxx | 2 +- src/XSControl/XSControl_FuncShape.cxx | 4 ++-- src/XSControl/XSControl_Reader.hxx | 2 +- src/XSDRAW/XSDRAW.hxx | 2 +- src/math/math_BissecNewton.hxx | 2 +- tests/bugs/moddata_3/bug23863 | 2 +- tests/bugs/moddata_3/bug24068 | 24 +++++++++---------- tests/opengl/data/geom/geom1 | 2 +- .../ViewControl/ViewControl_ColorSelector.cxx | 2 +- tools/ViewControl/ViewControl_TableModel.hxx | 2 +- 100 files changed, 178 insertions(+), 176 deletions(-) diff --git a/dox/user_guides/draw_test_harness/draw_test_harness.md b/dox/user_guides/draw_test_harness/draw_test_harness.md index c1942e30cf..ab9fd02e33 100644 --- a/dox/user_guides/draw_test_harness/draw_test_harness.md +++ b/dox/user_guides/draw_test_harness/draw_test_harness.md @@ -6480,7 +6480,7 @@ blend b b 2 . ==fleche : 0.001 ==tolblend 0.01 0.0001 1e-05 0.001 ==Pick an object -# click on the edge you want ot fillet +# click on the edge you want to fillet ==COMPUTE: temps total 0.1s dont : ==- Init + ExtentAnalyse 0s diff --git a/dox/user_guides/ocaf/ocaf.md b/dox/user_guides/ocaf/ocaf.md index 60babd2cb5..03a1a85b1a 100644 --- a/dox/user_guides/ocaf/ocaf.md +++ b/dox/user_guides/ocaf/ocaf.md @@ -2782,7 +2782,7 @@ The *TObj* sources are distributed in the following packages: * **External links** -- references from one data structure to another data structure in another document. To store these references properly, a label must also contain an external link attribute. * **Father** -- a label, from which other labels have been created. The other labels are, by definition, the children of this label. -* **Framework** -- a group of co-operating classes which enable a design to be re-used for a given category of problem. The framework guides the architecture of the application by breaking it up into abstract classes, each of which has different responsibilities and collaborates in a predefined way. Application developer creates a specialized framework by: +* **Framework** -- a group of co-operating classes which enable a design to be reused for a given category of problem. The framework guides the architecture of the application by breaking it up into abstract classes, each of which has different responsibilities and collaborates in a predefined way. Application developer creates a specialized framework by: * defining new classes which inherit from these abstract classes * composing framework class instances * implementing the services required by the framework. diff --git a/dox/user_guides/step/step.md b/dox/user_guides/step/step.md index 457b5f0010..691689a0d7 100644 --- a/dox/user_guides/step/step.md +++ b/dox/user_guides/step/step.md @@ -459,7 +459,7 @@ Boolean flag regulating translation of entities that define tessellated geometry * TRIANGULATED_FACE * COMPLEX_TRIANGULATED_FACE -Tesselated geometry is attached to shapes as objects of Poly_Triangulation type using STEP links. +Tessellated geometry is attached to shapes as objects of Poly_Triangulation type using STEP links. * 0 (Off) -- do not translate * 1 (On) -- translate @@ -1020,7 +1020,7 @@ Boolean flag regulating writing of entities that define tessellated geometry: * TESSELLATED_SOLID * TRIANGULATED_FACE -Tesselated geometry is taken as objects of Poly_Triangulation type from the active TopoDS_Face triangulation. +Tessellated geometry is taken as objects of Poly_Triangulation type from the active TopoDS_Face triangulation. * 0 (Off) -- do not write * 1 (On) -- write diff --git a/src/AdvApp2Var/AdvApp2Var_Context.cxx b/src/AdvApp2Var/AdvApp2Var_Context.cxx index a103de578c..51e6c44f57 100644 --- a/src/AdvApp2Var/AdvApp2Var_Context.cxx +++ b/src/AdvApp2Var/AdvApp2Var_Context.cxx @@ -18,7 +18,7 @@ #include #include -// Calculaton of parameters +// Calculation of parameters static Standard_Boolean lesparam(const Standard_Integer iordre, const Standard_Integer ncflim, const Standard_Integer icodeo, diff --git a/src/AdvApp2Var/AdvApp2Var_CriterionType.hxx b/src/AdvApp2Var/AdvApp2Var_CriterionType.hxx index 155c72a6d5..89e1340039 100644 --- a/src/AdvApp2Var/AdvApp2Var_CriterionType.hxx +++ b/src/AdvApp2Var/AdvApp2Var_CriterionType.hxx @@ -17,8 +17,10 @@ #ifndef _AdvApp2Var_CriterionType_HeaderFile #define _AdvApp2Var_CriterionType_HeaderFile -//! influency of the criterion on cutting process//! cutting when criterion is not satisfied -//! desactivation of the compute of the error max//! cutting when error max is not good or if error +//! influence of the criterion on cutting process +//! cutting when criterion is not satisfied +//! deactivation of the compute of the error max +//! cutting when error max is not good or if error //! max is good and criterion is not satisfied enum AdvApp2Var_CriterionType { diff --git a/src/AdvApp2Var/AdvApp2Var_MathBase.cxx b/src/AdvApp2Var/AdvApp2Var_MathBase.cxx index ab57728356..0dc67565f5 100644 --- a/src/AdvApp2Var/AdvApp2Var_MathBase.cxx +++ b/src/AdvApp2Var/AdvApp2Var_MathBase.cxx @@ -5339,7 +5339,7 @@ int mmherm1_(doublereal* debfin, /* INPUT ARGUMENTS : */ /* -------------------- */ - /* DEBFIN : PARAMETES DEFINING THE CONSTRAINTS */ + /* DEBFIN : PARAMETERS DEFINING THE CONSTRAINTS */ /* DEBFIN(1) : FIRST PARAMETER */ /* DEBFIN(2) : SECOND PARAMETER */ diff --git a/src/Approx/Approx_SweepApproximation.cxx b/src/Approx/Approx_SweepApproximation.cxx index aafc8f5968..8c2c1f8249 100644 --- a/src/Approx/Approx_SweepApproximation.cxx +++ b/src/Approx/Approx_SweepApproximation.cxx @@ -459,7 +459,7 @@ Standard_Boolean Approx_SweepApproximation::D0(const Standard_Real Param, AAffin->Value(ii).Transforms(myPoles2d->ChangeValue(ii).ChangeCoord()); } - // Update variables of controle and return + // Update variables of control and return first = First; last = Last; myOrder = 0; diff --git a/src/BRepBuilderAPI/BRepBuilderAPI_Sewing.cxx b/src/BRepBuilderAPI/BRepBuilderAPI_Sewing.cxx index 37a26d50bd..98620a8063 100644 --- a/src/BRepBuilderAPI/BRepBuilderAPI_Sewing.cxx +++ b/src/BRepBuilderAPI/BRepBuilderAPI_Sewing.cxx @@ -4733,7 +4733,7 @@ void BRepBuilderAPI_Sewing::CreateOutputInformations() } } - // Fill maps of Free, Contigous and Multiple edges + // Fill maps of Free, Contiguous and Multiple edges TopTools_IndexedDataMapOfShapeListOfShape::Iterator anIter(edgeSections); for (; anIter.More(); anIter.Next()) { diff --git a/src/BRepGProp/BRepGProp_UFunction.cxx b/src/BRepGProp/BRepGProp_UFunction.cxx index 0cc9d3b814..01d38cebea 100644 --- a/src/BRepGProp/BRepGProp_UFunction.cxx +++ b/src/BRepGProp/BRepGProp_UFunction.cxx @@ -154,7 +154,7 @@ Standard_Boolean BRepGProp_UFunction::CenterMassValue(const Standard_Real X, Sta //======================================================================= // function : InertiaValue -// purpose : Compute the value of intertia. +// purpose : Compute the value of inertia. //======================================================================= Standard_Boolean BRepGProp_UFunction::InertiaValue(const Standard_Real X, Standard_Real& F) diff --git a/src/BRepGProp/BRepGProp_UFunction.hxx b/src/BRepGProp/BRepGProp_UFunction.hxx index aa420138c2..9e02837ce6 100644 --- a/src/BRepGProp/BRepGProp_UFunction.hxx +++ b/src/BRepGProp/BRepGProp_UFunction.hxx @@ -83,7 +83,7 @@ private: //! Private method. Returns the value for volume computation. //! Other returned values are: //! - thePMP0 - PSurf(X,Y) minus Location. - //! - theS and theD1 coeffitients that are computed and used + //! - theS and theD1 coefficients that are computed and used //! for computation of center of mass and inertia values //! by plane. Standard_EXPORT Standard_Real VolumeValue(const Standard_Real X, @@ -98,7 +98,7 @@ private: //! computation of a value. Standard_EXPORT Standard_Boolean CenterMassValue(const Standard_Real X, Standard_Real& F); - //! Private method. Computes the value of intertia. The type of + //! Private method. Computes the value of inertia. The type of //! a value returned is defined by the value type. If it is //! other then GProp_InertiaXX, GProp_InertiaYY, //! GProp_InertiaZZ, GProp_InertiaXY, GProp_InertiaXZ or diff --git a/src/BRepIntCurveSurface/BRepIntCurveSurface_Inter.hxx b/src/BRepIntCurveSurface/BRepIntCurveSurface_Inter.hxx index b3695610fa..ef49cceac0 100644 --- a/src/BRepIntCurveSurface/BRepIntCurveSurface_Inter.hxx +++ b/src/BRepIntCurveSurface/BRepIntCurveSurface_Inter.hxx @@ -33,11 +33,11 @@ class TopoDS_Face; //! Computes the intersection between a face and a //! curve. To intersect one curve with shape method -//! Init(Shape, curve, tTol) should be used. To +//! Init(Shape, curve, tTol) should be used. To //! intersect a few curves with specified shape it is //! necessary to load shape one time using method //! Load(shape, tol) and find intersection points for -//! each curve using method Init(curve). For +//! each curve using method Init(curve). For //! iteration by intersection points method More() and //! Next() should be used. //! @@ -59,19 +59,19 @@ public: //! Empty constructor; Standard_EXPORT BRepIntCurveSurface_Inter(); - //! Load the Shape, the curve and initialize the + //! Load the Shape, the curve and initialize the //! tolerance used for the classification. Standard_EXPORT void Init(const TopoDS_Shape& theShape, const GeomAdaptor_Curve& theCurve, const Standard_Real theTol); - //! Load the Shape, the curve and initialize the + //! Load the Shape, the curve and initialize the //! tolerance used for the classification. Standard_EXPORT void Init(const TopoDS_Shape& theShape, const gp_Lin& theLine, const Standard_Real theTol); - //! Load the Shape, and initialize the + //! Load the Shape, and initialize the //! tolerance used for the classification. Standard_EXPORT void Load(const TopoDS_Shape& theShape, const Standard_Real theTol); @@ -98,11 +98,11 @@ public: //! on the current face. Standard_EXPORT Standard_Real V() const; - //! returns the parameter of the current point + //! returns the parameter of the current point //! on the curve. Standard_EXPORT Standard_Real W() const; - //! returns the current state (IN or ON) + //! returns the current state (IN or ON) Standard_EXPORT TopAbs_State State() const; //! returns the transition of the line on the surface (IN or OUT or UNKNOWN) @@ -115,7 +115,7 @@ protected: //! Internal function Standard_EXPORT void Find(); - //! Method chec found intersection point + //! Method check found intersection point Standard_EXPORT Standard_Boolean FindPoint(); //! Method to clear fields of class diff --git a/src/BRepMesh/BRepMesh_DefaultRangeSplitter.hxx b/src/BRepMesh/BRepMesh_DefaultRangeSplitter.hxx index 109c2c0962..42e73fbe4b 100644 --- a/src/BRepMesh/BRepMesh_DefaultRangeSplitter.hxx +++ b/src/BRepMesh/BRepMesh_DefaultRangeSplitter.hxx @@ -62,7 +62,7 @@ public: const IMeshTools_Parameters& theParameters) const; //! Returns point in 3d space corresponded to the given - //! point defined in parameteric space of surface. + //! point defined in parametric space of surface. gp_Pnt Point(const gp_Pnt2d& thePoint2d) const { return GetSurface()->Value(thePoint2d.X(), thePoint2d.Y()); diff --git a/src/BRepMesh/BRepMesh_DelaunayDeflectionControlMeshAlgo.hxx b/src/BRepMesh/BRepMesh_DelaunayDeflectionControlMeshAlgo.hxx index 1d769fab83..ed2a251daf 100644 --- a/src/BRepMesh/BRepMesh_DelaunayDeflectionControlMeshAlgo.hxx +++ b/src/BRepMesh/BRepMesh_DelaunayDeflectionControlMeshAlgo.hxx @@ -21,7 +21,7 @@ #include //! Extends node insertion Delaunay meshing algo in order to control -//! deflection of generated trianges. Splits triangles failing the check. +//! deflection of generated triangles. Splits triangles failing the check. template class BRepMesh_DelaunayDeflectionControlMeshAlgo : public BRepMesh_DelaunayNodeInsertionMeshAlgo diff --git a/src/BRepOffset/BRepOffset_Inter3d.cxx b/src/BRepOffset/BRepOffset_Inter3d.cxx index cdf103e1ee..ef7ec92674 100644 --- a/src/BRepOffset/BRepOffset_Inter3d.cxx +++ b/src/BRepOffset/BRepOffset_Inter3d.cxx @@ -1356,7 +1356,7 @@ void BRepOffset_Inter3d::ContextIntByArc(const TopTools_IndexedMapOfShape& Conte if (InitOffsetFace.HasImage(EV)) { //------------------------------------------------- - // OF1 parallel face generated by an ancester edge of V[i]. + // OF1 parallel face generated by an ancestor edge of V[i]. //------------------------------------------------- OF1 = TopoDS::Face(InitOffsetFace.Image(EV).First()); OE = TopoDS::Edge(InitOffsetEdge.Image(V[i]).First()); diff --git a/src/BRepOffset/BRepOffset_MakeOffset.cxx b/src/BRepOffset/BRepOffset_MakeOffset.cxx index b6d96e2b5d..e3e874a457 100644 --- a/src/BRepOffset/BRepOffset_MakeOffset.cxx +++ b/src/BRepOffset/BRepOffset_MakeOffset.cxx @@ -3132,10 +3132,10 @@ void BRepOffset_MakeOffset::MakeMissingWalls(const Message_ProgressRange& theRan // Then edge is trimmed by intersection line between // two adjacent extended offset faces and get vertices. // When intersection lines are invalid for any reason, - // (one of reson is mixed connectivity of faces) - // algoritm of cutting offset edge by intersection line + // (one reason is mixed connectivity of faces) + // algorithm of cutting offset edge by intersection line // can fail and offset edge cannot get vertices. - // Follwing workaround is only to avoid exception if V3 and V4 are Null + // Following workaround is only to avoid exception if V3 and V4 are Null // Vertex points are invalid. Standard_Real anOEF, anOEL; TopAbs_Orientation anOEOri = OE.Orientation(); diff --git a/src/BRepOffset/BRepOffset_MakeOffset.hxx b/src/BRepOffset/BRepOffset_MakeOffset.hxx index a6c3934c1c..32ec382cdc 100644 --- a/src/BRepOffset/BRepOffset_MakeOffset.hxx +++ b/src/BRepOffset/BRepOffset_MakeOffset.hxx @@ -137,7 +137,7 @@ public: //! @name History methods protected: //! Analyze progress steps of the whole operation. //! @param theWhole - sum of progress of all operations. - //! @oaram theSteps - steps of the operations supported by PI + //! @param theSteps - steps of the operations supported by PI Standard_EXPORT void analyzeProgress(const Standard_Real theWhole, TColStd_Array1OfReal& theSteps) const; diff --git a/src/BRepOffset/BRepOffset_MakeOffset_1.cxx b/src/BRepOffset/BRepOffset_MakeOffset_1.cxx index 1b9265fc81..c66c945574 100644 --- a/src/BRepOffset/BRepOffset_MakeOffset_1.cxx +++ b/src/BRepOffset/BRepOffset_MakeOffset_1.cxx @@ -1298,7 +1298,7 @@ void BRepOffset_BuildOffsetFaces::BuildSplitsOfFaces(const Message_ProgressRange Standard_Boolean bAllInv = Standard_True; // Additional check for artificial case // if current image face consist only of edges from aMapEInv and aMENInv - // then recheck current face for the futher processing + // then recheck current face for the further processing Standard_Boolean aToReCheckFace = bArtificialCase; const TopoDS_Shape& aFIm = aItLFIm.Value(); TopExp_Explorer aExpE(aFIm, TopAbs_EDGE); @@ -1321,7 +1321,7 @@ void BRepOffset_BuildOffsetFaces::BuildSplitsOfFaces(const Message_ProgressRange { aToReCheckFace = checkConnectionsOfFace(aFIm, aLFImages1); } - // do not delete image face from futher processing if aToReCheckFace is true + // do not delete image face from further processing if aToReCheckFace is true if (!aExpE.More() && !aToReCheckFace) { if (bAllInv) @@ -5474,7 +5474,7 @@ namespace { //======================================================================= // function : mapShapes -// purpose : Collect theVecShapes into theMap with setted theType +// purpose : Collect theVecShapes into theMap with theType set //======================================================================= template static void mapShapes(const Container& theVecShapes, diff --git a/src/BRepOffset/BRepOffset_MakeSimpleOffset.hxx b/src/BRepOffset/BRepOffset_MakeSimpleOffset.hxx index f8dd7d08b9..d2f04fe6d4 100644 --- a/src/BRepOffset/BRepOffset_MakeSimpleOffset.hxx +++ b/src/BRepOffset/BRepOffset_MakeSimpleOffset.hxx @@ -68,7 +68,7 @@ public: Standard_EXPORT BRepOffset_MakeSimpleOffset(const TopoDS_Shape& theInputShape, const Standard_Real theOffsetValue); - //! Initialies shape for modifications. + //! Initialise shape for modifications. Standard_EXPORT void Initialize(const TopoDS_Shape& theInputShape, const Standard_Real theOffsetValue); diff --git a/src/BRepPrim/BRepPrim_GWedge.hxx b/src/BRepPrim/BRepPrim_GWedge.hxx index 0d49fee73b..855a7a411d 100644 --- a/src/BRepPrim/BRepPrim_GWedge.hxx +++ b/src/BRepPrim/BRepPrim_GWedge.hxx @@ -34,11 +34,11 @@ class gp_Pln; class gp_Lin; class gp_Pnt; -//! A wedge is defined by : +//! A wedge is defined by: //! -//! Axes : an Axis2 (coordinate system) +//! Axes: an Axis2 (coordinate system) //! -//! YMin, YMax the coordinates of the ymin and ymax +//! YMin, YMax the coordinates of the ymin and ymax //! rectangular faces parallel to the ZX plane (of the //! coordinate systems) //! @@ -61,7 +61,7 @@ public: //! Default constructor Standard_EXPORT BRepPrim_GWedge(); - //! Creates a GWedge algorithm. is the axis + //! Creates a GWedge algorithm. is the axis //! system for the primitive. //! //! XMin, YMin, ZMin are set to 0 @@ -78,7 +78,7 @@ public: const Standard_Real dy, const Standard_Real dz); - //! Creates a GWedge primitive. is the axis + //! Creates a GWedge primitive. is the axis //! system for the primitive. //! //! XMin, YMin, ZMin are set to 0 @@ -97,7 +97,7 @@ public: const Standard_Real dz, const Standard_Real ltx); - //! Create a GWedge primitive. is the axis + //! Create a GWedge primitive. is the axis //! system for the primitive. //! //! all the fields are set to the corresponding value @@ -150,11 +150,11 @@ public: Standard_EXPORT Standard_Real GetX2Max() const; //! Opens in direction. A face and its edges - //! or vertices are said nonexistant. + //! or vertices are said nonexistent. Standard_EXPORT void Open(const BRepPrim_Direction d1); - //! Closes in direction. A face and its - //! edges or vertices are said existant. + //! Closes in direction. A face and its + //! edges or vertices are said existent. Standard_EXPORT void Close(const BRepPrim_Direction d1); //! Returns True if is open in direction. @@ -169,7 +169,7 @@ public: //! Returns the Face of located in direction. Standard_EXPORT const TopoDS_Face& Face(const BRepPrim_Direction d1); - //! Returns the plane of the Face of located in + //! Returns the plane of the Face of located in //! direction. Standard_EXPORT gp_Pln Plane(const BRepPrim_Direction d1); @@ -186,11 +186,11 @@ public: //! Returns the Edge of located in direction. Standard_EXPORT const TopoDS_Edge& Edge(const BRepPrim_Direction d1, const BRepPrim_Direction d2); - //! Returns the line of the Edge of located in + //! Returns the line of the Edge of located in //! direction. Standard_EXPORT gp_Lin Line(const BRepPrim_Direction d1, const BRepPrim_Direction d2); - //! Returns True if has a Vertex in + //! Returns True if has a Vertex in //! direction. Standard_EXPORT Standard_Boolean HasVertex(const BRepPrim_Direction d1, const BRepPrim_Direction d2, diff --git a/src/BRepPrimAPI/BRepPrimAPI_MakeHalfSpace.cxx b/src/BRepPrimAPI/BRepPrimAPI_MakeHalfSpace.cxx index fa52d94a7d..2ce0d43028 100644 --- a/src/BRepPrimAPI/BRepPrimAPI_MakeHalfSpace.cxx +++ b/src/BRepPrimAPI/BRepPrimAPI_MakeHalfSpace.cxx @@ -116,7 +116,7 @@ static Standard_Boolean getNormalFromVertex(const TopoDS_Shape& theShape, //======================================================================= // function : FindExtrema -// purpose : This finction is called to find the nearest normal projection +// purpose : This function is called to find the nearest normal projection // of a point on a shape . // 1) return true if extrema is found. // 2) Set in: diff --git a/src/BRepSweep/BRepSweep_NumLinearRegularSweep.hxx b/src/BRepSweep/BRepSweep_NumLinearRegularSweep.hxx index db7927bdcd..d256ec13ac 100644 --- a/src/BRepSweep/BRepSweep_NumLinearRegularSweep.hxx +++ b/src/BRepSweep/BRepSweep_NumLinearRegularSweep.hxx @@ -58,13 +58,13 @@ //! ... //! //! "GenObject" is used to identify an object from the -//! Generating Shape, and "DirObject" from the -//! Directing Shape. So may they be from different +//! Generating Shape, and "DirObject" from the +//! Directing Shape. So may they be from different //! types. //! //! The method Has... is given because in some special -//! cases, a vertex, an edge or a face may be -//! geometricaly nonexistant or not useful. +//! cases, a vertex, an edge or a face may be +//! geometricaly nonexistent or not useful. class BRepSweep_NumLinearRegularSweep { public: diff --git a/src/BRepTest/BRepTest_FeatureCommands.cxx b/src/BRepTest/BRepTest_FeatureCommands.cxx index 7e2ae854b1..12f2aef11f 100644 --- a/src/BRepTest/BRepTest_FeatureCommands.cxx +++ b/src/BRepTest/BRepTest_FeatureCommands.cxx @@ -1213,7 +1213,7 @@ Standard_Integer offsetparameter(Draw_Interpretor& di, Standard_Integer n, const di << " --> TheInter : "; if (TheInter) { - di << "Complet"; + di << "Complete"; } else { diff --git a/src/BSplCLib/BSplCLib.hxx b/src/BSplCLib/BSplCLib.hxx index 68d6e1aedc..d1ce304e4c 100644 --- a/src/BSplCLib/BSplCLib.hxx +++ b/src/BSplCLib/BSplCLib.hxx @@ -1639,7 +1639,7 @@ public: //! WeightsResult one has the result of the evaluation of //! the denominator //! - //! Warning: and must be dimensionned + //! Warning: and must be dimensioned //! properly. Standard_EXPORT static void Eval(const Standard_Real U, const Standard_Boolean PeriodicFlag, @@ -1686,7 +1686,7 @@ public: //! must be equal to 1, 2 or 3. //! must be greater or equal than + 1. //! - //! Warning: and must be dimensionned + //! Warning: and must be dimensioned //! properly. Standard_EXPORT static void TangExtendToConstraint(const TColStd_Array1OfReal& FlatKnots, const Standard_Real C1Coefficient, diff --git a/src/BSplSLib/BSplSLib.hxx b/src/BSplSLib/BSplSLib.hxx index 8a3688ec05..09e2f81547 100644 --- a/src/BSplSLib/BSplSLib.hxx +++ b/src/BSplSLib/BSplSLib.hxx @@ -170,7 +170,7 @@ public: //! //! x(1)/w , x(2)/w , ... derivated times //! .... - //! Warning: must be dimensionned properly. + //! Warning: must be dimensioned properly. Standard_EXPORT static void RationalDerivative(const Standard_Integer UDeg, const Standard_Integer VDeg, const Standard_Integer N, diff --git a/src/BVH/BVH_Builder.hxx b/src/BVH/BVH_Builder.hxx index bd6894a949..a3871cc14d 100644 --- a/src/BVH/BVH_Builder.hxx +++ b/src/BVH/BVH_Builder.hxx @@ -34,7 +34,7 @@ public: //! Returns parallel flag. inline Standard_Boolean IsParallel() const { return myIsParallel; } - //! Set parallel flag contolling possibility of parallel execution. + //! Set parallel flag controlling possibility of parallel execution. inline void SetParallel(const Standard_Boolean isParallel) { myIsParallel = isParallel; } protected: diff --git a/src/BVH/BVH_DistanceField.hxx b/src/BVH/BVH_DistanceField.hxx index 8927447add..35843f72ff 100644 --- a/src/BVH/BVH_DistanceField.hxx +++ b/src/BVH/BVH_DistanceField.hxx @@ -47,7 +47,7 @@ public: //! Returns parallel flag. inline Standard_Boolean IsParallel() const { return myIsParallel; } - //! Set parallel flag contolling possibility of parallel execution. + //! Set parallel flag controlling possibility of parallel execution. inline void SetParallel(const Standard_Boolean isParallel) { myIsParallel = isParallel; } public: diff --git a/src/BVH/BVH_Sorter.hxx b/src/BVH/BVH_Sorter.hxx index 3d69896b9b..1900130945 100644 --- a/src/BVH/BVH_Sorter.hxx +++ b/src/BVH/BVH_Sorter.hxx @@ -43,7 +43,7 @@ public: //! Returns parallel flag. inline Standard_Boolean IsParallel() const { return myIsParallel; } - //! Set parallel flag contolling possibility of parallel execution. + //! Set parallel flag controlling possibility of parallel execution. inline void SetParallel(const Standard_Boolean isParallel) { myIsParallel = isParallel; } private: diff --git a/src/ChFi3d/ChFi3d_Builder_0.cxx b/src/ChFi3d/ChFi3d_Builder_0.cxx index dee6067f8e..18354eee6a 100644 --- a/src/ChFi3d/ChFi3d_Builder_0.cxx +++ b/src/ChFi3d/ChFi3d_Builder_0.cxx @@ -3306,7 +3306,7 @@ Standard_Real ChFi3d_ConvTol2dToTol3d(const Handle(Adaptor3d_Surface)& S, const //======================================================================= // function : EvalTolReached // purpose : The function above is too hard because -// parametrization of surfaces is not homogenous. +// parametrization of surfaces is not homogeneous. //======================================================================= Standard_Real ChFi3d_EvalTolReached(const Handle(Adaptor3d_Surface)& S1, diff --git a/src/ChFi3d/ChFi3d_Builder_1.cxx b/src/ChFi3d/ChFi3d_Builder_1.cxx index df6aa4e6af..01b2bf0250 100644 --- a/src/ChFi3d/ChFi3d_Builder_1.cxx +++ b/src/ChFi3d/ChFi3d_Builder_1.cxx @@ -946,7 +946,7 @@ Standard_Boolean ChFi3d_Builder::PerformElement(const Handle(ChFiDS_Spine)& Spin { // there is no need of tolerance // to make a decision (PRO9486) the regularity is enough. - // However, the abcense of turn-back is checked (PRO9810) + // However, the absence of turn-back is checked (PRO9810) OnAjoute = ((!rev && av1v2 < M_PI / 2) || (rev && av1v2 > M_PI / 2)); // mate attention to the single case (cf CTS21610_1) if (OnAjoute && (degeneOnEc || TangentOnVertex(LVEc, Ev, myEFMap, ta))) diff --git a/src/ChFi3d/ChFi3d_Builder_C1.cxx b/src/ChFi3d/ChFi3d_Builder_C1.cxx index 2409ab8069..73d2af0210 100644 --- a/src/ChFi3d/ChFi3d_Builder_C1.cxx +++ b/src/ChFi3d/ChFi3d_Builder_C1.cxx @@ -4397,7 +4397,7 @@ void ChFi3d_Builder::IntersectMoreCorner(const Standard_Integer Index) } // Fopbis is the face containing the trace of fillet CP.Arc() which of does not contain Vtx. - // Normallly Fobis is either the same as Fop (cylinder), or Fobis is G1 with Fop. + // Normally Fobis is either the same as Fop (cylinder), or Fobis is G1 with Fop. Fopbis.Orientation(TopAbs_FORWARD); // Fop calls the 4th face non-used for the vertex diff --git a/src/ChFi3d/ChFi3d_Builder_C2.cxx b/src/ChFi3d/ChFi3d_Builder_C2.cxx index e0a2844690..cad70cb041 100644 --- a/src/ChFi3d/ChFi3d_Builder_C2.cxx +++ b/src/ChFi3d/ChFi3d_Builder_C2.cxx @@ -143,7 +143,7 @@ Standard_Boolean ChFi3d_Builder::PerformTwoCornerbyInter(const Standard_Integer ChFiDS_SequenceOfSurfData& SeqFil2 = Corner2->ChangeSetOfSurfData()->ChangeSequence(); Handle(ChFiDS_SurfData)& Fd2 = SeqFil2.ChangeValue(IFd2); - // The concavities are analysed in case of differents concavities, + // The concavities are analysed in case of different concavities, // preview an evolutionary connection of type ThreeCorner of R to 0. // Otherwise the opposite face // and the eventual intersection of 2 pcurves on this face are found. diff --git a/src/ChFi3d/ChFi3d_Builder_CnCrn.cxx b/src/ChFi3d/ChFi3d_Builder_CnCrn.cxx index 063e6cd491..fa2427cf9a 100644 --- a/src/ChFi3d/ChFi3d_Builder_CnCrn.cxx +++ b/src/ChFi3d/ChFi3d_Builder_CnCrn.cxx @@ -2403,7 +2403,7 @@ void ChFi3d_Builder::PerformMoreThreeCorner(const Standard_Integer Jndex, // nbiter - number of iterations, when surface from previous iteration uses as initial surface for // next one practically this process does not converge, using "bad" initial surface leads to much // more "bad" solution. constr is order of constraint: 0 - G0, 1 - G1 ... Using constraint order > - // 0 very often causes unpredicable undulations of solution + // 0 very often causes unpredictable undulations of solution Standard_Integer degree = 3, nbcurvpnt = 10, nbiter = 1; Standard_Integer constr = 1; // G1 GeomPlate_BuildPlateSurface PSurf(degree, nbcurvpnt, nbiter, tol2d, tolapp3d, angular); diff --git a/src/ChFi3d/ChFi3d_ChBuilder_C3.cxx b/src/ChFi3d/ChFi3d_ChBuilder_C3.cxx index 719769a73e..8b1ba7f850 100644 --- a/src/ChFi3d/ChFi3d_ChBuilder_C3.cxx +++ b/src/ChFi3d/ChFi3d_ChBuilder_C3.cxx @@ -123,7 +123,7 @@ static Handle(GeomAdaptor_Surface) BoundSurf(const Handle(Geom_Surface)& S, // the SurfData of the corner . Here we know the // extremities of the intersection and , and // their parameters , on . -// cointains the intersection 2d point on the corner +// contains the intersection 2d point on the corner // which corresponds to the point // and are the derivative vectors on the // SurfData at the point diff --git a/src/DBRep/DBRep.cxx b/src/DBRep/DBRep.cxx index df81a771c7..271231a7f5 100644 --- a/src/DBRep/DBRep.cxx +++ b/src/DBRep/DBRep.cxx @@ -223,8 +223,8 @@ static Standard_Integer hlr(Draw_Interpretor& di, Standard_Integer n, const char } else if (!strcasecmp(a[1], "ang")) { - di << "Angle de discretisation : "; - di << aParams.HLRAngle * 180 / M_PI << " degres\n"; + di << "Angle of discretization : "; + di << aParams.HLRAngle * 180 / M_PI << " degrees\n"; } else return 1; @@ -733,7 +733,7 @@ static Standard_Integer nexplode(Draw_Interpretor& di, Standard_Integer n, const } } } - // Check of equality of MidXYZ + // Check equality of MidXYZ for (Index = 1; Index < MaxShapes; Index++) { if (MidXYZ(OrderInd(Index + 1)) == MidXYZ(OrderInd(Index))) diff --git a/src/Extrema/Extrema_ExtPElS.cxx b/src/Extrema/Extrema_ExtPElS.cxx index c1ca57a60d..41102ec6dc 100644 --- a/src/Extrema/Extrema_ExtPElS.cxx +++ b/src/Extrema/Extrema_ExtPElS.cxx @@ -345,7 +345,7 @@ Function: Method: Let Pp be the projection of point P in plane XOY of the torus; - 2 cases are consideres: + 2 cases are considered: 1- distance(Pp,O) < Tol: There is an infinite number of solutions; IsDone() = Standard_False. 2- distance(Pp,O) > Tol: diff --git a/src/Extrema/Extrema_GenExtCS.cxx b/src/Extrema/Extrema_GenExtCS.cxx index d130cbab5f..9071cd8685 100644 --- a/src/Extrema/Extrema_GenExtCS.cxx +++ b/src/Extrema/Extrema_GenExtCS.cxx @@ -687,7 +687,7 @@ void Extrema_GenExtCS::GlobMinCQuadric(const Adaptor3d_Curve& theC, // // Increase numbers of curve samples to improve searching global minimum - // because dimension of optimisation task is redused + // because dimension of optimisation task is reduced const Standard_Integer aMaxNbNodes = 50; Standard_Integer aNewCsample = mytsample; Standard_Integer anAddsample = Max(myusample / 2, 3); diff --git a/src/Extrema/Extrema_GenExtPS.cxx b/src/Extrema/Extrema_GenExtPS.cxx index 4ea2424d91..9081003fae 100644 --- a/src/Extrema/Extrema_GenExtPS.cxx +++ b/src/Extrema/Extrema_GenExtPS.cxx @@ -171,7 +171,7 @@ Method: - F: Extrema_FuncExtPS created from P and S, - UV: math_Vector the components which of are parameters of the extremum on the grid, - - Tol: Min(TolU,TolV), (Prov.:math_FunctionSetRoot does not autorize a vector) + - Tol: Min(TolU,TolV), (Prov.:math_FunctionSetRoot does not authorize a vector) - UVinf: math_Vector the components which of are lower limits of u and v, - UVsup: math_Vector the components which of are upper limits of u and v. diff --git a/src/Geom/Geom_BezierSurface.hxx b/src/Geom/Geom_BezierSurface.hxx index f04879cb43..e006f04ca4 100644 --- a/src/Geom/Geom_BezierSurface.hxx +++ b/src/Geom/Geom_BezierSurface.hxx @@ -247,7 +247,7 @@ public: //! . UDegree is greater than MaxDegree. //! . the Length of CPoles is not equal to NbVPoles //! . a weight value is lower or equal to Resolution from - //! pacakage gp + //! package gp Standard_EXPORT void InsertPoleRowBefore(const Standard_Integer UIndex, const TColgp_Array1OfPnt& CPoles, const TColStd_Array1OfReal& CPoleWeights); diff --git a/src/GeomPlate/GeomPlate_BuildPlateSurface.cxx b/src/GeomPlate/GeomPlate_BuildPlateSurface.cxx index 78fd30cba3..f149d19c58 100644 --- a/src/GeomPlate/GeomPlate_BuildPlateSurface.cxx +++ b/src/GeomPlate/GeomPlate_BuildPlateSurface.cxx @@ -2211,7 +2211,7 @@ void GeomPlate_BuildPlateSurface::Discretise( { if (((!mySurfInitIsGive) && (Geom2dAdaptor_Curve(LinCont->Curve2dOnSurf()).GetType() != GeomAbs_Circle)) - || ((j > 1) && (j < NbPnt_i))) // exclude extremeties + || ((j > 1) && (j < NbPnt_i))) // exclude extremities myPlateCont->ChangeValue(i).Append(Inter); // add the point } } diff --git a/src/HLRAlgo/HLRAlgo_Coincidence.hxx b/src/HLRAlgo/HLRAlgo_Coincidence.hxx index fe040a1537..c6b8af97a4 100644 --- a/src/HLRAlgo/HLRAlgo_Coincidence.hxx +++ b/src/HLRAlgo/HLRAlgo_Coincidence.hxx @@ -23,17 +23,17 @@ #include #include -//! The Coincidence class is used in an Inteference to +//! The Coincidence class is used in an Interference to //! store information on the "hiding" edge. //! -//! 2D Data : The tangent and the curvature of the -//! projection of the edge at the intersection point. -//! This is necesserary when the intersection is at +//! 2D Data: The tangent and the curvature of the +//! projection of the edge at the intersection point. +//! This is necesserary when the intersection is at //! the extremity of the edge. //! -//! 3D Data : The state of the edge near the -//! intersection with the face (before and after). -//! This is necessary when the intersection is "ON" +//! 3D Data: The state of the edge near the +//! intersection with the face (before and after). +//! This is necessary when the intersection is "ON" //! the face. class HLRAlgo_Coincidence { diff --git a/src/IFSelect/IFSelect_Modifier.hxx b/src/IFSelect/IFSelect_Modifier.hxx index e78e37808c..2718fb1d63 100644 --- a/src/IFSelect/IFSelect_Modifier.hxx +++ b/src/IFSelect/IFSelect_Modifier.hxx @@ -50,7 +50,7 @@ public: //! allows to run additional copies as required //! //! In case of Error, use methods CCheck from the ContextModif - //! to aknowledge an entity Check or a Global Check with messages + //! to acknowledge an entity Check or a Global Check with messages Standard_EXPORT virtual void Perform(IFSelect_ContextModif& ctx, const Handle(Interface_InterfaceModel)& target, const Handle(Interface_Protocol)& protocol, diff --git a/src/IFSelect/IFSelect_SelectSignature.hxx b/src/IFSelect/IFSelect_SelectSignature.hxx index cf400180e1..5c2d9a853f 100644 --- a/src/IFSelect/IFSelect_SelectSignature.hxx +++ b/src/IFSelect/IFSelect_SelectSignature.hxx @@ -38,7 +38,7 @@ DEFINE_STANDARD_HANDLE(IFSelect_SelectSignature, IFSelect_SelectExtract) //! contains (the Type's Name must contain the criterium Text) //! //! Remark that no more interpretation is done, it is an -//! alpha-numeric signature : for instance, DynamicType is matched +//! alphanumeric signature : for instance, DynamicType is matched //! as such, super-types are not considered //! //! Also, numeric (integer) comparisons are supported : an item diff --git a/src/IFSelect/IFSelect_SessionFile.hxx b/src/IFSelect/IFSelect_SessionFile.hxx index 41394a8dfa..6015aac052 100644 --- a/src/IFSelect/IFSelect_SessionFile.hxx +++ b/src/IFSelect/IFSelect_SessionFile.hxx @@ -35,7 +35,7 @@ class Standard_Transient; //! WorkSession and an Ascii Form, to be considered as a Dump. //! It allows to write the File from the WorkSession, and later //! read the File to the WorkSession, by keeping required -//! descriptions (such as dependances). +//! descriptions (such as dependences). //! //! The produced File is under an Ascii Form, then it may be //! easily consulted. @@ -75,7 +75,7 @@ public: //! Creates a SessionFile which Writes the content of a WorkSession //! to a File (directly calls Write) - //! Then, IsDone aknowledges on the result of the Operation. + //! Then, IsDone acknowledges on the result of the Operation. //! But such a SessionFile may not Read a File to a WorkSession. Standard_EXPORT IFSelect_SessionFile(const Handle(IFSelect_WorkSession)& WS, const Standard_CString filename); diff --git a/src/IFSelect/IFSelect_WorkSession.hxx b/src/IFSelect/IFSelect_WorkSession.hxx index 5da6dad114..0a4abd6db0 100644 --- a/src/IFSelect/IFSelect_WorkSession.hxx +++ b/src/IFSelect/IFSelect_WorkSession.hxx @@ -642,7 +642,7 @@ public: //! undefined), positive if OK, negative else : //! 0 : Nothing done //! 1 : OK, edition on the spot with no change to the graph - //! of dependances (purely local) + //! of dependencies (purely local) //! 2 : OK, model edited on the spot (graph recomputed, may //! have changed), protocol unchanged //! 3 : OK, new model produced, same protocol @@ -654,7 +654,7 @@ public: //! -2 : Error on edition the spot, data may be corrupted //! (checking them is recommended) //! -3 : Error with a new data set, transformation ignored - //! -4 : OK as 4, but graph of dependances count not be recomputed + //! -4 : OK as 4, but graph of dependences count not be recomputed //! (the former one is kept) : check the protocol Standard_EXPORT Standard_Integer RunTransformer(const Handle(IFSelect_Transformer)& transf); @@ -795,7 +795,7 @@ public: //! See the class PacketList for more details. Standard_EXPORT Handle(IFSelect_PacketList) EvalSplit() const; - //! Returns the list of Entities sent in files, accourding the + //! Returns the list of Entities sent in files, according to the //! count of files each one has been sent (these counts are reset //! by SetModel or SetRemaining(Forget) ) stored in Graph Status //! = -1 (default) is for ENtities sent at least once diff --git a/src/IGESCAFControl/IGESCAFControl_Writer.cxx b/src/IGESCAFControl/IGESCAFControl_Writer.cxx index cb2202cb9c..39c8b86bf9 100644 --- a/src/IGESCAFControl/IGESCAFControl_Writer.cxx +++ b/src/IGESCAFControl/IGESCAFControl_Writer.cxx @@ -354,7 +354,7 @@ void IGESCAFControl_Writer::MakeColors(const TopoDS_Shape& } else { - // may be S was splited during shape process + // may be S was split during shape process Handle(Transfer_Binder) bnd = FP->Find(mapper); if (!bnd.IsNull()) { diff --git a/src/IGESControl/IGESControl_Controller.hxx b/src/IGESControl/IGESControl_Controller.hxx index 14c249f8ee..e72297781c 100644 --- a/src/IGESControl/IGESControl_Controller.hxx +++ b/src/IGESControl/IGESControl_Controller.hxx @@ -57,7 +57,7 @@ public: //! is to be interpreted by each kind of XstepAdaptor //! Returns a status : 0 OK 1 No result 2 Fail -1 bad modeshape //! -2 bad model (requires an IGESModel) - //! modeshape : 0 groupe of face (version < 5.1) + //! modeshape : 0 group of face (version < 5.1) //! 1 BREP-version 5.1 of IGES Standard_EXPORT virtual IFSelect_ReturnStatus TransferWriteShape( const TopoDS_Shape& shape, diff --git a/src/IGESConvGeom/IGESConvGeom.cxx b/src/IGESConvGeom/IGESConvGeom.cxx index 55d6323242..a80910b21b 100644 --- a/src/IGESConvGeom/IGESConvGeom.cxx +++ b/src/IGESConvGeom/IGESConvGeom.cxx @@ -267,7 +267,7 @@ Standard_Integer IGESConvGeom::SplineSurfaceFromIGES(const Handle(IGESGeom_Splin if ((NbUSeg < 1) || (NbVSeg < 1)) return 5; - // Output BSpline knots & multiplicities arraies for U & V : + // Output BSpline knots & multiplicities arrays for U & V : // ========================================================= TColStd_Array1OfReal UKnot(1, NbUSeg + 1); diff --git a/src/IGESData/IGESData_IGESEntity.hxx b/src/IGESData/IGESData_IGESEntity.hxx index 5b9cdd2547..b4dc1b21a3 100644 --- a/src/IGESData/IGESData_IGESEntity.hxx +++ b/src/IGESData/IGESData_IGESEntity.hxx @@ -185,7 +185,7 @@ public: //! Warning 0 is returned if no subscript number is defined for this IGES entity. Standard_EXPORT Standard_Integer SubScriptNumber() const; - //! Initializes a directory field as an Entiy of any kind + //! Initializes a directory field as an Entity of any kind //! See DirFieldEntity for more details Standard_EXPORT void InitDirFieldEntity(const Standard_Integer fieldnum, const Handle(IGESData_IGESEntity)& ent); diff --git a/src/IGESData/IGESData_IGESReaderData.hxx b/src/IGESData/IGESData_IGESReaderData.hxx index f9b2172566..80e30b332d 100644 --- a/src/IGESData/IGESData_IGESReaderData.hxx +++ b/src/IGESData/IGESData_IGESReaderData.hxx @@ -46,7 +46,7 @@ class IGESData_IGESReaderData : public Interface_FileReaderData { public: - //! creates IGESReaderData correctly dimensionned (for arrays) + //! creates IGESReaderData correctly dimensioned (for arrays) //! count of entities, that is, half nb of directory lines //! : count of parameters Standard_EXPORT IGESData_IGESReaderData(const Standard_Integer nbe, const Standard_Integer nbp); diff --git a/src/IGESData/IGESData_IGESWriter.hxx b/src/IGESData/IGESData_IGESWriter.hxx index 57a1890944..8554e42404 100644 --- a/src/IGESData/IGESData_IGESWriter.hxx +++ b/src/IGESData/IGESData_IGESWriter.hxx @@ -70,7 +70,7 @@ public: //! Sends an additional Starting Line : this is the way used to //! send comments in an IGES File (at beginning of the file). - //! If the line is more than 72 char.s long, it is splited into + //! If the line is more than 72 chars long, it is split into //! as many lines as required to send it completely Standard_EXPORT void SendStartLine(const Standard_CString startline); @@ -143,7 +143,7 @@ public: const Standard_Boolean negative = Standard_False); //! Helper method to avoid ambiguity of calls to above methods Send() for - //! classes derived from IGESData_IGESEntity, for VC++ 10 and 11 compillers + //! classes derived from IGESData_IGESEntity, for VC++ 10 and 11 compilers template void Send(const Handle(T)& val, Standard_Boolean negative = Standard_False, diff --git a/src/IGESDimen/IGESDimen_GeneralSymbol.hxx b/src/IGESDimen/IGESDimen_GeneralSymbol.hxx index 33f772217a..3be4ef864d 100644 --- a/src/IGESDimen/IGESDimen_GeneralSymbol.hxx +++ b/src/IGESDimen/IGESDimen_GeneralSymbol.hxx @@ -50,7 +50,7 @@ public: const Handle(IGESData_HArray1OfIGESEntity)& allGeoms, const Handle(IGESDimen_HArray1OfLeaderArrow)& allLeaders); - //! Changes FormNumber (indicates the Nature of the Symbole) + //! Changes FormNumber (indicates the Nature of the Symbol) //! Error if not in ranges [0-3] or [> 5000] Standard_EXPORT void SetFormNumber(const Standard_Integer form); diff --git a/src/IGESToBRep/IGESToBRep_BasicCurve.cxx b/src/IGESToBRep/IGESToBRep_BasicCurve.cxx index 80285b464e..70aacdd371 100644 --- a/src/IGESToBRep/IGESToBRep_BasicCurve.cxx +++ b/src/IGESToBRep/IGESToBRep_BasicCurve.cxx @@ -964,7 +964,7 @@ Handle(Geom_Curve) IGESToBRep_BasicCurve::TransferBSplineCurve( for (i = 0; i <= start->UpperIndex(); i++) Pole.SetValue(PoleIndex++, start->Pole(i)); - // Filling knots & multiplicities arraies : + // Filling knots & multiplicities arrays : // ======================================== Standard_Integer NbKnots = start->NbKnots(); @@ -992,7 +992,7 @@ Handle(Geom_Curve) IGESToBRep_BasicCurve::TransferBSplineCurve( TempKnot.SetValue(++KnotIndex, Knot1); } - // Final knots & multiplicities arraies are dimensionned so as to be fully + // Final knots & multiplicities arrays are dimensioned so as to be fully // filled // ======================================================================= diff --git a/src/IGESToBRep/IGESToBRep_BasicSurface.cxx b/src/IGESToBRep/IGESToBRep_BasicSurface.cxx index 9052ff5b07..81e4c19ec0 100644 --- a/src/IGESToBRep/IGESToBRep_BasicSurface.cxx +++ b/src/IGESToBRep/IGESToBRep_BasicSurface.cxx @@ -673,7 +673,7 @@ Handle(Geom_BSplineSurface) IGESToBRep_BasicSurface::TransferBSplineSurface( TempUKnot.SetValue(++UIndex, UKnot1); } - // Final knots & multiplicities arraies are dimensionned so as to be fully + // Final knots & multiplicities arrays are dimensioned so as to be fully // filled : // ======================================================================= @@ -745,7 +745,7 @@ Handle(Geom_BSplineSurface) IGESToBRep_BasicSurface::TransferBSplineSurface( TempVKnot.SetValue(++VIndex, VKnot1); } - // Final knots & multiplicities arraies are dimensionned so as to be fully + // Final knots & multiplicities arrays are dimensioned so as to be fully // filled : // ======================================================================= diff --git a/src/IGESToBRep/IGESToBRep_CurveAndSurface.hxx b/src/IGESToBRep/IGESToBRep_CurveAndSurface.hxx index 60d500120a..a7f9de68d6 100644 --- a/src/IGESToBRep/IGESToBRep_CurveAndSurface.hxx +++ b/src/IGESToBRep/IGESToBRep_CurveAndSurface.hxx @@ -81,7 +81,7 @@ public: //! Sets values of "myMinTol" and "myMaxTol" as follows //! myMaxTol = Max ("read.maxprecision.val", myEpsGeom * myUnitFactor) //! myMinTol = Precision::Confusion() - //! Remark: This method is automatically invoked each time the values + //! Remark: This method is automatically invoked each time the values //! of "myEpsGeom" or "myUnitFactor" are changed Standard_EXPORT void UpdateMinMaxTol(); @@ -115,8 +115,8 @@ public: //! Changes the value of "mySurfaceCurve" void SetSurfaceCurve(const Standard_Integer ival); - //! Returns the value of " mySurfaceCurve" 0 = value in - //! file , 2 = kepp 2d and compute 3d 3 = keep 3d and + //! Returns the value of "mySurfaceCurve" 0 = value in + //! file, 2 = keep 2d and compute 3d, 3 = keep 3d and //! compute 2d Standard_Integer GetSurfaceCurve() const; diff --git a/src/IVtkDraw/IVtkDraw_HighlightAndSelectionPipeline.cxx b/src/IVtkDraw/IVtkDraw_HighlightAndSelectionPipeline.cxx index edbbd32049..a41d5b45dd 100644 --- a/src/IVtkDraw/IVtkDraw_HighlightAndSelectionPipeline.cxx +++ b/src/IVtkDraw/IVtkDraw_HighlightAndSelectionPipeline.cxx @@ -90,7 +90,7 @@ IVtkDraw_HighlightAndSelectionPipeline::IVtkDraw_HighlightAndSelectionPipeline( IVtkTools_SubPolyDataFilter* aSUBFilterH = IVtkTools_SubPolyDataFilter::SafeDownCast(myFilterMap.Find(Filter_SUB_Hili)); - // No highligthing exists initially + // No highlighting exists initially aSUBFilterH->SetInputConnection(aDataSource->GetOutputPort()); aDMFilterH->SetInputConnection(aSUBFilterH->GetOutputPort()); @@ -119,7 +119,7 @@ IVtkDraw_HighlightAndSelectionPipeline::IVtkDraw_HighlightAndSelectionPipeline( IVtkTools_SubPolyDataFilter* aSUBFilterS = IVtkTools_SubPolyDataFilter::SafeDownCast(myFilterMap.Find(Filter_SUB_Sel)); - // No highligthing exists initially + // No highlighting exists initially aSUBFilterS->SetInputConnection(aDataSource->GetOutputPort()); aDMFilterS->SetInputConnection(aSUBFilterS->GetOutputPort()); diff --git a/src/IVtkOCC/IVtkOCC_ViewerSelector.hxx b/src/IVtkOCC/IVtkOCC_ViewerSelector.hxx index f591cb1aab..b04cac6242 100644 --- a/src/IVtkOCC/IVtkOCC_ViewerSelector.hxx +++ b/src/IVtkOCC/IVtkOCC_ViewerSelector.hxx @@ -57,7 +57,7 @@ public: //! Deactivate the given selection void Deactivate(const Handle(SelectMgr_Selection)& theSelection); - //! Converts VTK camera defiened for input view to OCC camera + //! Converts VTK camera defined for input view to OCC camera static Handle(Graphic3d_Camera) ConvertVtkToOccCamera(const IVtk_IView::Handle& theView); DEFINE_STANDARD_RTTIEXT(IVtkOCC_ViewerSelector, SelectMgr_ViewerSelector) diff --git a/src/IntPatch/IntPatch_ALineToWLine.cxx b/src/IntPatch/IntPatch_ALineToWLine.cxx index 9efecc1c95..e94d19981c 100644 --- a/src/IntPatch/IntPatch_ALineToWLine.cxx +++ b/src/IntPatch/IntPatch_ALineToWLine.cxx @@ -766,7 +766,7 @@ void IntPatch_ALineToWLine::MakeWLine(const Handle(IntPatch_ALine)& theALine, if (aPrePointExist == IntPatch_SPntPole || aPrePointExist == IntPatch_SPntPoleSeamU) { - // set correxponding status: to be corrected later + // set corresponding status: to be corrected later if (aLinOn2S->NbPoints() == 1) anIsFirstDegenerated = Standard_True; else @@ -778,7 +778,7 @@ void IntPatch_ALineToWLine::MakeWLine(const Handle(IntPatch_ALine)& theALine, { if (aNbPointsPrev == aLinOn2S->NbPoints()) { - // Vertex coinsides any point of line and was not added into line + // Vertex coincides any point of line and was not added into line aNewVertexParam = aNbPointsPrev; } aPrevParam = aParameter = aCurVertParam; diff --git a/src/IntPatch/IntPatch_ImpImpIntersection.cxx b/src/IntPatch/IntPatch_ImpImpIntersection.cxx index 7bfd995cf4..5400beb290 100644 --- a/src/IntPatch/IntPatch_ImpImpIntersection.cxx +++ b/src/IntPatch/IntPatch_ImpImpIntersection.cxx @@ -4014,7 +4014,7 @@ public: Standard_Boolean& theIsIncreasing); //! Computes U2 (U-parameter of the 2nd cylinder) and, if theDelta != 0, - //! esimates the tolerance of U2-computing (estimation result is + //! estimates the tolerance of U2-computing (estimation result is //! assigned to *theDelta value). static Standard_Boolean CylCylComputeParameters(const Standard_Real theU1par, const Standard_Integer theWLIndex, @@ -6974,9 +6974,9 @@ static IntPatch_ImpImpIntersection::IntStatus CyCyNoGeometric( && ((aVSurf2l - aV2[i]) * (aVSurf2l - aV2Prev[i]) < RealSmall())); // isFound1 == TRUE if intersection line intersects V-bounds - // (First or Last - no matter) of the 1st cylynder + // (First or Last - no matter) of the 1st cylinder // isFound2 == TRUE if intersection line intersects V-bounds - // (First or Last - no matter) of the 2nd cylynder + // (First or Last - no matter) of the 2nd cylinder Standard_Boolean isFound1 = Standard_False, isFound2 = Standard_False; Standard_Boolean isForce = Standard_False; diff --git a/src/IntPatch/IntPatch_WLineTool.cxx b/src/IntPatch/IntPatch_WLineTool.cxx index f33a094761..4ab13b03bf 100644 --- a/src/IntPatch/IntPatch_WLineTool.cxx +++ b/src/IntPatch/IntPatch_WLineTool.cxx @@ -1807,7 +1807,7 @@ void IntPatch_WLineTool::ExtendTwoWLines(IntPatch_SequenceOfLine& theSli continue; } - // Enable/Disable of some ckeck. Bit-mask is used for it. + // Enable/Disable of some check. Bit-mask is used for it. // E.g. if 1st point of aWLine1 matches with // 1st point of aWLine2 then we do not need in check // 1st point of aWLine1 and last point of aWLine2 etc. diff --git a/src/Interface/Interface_CopyTool.hxx b/src/Interface/Interface_CopyTool.hxx index cb33825760..a1cd02ddd9 100644 --- a/src/Interface/Interface_CopyTool.hxx +++ b/src/Interface/Interface_CopyTool.hxx @@ -136,7 +136,7 @@ public: //! Clears LastFlags only. This allows to know what Entities are //! copied after its call (see method LastCopiedAfter). It can be //! used when copies are done by increments, which must be - //! distinghished. ClearLastFlags is also called by Clear. + //! distinguished. ClearLastFlags is also called by Clear. Standard_EXPORT void ClearLastFlags(); //! Returns an copied Entity and its Result which were operated diff --git a/src/MAT/MAT_Arc.hxx b/src/MAT/MAT_Arc.hxx index 96e2c57356..b94453ac12 100644 --- a/src/MAT/MAT_Arc.hxx +++ b/src/MAT/MAT_Arc.hxx @@ -42,7 +42,7 @@ public: //! Returns the index of in Graph.theArcs. Standard_EXPORT Standard_Integer Index() const; - //! Returns the index associated of the geometric + //! Returns the index associated of the geometric //! representation of . Standard_EXPORT Standard_Integer GeomIndex() const; @@ -58,13 +58,13 @@ public: //! Returns the other Node extremity of . Standard_EXPORT Handle(MAT_Node) SecondNode() const; - //! an Arc has two Node, if egal one + //! An Arc has two Node, if equals one //! Returns the other. //! //! if is not oh Standard_EXPORT Handle(MAT_Node) TheOtherNode(const Handle(MAT_Node)& aNode) const; - //! Returnst True is there is an arc linked to + //! Returns True if there is an arc linked to //! the Node located on the side