]> OCCT Git - occt.git/commitdiff
Documentation - Fix various typos found in codebase #361
authorluzpaz <luzpaz@users.noreply.github.com>
Tue, 11 Feb 2025 12:38:56 +0000 (07:38 -0500)
committerGitHub <noreply@github.com>
Tue, 11 Feb 2025 12:38:56 +0000 (12:38 +0000)
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`

100 files changed:
dox/user_guides/draw_test_harness/draw_test_harness.md
dox/user_guides/ocaf/ocaf.md
dox/user_guides/step/step.md
src/AdvApp2Var/AdvApp2Var_Context.cxx
src/AdvApp2Var/AdvApp2Var_CriterionType.hxx
src/AdvApp2Var/AdvApp2Var_MathBase.cxx
src/Approx/Approx_SweepApproximation.cxx
src/BRepBuilderAPI/BRepBuilderAPI_Sewing.cxx
src/BRepGProp/BRepGProp_UFunction.cxx
src/BRepGProp/BRepGProp_UFunction.hxx
src/BRepIntCurveSurface/BRepIntCurveSurface_Inter.hxx
src/BRepMesh/BRepMesh_DefaultRangeSplitter.hxx
src/BRepMesh/BRepMesh_DelaunayDeflectionControlMeshAlgo.hxx
src/BRepOffset/BRepOffset_Inter3d.cxx
src/BRepOffset/BRepOffset_MakeOffset.cxx
src/BRepOffset/BRepOffset_MakeOffset.hxx
src/BRepOffset/BRepOffset_MakeOffset_1.cxx
src/BRepOffset/BRepOffset_MakeSimpleOffset.hxx
src/BRepPrim/BRepPrim_GWedge.hxx
src/BRepPrimAPI/BRepPrimAPI_MakeHalfSpace.cxx
src/BRepSweep/BRepSweep_NumLinearRegularSweep.hxx
src/BRepTest/BRepTest_FeatureCommands.cxx
src/BSplCLib/BSplCLib.hxx
src/BSplSLib/BSplSLib.hxx
src/BVH/BVH_Builder.hxx
src/BVH/BVH_DistanceField.hxx
src/BVH/BVH_Sorter.hxx
src/ChFi3d/ChFi3d_Builder_0.cxx
src/ChFi3d/ChFi3d_Builder_1.cxx
src/ChFi3d/ChFi3d_Builder_C1.cxx
src/ChFi3d/ChFi3d_Builder_C2.cxx
src/ChFi3d/ChFi3d_Builder_CnCrn.cxx
src/ChFi3d/ChFi3d_ChBuilder_C3.cxx
src/DBRep/DBRep.cxx
src/Extrema/Extrema_ExtPElS.cxx
src/Extrema/Extrema_GenExtCS.cxx
src/Extrema/Extrema_GenExtPS.cxx
src/Geom/Geom_BezierSurface.hxx
src/GeomPlate/GeomPlate_BuildPlateSurface.cxx
src/HLRAlgo/HLRAlgo_Coincidence.hxx
src/IFSelect/IFSelect_Modifier.hxx
src/IFSelect/IFSelect_SelectSignature.hxx
src/IFSelect/IFSelect_SessionFile.hxx
src/IFSelect/IFSelect_WorkSession.hxx
src/IGESCAFControl/IGESCAFControl_Writer.cxx
src/IGESControl/IGESControl_Controller.hxx
src/IGESConvGeom/IGESConvGeom.cxx
src/IGESData/IGESData_IGESEntity.hxx
src/IGESData/IGESData_IGESReaderData.hxx
src/IGESData/IGESData_IGESWriter.hxx
src/IGESDimen/IGESDimen_GeneralSymbol.hxx
src/IGESToBRep/IGESToBRep_BasicCurve.cxx
src/IGESToBRep/IGESToBRep_BasicSurface.cxx
src/IGESToBRep/IGESToBRep_CurveAndSurface.hxx
src/IVtkDraw/IVtkDraw_HighlightAndSelectionPipeline.cxx
src/IVtkOCC/IVtkOCC_ViewerSelector.hxx
src/IntPatch/IntPatch_ALineToWLine.cxx
src/IntPatch/IntPatch_ImpImpIntersection.cxx
src/IntPatch/IntPatch_WLineTool.cxx
src/Interface/Interface_CopyTool.hxx
src/MAT/MAT_Arc.hxx
src/MeshVS/MeshVS_Mesh.cxx
src/OSD/OSD_FileSystem.hxx
src/PLib/PLib.hxx
src/Plate/Plate_Plate.hxx
src/ProjLib/ProjLib_CompProjectedCurve.cxx
src/PrsDim/PrsDim_DiameterDimension.hxx
src/PrsDim/PrsDim_Dimension.hxx
src/PrsDim/PrsDim_EqualDistanceRelation.cxx
src/RWGltf/RWGltf_CafReader.hxx
src/RWGltf/RWGltf_GltfJsonParser.cxx
src/RWStepShape/RWStepShape_RWAngularLocation.cxx
src/STEPCAFControl/STEPCAFControl_GDTProperty.cxx
src/STEPCAFControl/STEPCAFControl_Writer.cxx
src/SWDRAW/SWDRAW_ShapeUpgrade.cxx
src/ShapeAnalysis/ShapeAnalysis_Surface.hxx
src/ShapeAnalysis/ShapeAnalysis_WireOrder.cxx
src/ShapeCustom/ShapeCustom_BSplineRestriction.cxx
src/ShapeCustom/ShapeCustom_Curve2d.hxx
src/StepData/StepData_StepReaderData.hxx
src/TDF/TDF_CopyTool.cxx
src/TDF/TDF_DerivedAttribute.hxx
src/TObj/TObj_Object.hxx
src/TopOpeBRepBuild/TopOpeBRepBuild_BuilderON.cxx
src/TopOpeBRepDS/TopOpeBRepDS_Check.hxx
src/ViewerTest/ViewerTest_ObjectCommands.cxx
src/ViewerTest/ViewerTest_RelationCommands.cxx
src/ViewerTest/ViewerTest_ViewerCommands.cxx
src/VrmlAPI/VrmlAPI_Writer.cxx
src/VrmlConverter/VrmlConverter_ShadedShape.cxx
src/VrmlData/VrmlData_ShapeConvert.hxx
src/XSControl/XSControl_FuncShape.cxx
src/XSControl/XSControl_Reader.hxx
src/XSDRAW/XSDRAW.hxx
src/math/math_BissecNewton.hxx
tests/bugs/moddata_3/bug23863
tests/bugs/moddata_3/bug24068
tests/opengl/data/geom/geom1
tools/ViewControl/ViewControl_ColorSelector.cxx
tools/ViewControl/ViewControl_TableModel.hxx

index c1942e30cf759e6ea8751fb63fb19a201585d93d..ab9fd02e33110a203562801f46ed92a893afd0ba 100644 (file)
@@ -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 
index 60babd2cb57a9a31f56a3856fce1cab3b86bb92f..03a1a85b1a39fba84971926d190aa2b75dcb0bf6 100644 (file)
@@ -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.
index 457b5f00107cb84782fff8053b98d759874be89a..691689a0d757fce2d496398eb0b8aec4f900d37c 100644 (file)
@@ -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 <i>Poly_Triangulation</i> type using STEP links.
+Tessellated geometry is attached to shapes as objects of <i>Poly_Triangulation</i> 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 <i>Poly_Triangulation type</i> from the active <i>TopoDS_Face</i> triangulation.
+Tessellated geometry is taken as objects of <i>Poly_Triangulation type</i> from the active <i>TopoDS_Face</i> triangulation.
 
 * 0 (Off) -- do not write 
 * 1 (On) --  write 
index a103de578cee873a12faca451b3bc971a11c3a88..51e6c44f57a9e038b2665b1631dbf6d46fdeb53f 100644 (file)
@@ -18,7 +18,7 @@
 #include <AdvApp2Var_Context.hxx>
 #include <Standard_ConstructionError.hxx>
 
-// Calculaton of parameters
+// Calculation of parameters
 static Standard_Boolean lesparam(const Standard_Integer iordre,
                                  const Standard_Integer ncflim,
                                  const Standard_Integer icodeo,
index 155c72a6d514230c71559c9ab41d3249fab957a9..89e13400399d2dd5d245dc161d526ae2146b0f42 100644 (file)
 #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
 {
index ab577283563e0f20544a6e91824799118d197af1..0dc67565f5d4c341954bffee17f22e5c6f122398 100644 (file)
@@ -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 */
 
index aafc8f59683f525331e899d8ba992d2087ab33d9..8c2c1f824901d2fd4343512137f010e3a11c9158 100644 (file)
@@ -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;
index 37a26d50bd54e0035f0f539921d516b4a5be9928..98620a8063a63f1fea6da0cd9420cf7175e94982 100644 (file)
@@ -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())
   {
index 0cc9d3b81467aa4a98525f0d27c65a31b47dd878..01d38cebea90e64e0e7a55e382d5b8ec2d41271b 100644 (file)
@@ -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)
index aa420138c21ab8155ed21b2ee70bcbcc18dd094c..9e02837ce6d91ba50838e947a2a8adeb29d5bf86 100644 (file)
@@ -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
index b3695610fade295a977d22c0745a33c5434bd9f8..ef49cceac0c8b776aa7d546c9d6de967ada7a3d8 100644 (file)
@@ -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
index 109c2c0962f8c9e5f1f15bbbbd6f0a9c6838bc56..42e73fbe4bbbcf26aa7d02896adfc445c2022db7 100644 (file)
@@ -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());
index 1d769fab837eb2a0280162c4be7ca88a1a03ca2f..ed2a251daf7e562d575323ca67db2d5a88f97577 100644 (file)
@@ -21,7 +21,7 @@
 #include <GeomLib.hxx>
 
 //! 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 RangeSplitter, class BaseAlgo>
 class BRepMesh_DelaunayDeflectionControlMeshAlgo
     : public BRepMesh_DelaunayNodeInsertionMeshAlgo<RangeSplitter, BaseAlgo>
index cdf103e1eea1e4c8377c88f04d72ba468ecf624a..ef7ec92674607745942f674c7999845306e255d2 100644 (file)
@@ -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());
index b6d96e2b5db0c100383e093986a1c70cd715dbf0..e3e874a45752f03ed1beae1e3a171dcb95c5efe1 100644 (file)
@@ -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();
index a6c3934c1c7c9659db48a79ab0074b315145c90c..32ec382cdc114360ca630f3a1a2789da13cefa37 100644 (file)
@@ -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;
 
index 1b9265fc811d27391ba1833e78b6984f55503821..c66c945574087a2bfbdd003951eccded765fe767 100644 (file)
@@ -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 <class Container>
 static void mapShapes(const Container&       theVecShapes,
index f8dd7d08b9c07c8aba66b23da0290bb59e3ae999..d2f04fe6d4dab5f493b36fc65f6a2b8b4c9afa2f 100644 (file)
@@ -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);
 
index 0d49fee73b4de741f6054419e7b37f0439359ca9..855a7a411d21de9a0ad923f4560915d0172abd59 100644 (file)
@@ -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.   <Axes> is  the axis
+  //! Creates a GWedge algorithm. <Axes> 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. <Axes> is   the  axis
+  //! Creates a GWedge primitive. <Axes> 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.   <Axes>  is  the  axis
+  //! Create a GWedge primitive. <Axes> 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 <me> in <d1> 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   <me>  in <d1>  direction.  A face and its
-  //! edges or vertices are said existant.
+  //! Closes <me> in <d1> direction. A face and its
+  //! edges or vertices are said existent.
   Standard_EXPORT void Close(const BRepPrim_Direction d1);
 
   //! Returns True if <me> is open in <d1> direction.
@@ -169,7 +169,7 @@ public:
   //! Returns the Face of <me> located in <d1> direction.
   Standard_EXPORT const TopoDS_Face& Face(const BRepPrim_Direction d1);
 
-  //! Returns the plane  of the Face  of <me> located in
+  //! Returns the plane of the Face of <me> located in
   //! <d1> direction.
   Standard_EXPORT gp_Pln Plane(const BRepPrim_Direction d1);
 
@@ -186,11 +186,11 @@ public:
   //! Returns the Edge of <me> located in <d1><d2> direction.
   Standard_EXPORT const TopoDS_Edge& Edge(const BRepPrim_Direction d1, const BRepPrim_Direction d2);
 
-  //! Returns the line of  the Edge of <me>  located  in
+  //! Returns the line of the Edge of <me> located in
   //! <d1><d2> direction.
   Standard_EXPORT gp_Lin Line(const BRepPrim_Direction d1, const BRepPrim_Direction d2);
 
-  //! Returns True if <me> has a  Vertex in <d1><d2><d3>
+  //! Returns True if <me> has a Vertex in <d1><d2><d3>
   //! direction.
   Standard_EXPORT Standard_Boolean HasVertex(const BRepPrim_Direction d1,
                                              const BRepPrim_Direction d2,
index fa52d94a7d6b8ef5996cb9724d85f8b7df273c96..2ce0d43028456a2c5bfbbadc2106b0039d1bf147 100644 (file)
@@ -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 <aPnt> on a shape <aShape>.
 //           1) return true if extrema is found.
 //           2) Set in:
index db7927bdcd87c75f1dcda14170ecbe0f664ee458..d256ec13ac3e2eccada1898cbfd68f6be8e245d3 100644 (file)
 //! ...
 //!
 //! "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:
index 7e2ae854b13826ed12653b7fb483ebba6ddfe2c9..12f2aef11f64de9bba48261a65528d16282b3a45 100644 (file)
@@ -1213,7 +1213,7 @@ Standard_Integer offsetparameter(Draw_Interpretor& di, Standard_Integer n, const
     di << "   --> TheInter  : ";
     if (TheInter)
     {
-      di << "Complet";
+      di << "Complete";
     }
     else
     {
index 68d6e1aedcde382b96e7ffa537a26086048edaf6..d1ce304e4c2786cc027924ec05edf52564708781 100644 (file)
@@ -1639,7 +1639,7 @@ public:
   //! WeightsResult one has  the result of the evaluation of
   //! the denominator
   //!
-  //! Warning:   <PolesResult> and <WeightsResult>  must be   dimensionned
+  //! Warning:   <PolesResult> and <WeightsResult>  must be   dimensioned
   //! properly.
   Standard_EXPORT static void Eval(const Standard_Real         U,
                                    const Standard_Boolean      PeriodicFlag,
@@ -1686,7 +1686,7 @@ public:
   //! <Continuity> must be equal to 1, 2 or 3.
   //! <Degree> must be greater or equal than <Continuity> + 1.
   //!
-  //! Warning:   <KnotsResult> and <PolesResult>  must be   dimensionned
+  //! Warning:   <KnotsResult> and <PolesResult>  must be   dimensioned
   //! properly.
   Standard_EXPORT static void TangExtendToConstraint(const TColStd_Array1OfReal& FlatKnots,
                                                      const Standard_Real         C1Coefficient,
index 8a3688ec05a3dcbda57fa6c5e33ce9cdcf87450e..09e2f81547a5c68fe17b3e1705f4e8e3957bc5e7 100644 (file)
@@ -170,7 +170,7 @@ public:
   //!
   //! x(1)/w , x(2)/w ,  ... derivated <N,0> times
   //! ....
-  //! Warning: <RDers> must be dimensionned properly.
+  //! Warning: <RDers> must be dimensioned properly.
   Standard_EXPORT static void RationalDerivative(const Standard_Integer UDeg,
                                                  const Standard_Integer VDeg,
                                                  const Standard_Integer N,
index bd6894a94957019f3e25a45946bd2c21d1a033aa..a3871cc14d47b95d3e03f511c7c92a253fd9269e 100644 (file)
@@ -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:
index 8927447add32dff932f790d116fd2a58873ff034..35843f72ffef2c7e0d2764b1a6aad4566106e6e6 100644 (file)
@@ -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:
index 3d69896b9b417cb047dcb7b32c801a2543f175e0..190013094500ed59113d16c101c46404ab5dd536 100644 (file)
@@ -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:
index dee6067f8e947624aa5b7109f99f776f49844849..18354eee6abb7df1329eb57fe0a218bd50d9bc22 100644 (file)
@@ -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,
index df6aa4e6af51f17be4277415d30f1d07d5e28bee..01b2bf0250b1b23f0177e005f1a682f1d340da32 100644 (file)
@@ -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)))
index 2409ab8069d6dfad73b735a90587c5d0958627fe..73d2af021082871324f802eb2adc5e8501b5be3f 100644 (file)
@@ -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
index e0a284469090ecc18e555f14d0c5f89497e95bff..cad70cb0414cf122514d85241d5b6cdcc148030d 100644 (file)
@@ -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.
index 063e6cd49188cdefa3f9d5e5cae3862e0f708812..fa2427cf9a7e4b26f04ae76a01f89be4fe651d56 100644 (file)
@@ -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);
index 719769a73eb6a57b205e0ecfb80e3eeb1dedc642..8b1ba7f850bf3606594f2f0b3f28203d300037e8 100644 (file)
@@ -123,7 +123,7 @@ static Handle(GeomAdaptor_Surface) BoundSurf(const Handle(Geom_Surface)& S,
 //           the SurfData of the corner <SDCoin>. Here we know the
 //           extremities of the intersection <pdeb> and <pfin>, and
 //           their parameters <p2dfin>, <p2ddeb> on <SD>.
-//           <ptcoindeb> cointains the intersection 2d point on the corner
+//           <ptcoindeb> contains the intersection 2d point on the corner
 //            which corresponds to the point <pdeb>
 //           <derudeb> and <dervdeb> are the derivative vectors on the
 //            SurfData <SD> at the point <ptdeb>
index df81a771c7017c1e19de824106880986990d6c3e..271231a7f5b3059207cfb5d51fc1dc67143e89ff 100644 (file)
@@ -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)))
index c1ca57a60d73db3ba7aeab2b5da945e9b432340e..41102ec6dc4baf6e4b5953e1d3f7632353cd93c1 100644 (file)
@@ -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:
index d130cbab5f7a27a2f6d08bf89d6285f229505dd8..9071cd8685fcbfcf255e5e736e2ed4567417b906 100644 (file)
@@ -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);
index 4ea2424d919b3819d8dc1a2e60980bb48e61001b..9081003faeef91111df6ac96025b5c323fcec4a6 100644 (file)
@@ -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.
 
index f04879cb4308b724293f150e6b4d16355a79915b..e006f04ca454af5cc5228cf1c63f493e34de1153 100644 (file)
@@ -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);
index 78fd30cba3251f73da7e7d4e885bbf0e67b1fd3f..f149d19c58f52f875197bc376d8d0bc49111c6b3 100644 (file)
@@ -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
         }
       }
index fe040a1537a456a215a023fe3637b01902ebf0ea..c6b8af97a43888d982302c781e9d222c678c8ae7 100644 (file)
 #include <Standard_Integer.hxx>
 #include <TopAbs_State.hxx>
 
-//! 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
 {
index e78e37808cab2d6b24a12f9b60dbd267876ddc36..2718fb1d6311ebbe3c0d787634944be22678922c 100644 (file)
@@ -50,7 +50,7 @@ public:
   //! <TC> 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,
index cf400180e16076af69dc277aa874c5fe5e975ba6..5c2d9a853f4aa54ccbb5baa63aa4b2d3177b1f44 100644 (file)
@@ -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
index 41394a8dfa7af7d55a4efc0f403e639c3a352cf0..6015aac0523b919e3dc853e6973645199602b1c3 100644 (file)
@@ -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);
index 5da6dad114372309fa8c3c4ab72310f949c39a52..0a4abd6db0ab51f557ddeb9979108946d52c7b2c 100644 (file)
@@ -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
   //! <count> = -1 (default) is for ENtities sent at least once
index cb2202cb9c6ebf812ccd61eb016f1f9a0f27935b..39c8b86bf9b1fbe42518836a79834aec5f637cb7 100644 (file)
@@ -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())
       {
index 14c249f8ee31003da181e4d47ea0258e8814b336..e72297781c69d5273439e83991e5f0ecc695ae40 100644 (file)
@@ -57,7 +57,7 @@ public:
   //! <modetrans> 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,
index 55d6323242b3328bf3ba67ef60956336ced297bd..a80910b21bcdcb70e250c3b8d0c77abacbbae92d 100644 (file)
@@ -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);
index 5b9cdd2547083eb6bed9fc48ebc7b70ff94228b7..b4dc1b21a36bb1db9dd6848f4fe5e3b820c59b9c 100644 (file)
@@ -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);
index f9b2172566613aeac47d265a16f165538846b139..80e30b332d734ff3e18be0f1420d6e2ed4e60539 100644 (file)
@@ -46,7 +46,7 @@ class IGESData_IGESReaderData : public Interface_FileReaderData
 {
 
 public:
-  //! creates IGESReaderData correctly dimensionned (for arrays)
+  //! creates IGESReaderData correctly dimensioned (for arrays)
   //! <nbe> count of entities, that is, half nb of directory lines
   //! <nbp> : count of parameters
   Standard_EXPORT IGESData_IGESReaderData(const Standard_Integer nbe, const Standard_Integer nbp);
index 57a189094415a65b2a4f98031b1ed9d7971917be..8554e42404f44e5b5f366478240c4ec03cc7526e 100644 (file)
@@ -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 <class T>
   void Send(const Handle(T)& val,
             Standard_Boolean negative = Standard_False,
index 33f772217aae3a24f712e4fbd0a6ebb03f95e310..3be4ef864d7b4ab673b9bd627480f000b61398d2 100644 (file)
@@ -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);
 
index 80285b464e97cabceb68330d0dba516962f8e41f..70aacdd3716e587cd50d275efe3094d47a6d1029 100644 (file)
@@ -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
   //  =======================================================================
 
index 9052ff5b072c82422b057ebab1e17ca02fd0164b..81e4c19ec050ffad70ce2c9bd366b863c2c4a578 100644 (file)
@@ -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 :
   //  =======================================================================
 
index 60d500120ab276c350fd3867b93d6ae4b2698c93..a7f9de68d6972a9a7a3ff5dc7a587490aed32c99 100644 (file)
@@ -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;
 
index edbbd320499ae9a6fa35a9bb849947ca14d248c6..a41d5b45dd3145df2911407ba7e34d89dca33f24 100644 (file)
@@ -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());
 
index f591cb1aab164283ecb883fb62f33f216adea82e..b04cac6242558d72241f05203afb04ba3e554316 100644 (file)
@@ -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)
index 9efecc1c953b72e10831443fa4d2c5ee8bafd97c..e94d19981cd8530133dbfc585b9f4ed89a5beb30 100644 (file)
@@ -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;
index 7bfd995cf451390f5fce2a213cc89b0c059cb543..5400beb290773fb826722a62344e8def48949f2f 100644 (file)
@@ -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;
 
index f33a0947615438fb2db50f3e21e080ac2c4713a4..4ab13b03bfbffb37b5fd9f3f33bca58c8114f673 100644 (file)
@@ -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.
index cb33825760fa53683b995d7a884ea7934f3ec29d..a1cd02ddd91774b5104a07a08a064a3909a47aeb 100644 (file)
@@ -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
index 96e2c57356d7d83e5b46e3589beda02462a1965b..b94453ac126aee35cde3335fa9b1d8995c43ea19 100644 (file)
@@ -42,7 +42,7 @@ public:
   //! Returns the index of <me> 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 <me>.
   Standard_EXPORT Standard_Integer GeomIndex() const;
 
@@ -58,13 +58,13 @@ public:
   //! Returns the other Node extremity of <me>.
   Standard_EXPORT Handle(MAT_Node) SecondNode() const;
 
-  //! an Arc has two Node, if <aNode> egal one
+  //! An Arc has two Node, if <aNode> equals one
   //! Returns the other.
   //!
   //! if <aNode> is not oh <me>
   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 <aNode> located on the side <aSide> of <me>;
   //! if <aNode> is not on <me>
   Standard_EXPORT Standard_Boolean HasNeighbour(const Handle(MAT_Node)& aNode,
index e05851e389797c19b9488e657e6d4eafca71e16f..9876407edd92d6cf2aa910d72fc2ac8579ffd493 100644 (file)
@@ -69,7 +69,7 @@ MeshVS_Mesh::MeshVS_Mesh(const Standard_Boolean theIsAllowOverlapped)
 
   SetAutoHilight(Standard_False);
 
-  SetDisplayMode(MeshVS_DMF_WireFrame); // Mode as defaut
+  SetDisplayMode(MeshVS_DMF_WireFrame); // Mode as default
   SetHilightMode(MeshVS_DMF_WireFrame); // Wireframe as default hilight mode
 
   SetColor(Quantity_NOC_WHITE);
index 3e94a543ab96bb82f1eb982834246b3767ebf02b..d3e8d3af8a5e324571c05b14d238c8bd159e8ab5 100644 (file)
@@ -59,7 +59,7 @@ public:
   //! (std::ios_base::in will be implicitly added)
   //! @param[in] theOffset     expected stream position from the beginning of the file (beginning of
   //! the stream by default);
-  //!                          -1 would keep seek position undefined (in case of re-using
+  //!                          -1 would keep seek position undefined (in case of reusing
   //!                          theOldStream)
   //! @param[in] theOldStream  a pointer to existing stream pointing to theUrl to be reused (without
   //! re-opening)
index 4d8f8829dc832859d48669e596f2e22ff8de3e26..2c05aa30a76c419663e835e6800f9d12004957c1 100644 (file)
@@ -112,7 +112,7 @@ public:
   //! ...
   //! x(1)/w , x(2)/w ,  ... derivated <N> times
   //!
-  //! Warning: <RDers> must be dimensionned properly.
+  //! Warning: <RDers> must be dimensioned properly.
   Standard_EXPORT static void RationalDerivative(const Standard_Integer Degree,
                                                  const Standard_Integer N,
                                                  const Standard_Integer Dimension,
@@ -148,7 +148,7 @@ public:
   //! can be same since the overwrite is non destructive within
   //! the algorithm
   //!
-  //! Warning: <RationalDerivates> must be dimensionned properly.
+  //! Warning: <RationalDerivates> must be dimensioned properly.
   Standard_EXPORT static void RationalDerivatives(const Standard_Integer DerivativesRequest,
                                                   const Standard_Integer Dimension,
                                                   Standard_Real&         PolesDerivatives,
index 56afc0f4dd9b2f4f0a13a5e74f86ce6bbbcfe978..7c4c17c8c6d97184f17cca04d619ff51f01b402b 100644 (file)
@@ -42,7 +42,7 @@ class gp_XYZ;
 class gp_XY;
 class math_Matrix;
 
-//! This class implement a variationnal spline algorithm able
+//! This class implement a variational spline algorithm able
 //! to define a two variable function satisfying some constraints
 //! and minimizing an energy like criterion.
 class Plate_Plate
index 5af76c7797a6b8af0ccb41d8f01a7ed560a68705..f92e8a70cf8e60fba0341c62c30c82b40f94a6f3 100644 (file)
@@ -367,7 +367,7 @@ static Standard_Boolean ExactBound(gp_Pnt&                          Sol,
   LastV  = Surface->LastVParameter();
   // Here we have to compute the boundary that projection is going to intersect
   gp_Vec2d D2d;
-  // these variables are to estimate which boundary has more apportunity
+  // these variables are to estimate which boundary has more opportunity
   // to be intersected
   Standard_Real RU1, RU2, RV1, RV2;
   d1(Sol.X(), U0, V0, D2d, Curve, Surface);
index 42d0f679abf914aaf4de979f826384d3094b798f..a0c24d8e80621ac764a3af248e218acc2acb52f5 100644 (file)
@@ -119,7 +119,7 @@ public:
 protected:
   //! Override this method to change logic of anchor point computation.
   //! Computes anchor point. Its computation is based on the current
-  //! dimension plane. Therfore, anchor point is an intersection of plane
+  //! dimension plane. Therefore, anchor point is an intersection of plane
   //! and circle.
   //! ATTENTION!
   //! 1) The plane should be set or computed before.
index cd40be0273241d534b28658e93232f22d1aa6472..c5817e289f85cc8dd586cc1fb9cf0b360730ee15 100644 (file)
@@ -91,7 +91,7 @@ DEFINE_STANDARD_HANDLE(PrsDim_Dimension, AIS_InteractiveObject)
 //! Being a 2D drawings, the dimensions are created on imaginary plane, called "dimension plane",
 //! which can be thought of as reference system of axes (X,Y,N) for constructing the presentation.
 //!
-//! The role of axes of the dimension plane is to guide you through the encapsualted automations
+//! The role of axes of the dimension plane is to guide you through the encapsulated automations
 //! of presentation building to help you understand how is the presentation will look and how it
 //! will be oriented in model space during construction.
 //!
@@ -515,7 +515,7 @@ protected:
                               gp_Pln&                                thePlane,
                               Standard_Boolean&                      theIsPlaneOld) const;
 
-protected: //! @name Static auxilliary methods for geometry extraction
+protected: //! @name Static auxiliary methods for geometry extraction
   //! If it is possible extracts circle from planar face.
   //! @param[in] theFace         the planar face
   //! @param[out] theCurve        the circular curve
index 3a2d033e8f6b3dd9c83ba0b9d734efa36ce9c728..8a03debf4dcc2026808f1efa3d37e36f69d414ea 100644 (file)
@@ -263,7 +263,7 @@ void PrsDim_EqualDistanceRelation::ComputeSelection(const Handle(SelectMgr_Selec
     BRepAdaptor_Curve aCurve(TopoDS::Edge(mySShape));
     if (aCurve.GetType() == GeomAbs_Line)
     {
-      // add sensetive element - line
+      // add sensitive element - line
       seg = new Select3D_SensitiveSegment(own, myAttachPoint2, myPoint2);
       aSelection->Add(seg);
     }
@@ -290,7 +290,7 @@ void PrsDim_EqualDistanceRelation::ComputeSelection(const Handle(SelectMgr_Selec
     BRepAdaptor_Curve aCurve(TopoDS::Edge(myShape3));
     if (aCurve.GetType() == GeomAbs_Line)
     {
-      // add sensetive element - line
+      // add sensitive element - line
       seg = new Select3D_SensitiveSegment(own, myAttachPoint3, myPoint3);
       aSelection->Add(seg);
     }
@@ -322,7 +322,7 @@ void PrsDim_EqualDistanceRelation::ComputeSelection(const Handle(SelectMgr_Selec
     BRepAdaptor_Curve aCurve(TopoDS::Edge(myShape4));
     if (aCurve.GetType() == GeomAbs_Line)
     {
-      // add sensetive element - line
+      // add sensitive element - line
       seg = new Select3D_SensitiveSegment(own, myAttachPoint4, myPoint4);
       aSelection->Add(seg);
     }
index 856a7af5a5d4d31fdb4c3bca763191e377b2c7f3..abd5153ff17babc14245819bd18cda1d3ba24b1c 100644 (file)
@@ -67,7 +67,7 @@ public:
   //! Sets flag to skip data loading.
   void SetToSkipLateDataLoading(bool theToSkip) { myToSkipLateDataLoading = theToSkip; }
 
-  //! Returns TRUE if data should be loaded into itself without its transfering to new structure.
+  //! Returns TRUE if data should be loaded into itself without its transferring to new structure.
   //! It allows to keep information about deferred storage to load/unload this data later.
   //! TRUE by default.
   bool ToKeepLateData() { return myToKeepLateData; }
index 39a5bb8f5991222f908603d5844537b4b1eca653..292cadbd48cda825cbbe9314a7ff70ba246b15c4 100644 (file)
@@ -306,7 +306,7 @@ bool RWGltf_ExtrasParser::parseArray(const RWGltf_JsonValue& theValue,
     return true;
   }
 
-  // Unsupported type of array. Print waring and return.
+  // Unsupported type of array. Print warning and return.
   Message::SendWarning() << "Warning: Extras owner \"" << myParentID << "\", Value \""
                          << theValueName << "\" - "
                          << "Array of unsupported type is detected. It will be skipped.";
index 5599673d273addfdd93ca06458027fa2b5a2b3f9..b10862f0b031426d26bd2bba05a56b57ee8c7791 100644 (file)
@@ -76,7 +76,7 @@ void RWStepShape_RWAngularLocation::ReadStep(const Handle(StepData_StepReaderDat
   // Own fields of AngularLocation
 
   // PTV 16.09.2000
-  // default value set as StepShape_Small, cause there wasn`t default value, but may be situation
+  // default value set as StepShape_Small, cause there wasn't default value, but may be situation
   // when value will not be initialized and returned in ent->Init.
   StepShape_AngleRelator aAngleSelection = StepShape_Small;
   if (data->ParamType(num, 5) == Interface_ParamEnum)
index 9442298ca4497f87975550915f64e11144a5c0e0..2706fd494a015c27d6308ee7a227a5bf104ebebd 100644 (file)
@@ -109,7 +109,7 @@ Standard_Integer CountNormals(const Handle(Poly_Triangulation)& theTriangulation
 //=======================================================================
 // function : GenerateNormalsArray
 // purpose  : Generates array of normals from theTriangulation. Normals
-//           wiil be transformed with theTransformation.
+//           will be transformed with theTransformation.
 //           IMPORTANT: Output will be nullptr if theTriangulation has
 //           no normals.
 //=======================================================================
@@ -1567,7 +1567,7 @@ Handle(StepVisual_TessellatedGeometricSet) STEPCAFControl_GDTProperty::GetTessel
   // Build tesselated_curve_set.
   Handle(StepVisual_TessellatedCurveSet) aTCS = GenerateTessellatedCurveSet(theShape);
 
-  // Fill the container of tesselated items.
+  // Fill the container of tessellated items.
   NCollection_Handle<StepVisual_Array1OfTessellatedItem> aTesselatedItems =
     new StepVisual_Array1OfTessellatedItem(1, static_cast<Standard_Integer>(aCTSSs.size()) + 1);
   aTesselatedItems->SetValue(1, aTCS);
index 1353c6d338167dd41ca345771c59d7b8874c9274..4fe11237cadc2e72ee7491da0bef553df357812e 100644 (file)
@@ -1005,7 +1005,7 @@ static Standard_Integer FindEntities(const Handle(Transfer_FinderProcess)& theFP
     return 1;
   }
 
-  // may be S was splited during shape processing
+  // may be S was split during shape processing
   Handle(TransferBRep_ShapeMapper) aMapper = TransferBRep::ShapeMapper(theFP, theShape);
   Handle(Transfer_Binder)          aBinder = theFP->Find(aMapper);
   if (aBinder.IsNull())
index dfe7149d99c9e7812532d46bf46c06c755edaef8..17091ab853677ed5cc58fb04bd7497be1f112cb0 100644 (file)
@@ -1799,7 +1799,7 @@ void SWDRAW_ShapeUpgrade::InitCommands(Draw_Interpretor& theCommands)
   //  theCommands.Add("DT_SplitFace", "DT_SplitFace Result Face Tol",
   //             __FILE__, DT_SplitFace,g);
 
-  //  theCommands.Add("DT_Debug", "DT_Debug 0/1 : activation/desactivation of the debug messages",
+  //  theCommands.Add("DT_Debug", "DT_Debug 0/1 : activation/deactivation of the debug messages",
   //             __FILE__, DT_Debug,g);
   //  theCommands.Add ("shellsolid","option[a-b-c-f] shape result",
   //              __FILE__,shellsolid,g);
index cd2cd035bc7c88f4a79ea94072f9a90b6391de57..e7603d95fbc3d72d4a78e321437477bc5a41df9b 100644 (file)
@@ -227,7 +227,7 @@ public:
   //! also says this. Otherwise additional analysis is performed,
   //! comparing given precision with the following distances:
   //! - periodic B-Splines are closed,
-  //! - polinomial B-Spline with boundary multiplicities degree+1
+  //! - polynomial B-Spline with boundary multiplicities degree+1
   //! and Bezier - maximum distance between poles,
   //! - rational B-Spline or one with boundary multiplicities not
   //! degree+1 - maximum distance computed at knots and their
@@ -244,7 +244,7 @@ public:
   //! also says this. Otherwise additional analysis is performed,
   //! comparing given precision with the following distances:
   //! - periodic B-Splines are closed,
-  //! - polinomial B-Spline with boundary multiplicities degree+1
+  //! - polynomial B-Spline with boundary multiplicities degree+1
   //! and Bezier - maximum distance between poles,
   //! - rational B-Spline or one with boundary multiplicities not
   //! degree+1 - maximum distance computed at knots and their
index f121a6d633e438f74de71d242604912d4fdda3a4..7c1602d4b0fde4e19f18c5b9d018d8809948395a 100644 (file)
@@ -379,7 +379,7 @@ void ShapeAnalysis_WireOrder::Perform(const Standard_Boolean /*closed*/)
         {
           aJointMask2D |= (1 << 3);
         }
-        // new approche for detecting best edge connection, for all other cases used old 3D
+        // new approch for detecting best edge connection, for all other cases used old 3D
         // algorithm
         Standard_Integer aFullMask = aJointMask3D & aJointMask2D;
         if (aFullMask != 0)
index b10c4bbbc3a4f6e01d1a99f6682e1edb1e66fb25..08a3ee78b4ee22bfc547a8720f23b2ef908983cc 100644 (file)
@@ -1642,7 +1642,7 @@ Standard_Boolean ShapeCustom_BSplineRestriction::ConvertCurve2d(const Handle(Geo
       catch (Standard_Failure const& anException)
       {
 #ifdef OCCT_DEBUG
-        std::cout << "Warning: Geom2dConvert_ApproxCurve Exception: Wrong Cofficient :Decrease "
+        std::cout << "Warning: Geom2dConvert_ApproxCurve Exception: Wrong Coefficient :Decrease "
                      "Continuity    ";
         anException.Print(std::cout);
         std::cout << std::endl;
index a114a0a67ea33d5839682163b423b0d30e2b77ae..ba5c2ad22764286e7695e835ab414f12e880612a 100644 (file)
@@ -26,7 +26,7 @@ class Geom2d_Curve;
 class Geom2d_BSplineCurve;
 
 //! Converts curve2d to analytical form with given
-//! precision or simpify curve2d.
+//! precision or simplify curve2d.
 class ShapeCustom_Curve2d
 {
 public:
index c599211f9bd12cf6d650c30f0a2d896e0255a1e3..c5b8a8ae79a1c008a83f33d69a471931be49aefe 100644 (file)
@@ -53,7 +53,7 @@ class StepData_StepReaderData : public Interface_FileReaderData
 {
 
 public:
-  //! creates StepReaderData correctly dimensionned (necessary at
+  //! creates StepReaderData correctly dimensioned (necessary at
   //! creation time, because it contains arrays)
   //! nbheader is nb of records for Header, nbtotal for Header+Data
   //! and nbpar gives the total count of parameters
index 3549514283bb1f77f8c006bcd3e32505ba4b033c..6d36b774fa95529583cea051a45c437a6137d5e0 100644 (file)
@@ -92,7 +92,7 @@ void TDF_CopyTool::Copy(const Handle(TDF_DataSet)&         aSourceDataSet,
   // except for the label unattached attributes,
   // but everybody can update the relocation table...
 
-  // Now: the paste phasis!
+  // Now: the paste phase!
   TDF_DataMapIteratorOfAttributeDataMap attItr2(theAttMap);
   for (; attItr2.More(); attItr2.Next())
   {
index 8406c99867fa3d892e07a4de46f4015741fadd32..795fd5bd4ede55bf7cb9eeed240bf79d6a7373fc 100644 (file)
@@ -57,7 +57,7 @@ class TCollection_AsciiString;
     return TDF_DERIVED_##Class();                                                                  \
   }
 
-//! Class provides global access (through static methods) to all derived attributres information.
+//! Class provides global access (through static methods) to all derived attributes information.
 //! It is used internally by macros for registration of derived attributes and driver-tables
 //! for getting this data.
 class TDF_DerivedAttribute
index c66641cfdf6faed0000dc9875a2ab1b69b988ad7..0e00a40680795637a44e69f8db007b9927b8febd 100644 (file)
@@ -402,7 +402,7 @@ public:
    * Method for updating object after restoring
    */
 
-  //! Performs updating the links and dependances of the object which are not
+  //! Performs updating the links and dependences of the object which are not
   //! stored in persistence. Should be redefined if necessary.
   virtual Standard_EXPORT void AfterRetrieval();
 
index 4a3ec1e3a2123ca7ac2449f75e0c384bfc2d2a3f..a23a0ec7790ceb7b191232002312696a538987e8 100644 (file)
@@ -1338,7 +1338,7 @@ void TopOpeBRepBuild_BuilderON::GFillONPartsWES2(const Handle(TopOpeBRepDS_Inter
       Standard_Boolean reverse = (!samegeom);
 #ifdef OCCT_DEBUG
       if (TopOpeBRepBuild_GetcontextNOSG())
-        // MSV 21.03.2002: restore the genaral behaviour, since the function
+        // MSV 21.03.2002: restore the general behaviour, since the function
         //                 FUN_UNKFstasta was corrected.
         reverse = Standard_False; // we exclude this line from #ifdef OCCT_DEBUG because
                                   // in optimised mode this line will never be included , and that
@@ -2143,7 +2143,7 @@ void TopOpeBRepBuild_BuilderON::GFillONPartsWES2(const Handle(TopOpeBRepDS_Inter
         if (nfor < 1)
           b = shareG; // Esd is FOR's closing edge
         else if (nfor > 1)
-          return; // NYIRaise (unvalid shape)
+          return; // NYIRaise (invalid shape)
         else
         {
           const TopoDS_Face& FF    = TopoDS::Face(lfor.First());
index d25198345e8f7b47e2ebb837b668dacc0ba9942f..f75c2e3ae0f7f61278b08eccf82f804ba440cc44 100644 (file)
@@ -35,7 +35,7 @@ class TopOpeBRepDS_HDataStructure;
 class TopOpeBRepDS_Check;
 DEFINE_STANDARD_HANDLE(TopOpeBRepDS_Check, Standard_Transient)
 
-//! a tool verifing integrity and structure of DS
+//! a tool verifying integrity and structure of DS
 class TopOpeBRepDS_Check : public Standard_Transient
 {
 
index f29257ba383359b36a6e6b7855c7541591a0e7ea..68cca8c87c558307201523ae853976f916f402ca 100644 (file)
@@ -1465,7 +1465,7 @@ static Standard_Integer VPlaneBuilder(Draw_Interpretor& /*di*/,
       if (aShapes.Extent() < 1 || aShapes.Extent() > 3)
       {
         Message::SendFail()
-          << "Error: Wront number of selected shapes.\n"
+          << "Error: Wrong number of selected shapes.\n"
           << "\tYou should one of variant: face, edge and vertex or three vertices.";
         return 1;
       }
@@ -3878,7 +3878,7 @@ static int VDrawPArray(Draw_Interpretor& di, Standard_Integer argc, const char**
 
   if (!hasVertex)
   {
-    di << "You should pass any verticies in the list of array elements\n";
+    di << "You should pass any vertices in the list of array elements\n";
     return 1;
   }
 
index 0e8628c33c3f29648a079e3a4760a989a65f4811..01b65679d2690cde34d1e648a508209b07caf266 100644 (file)
@@ -169,7 +169,7 @@ static Standard_Boolean Get3DPointAtMousePosition(const gp_Pnt& theFirstPoint,
 
 //=======================================================================
 // function : ParseDimensionParams
-// purpose  : Auxilliary function: sets aspect parameters for
+// purpose  : Auxiliary function: sets aspect parameters for
 //           length, angle, radius and diameter dimension.
 //
 // draw args: -text [3d|2d] [wf|sh|wireframe|shading] [Size]
@@ -560,7 +560,7 @@ static void SetDimensionParams(
 
 //=======================================================================
 // function : ParseAngleDimensionParams
-// purpose  : Auxilliary function: sets custom parameters for angle dimension.
+// purpose  : Auxiliary function: sets custom parameters for angle dimension.
 //
 // draw args: -type [interior|exterior]
 //           -showarrow [first|second|both|none]
@@ -999,7 +999,7 @@ Standard_Boolean IsParallel(const TopoDS_Shape& theShape1, const TopoDS_Shape& t
 
 //=======================================================================
 // function : VRelationBuilder
-// purpose  : Command for building realation presentation
+// purpose  : Command for building relation presentation
 //=======================================================================
 static int VRelationBuilder(Draw_Interpretor& /*theDi*/,
                             Standard_Integer theArgsNb,
index 348b356f03475306445ec2a3942c37b416080f49..48572cc8a1aa4a3ab2bb59bf5b75e34e7594e5b0 100644 (file)
@@ -430,7 +430,7 @@ Handle(AIS_InteractiveContext) FindContextByView(const Handle(V3d_View)& theView
 
 //==============================================================================
 // function : IsWindowOverlapped
-// purpose  : Check if theWindow overlapp another view
+// purpose  : Check if theWindow overlap another view
 //==============================================================================
 
 Standard_Boolean IsWindowOverlapped(const Standard_Integer   thePxLeft,
@@ -5691,7 +5691,7 @@ static int VReadPixel(Draw_Interpretor& theDI, Standard_Integer theArgNb, const
   }
 
   // redirect possible warning messages that could have been added by ToPixMap
-  // into the Tcl interpretor (via DefaultMessenger) to cout, so that they do not
+  // into the Tcl interpreter (via DefaultMessenger) to cout, so that they do not
   // contaminate result of the command
   Standard_CString aWarnLog = theDI.Result();
   if (aWarnLog != NULL && aWarnLog[0] != '\0')
@@ -13919,7 +13919,7 @@ vcolorscale name [-noupdate|-update] [-demo]
  -uniform    generate colors with the same lightness
  -textpos    horizontal label position relative to color scale bar
  -labelAtBorder vertical label position relative to color interval;
-             at border means the value inbetween neighbor intervals,
+             at border means the value in between neighbor intervals,
              at center means the center value within current interval
  -labels     set labels for all intervals
  -freeLabels same as -labels but does not require
@@ -13996,7 +13996,7 @@ vgrid [off] [-type {rect|circ}] [-mode {line|point}] [-origin X Y] [-rotAngle An
 
   addCmd("vpriviledgedplane", VPriviledgedPlane, /* [vpriviledgedplane] */ R"(
 vpriviledgedplane [Ox Oy Oz Nx Ny Nz [Xx Xy Xz]]
-Sets or prints viewer's priviledged plane geometry:
+Sets or prints viewer's privileged plane geometry:
   Ox, Oy, Oz - plane origin;
   Nx, Ny, Nz - plane normal direction;
   Xx, Xy, Xz - plane x-reference axis direction.
index 208d374570eccceefb493bc2a0fe85af5d9e616d..34b0667b6657e3eef68b182395ebc48692824e55 100644 (file)
@@ -308,7 +308,7 @@ Standard_Boolean VrmlAPI_Writer::write_v1(const TopoDS_Shape&    aShape,
   TopTools_Array1OfShape Shapes(1, 1);
   Shapes.SetValue(1, aShape);
 
-  // Check shape tesselation
+  // Check shape tessellation
   TopExp_Explorer  anExp(aShape, TopAbs_FACE);
   TopLoc_Location  aLoc;
   Standard_Boolean hasTriangles = Standard_False;
index 399e8077bf85492fdf906123509e9ae5aa958608..821a991ea2893f15a2f19ad5a4faaa4ff945c36d 100644 (file)
@@ -53,7 +53,7 @@ void VrmlConverter_ShadedShape::Add(Standard_OStream&                   anOStrea
   gp_Pnt           p;
   TopExp_Explorer  ex;
 
-  // counting phasis. This phasis will count the valid triangle
+  // counting phase. This phase will count the valid triangle
   // and the vertices to allocate the correct size for the arrays:
 
   Standard_Integer nbTriangles = 0, nbVertices = 0;
index a400f3615308ef95b15e231f625a81211e765a79..faf5879f7241adf87ef3546071e6d6e310a29329 100644 (file)
@@ -88,7 +88,7 @@ public:
                                const Standard_Real    theDeflection = 0.01,
                                const Standard_Real    theDeflAngle  = 20. * M_PI / 180.);
   // this value of theDeflAngle is used by default
-  // for tesselation while shading (Drawer->HLRAngle())
+  // for tessellation while shading (Drawer->HLRAngle())
 
   /**
    * Add all shapes start from given document with colors and names to the internal structure
index 455f3304b9e6e88d0d7ebb9a47f2530fcf38eaf4..c3b35ee30e984bc651e6c591b8de5a55556bde77 100644 (file)
@@ -762,7 +762,7 @@ static IFSelect_ReturnStatus XSControl_trimport(const Handle(IFSelect_SessionPil
   if (argc < 4)
   {
     sout << "Give : filename or . for current model;  varname or . to take fileroot\n  GiveList, * "
-            "for all transferrable roots"
+            "for all transferable roots"
          << std::endl;
     return IFSelect_RetError;
   }
@@ -807,7 +807,7 @@ static IFSelect_ReturnStatus XSControl_trimport(const Handle(IFSelect_SessionPil
   if (arg3[0] == '*' && arg3[1] == '\0')
   {
     list = WS->GiveList("xst-transferrable-roots");
-    sout << "All Transferrable Roots : ";
+    sout << "All Transferable Roots : ";
   }
   else
   {
index db6fe26af21517da63f3afff4662f6010a91cf01..808ec94a186fbf175603b3d4ed056976f03d1e74 100644 (file)
@@ -103,7 +103,7 @@ public:
   Standard_EXPORT Handle(XSControl_WorkSession) WS() const;
 
   //! Loads a file and returns the read status
-  //! Zero for a Model which compies with the Controller
+  //! Zero for a Model which complies with the Controller
   Standard_EXPORT virtual IFSelect_ReturnStatus ReadFile(const Standard_CString filename);
 
   //! Loads a file from stream and returns the read status
index afcd37cc6396472b4970990c31891d80b7f34047..29c8fbd13a09aa34aa30def90e8234c2b623d734 100644 (file)
@@ -223,7 +223,7 @@ public:
   Standard_EXPORT static Standard_Real GetLengthUnit(
     const Handle(TDocStd_Document)& theDoc = nullptr);
 
-  //! Returns avaliable work sessions with their associated files.
+  //! Returns available work sessions with their associated files.
   Standard_EXPORT static XSControl_WorkSessionMap& WorkSessionList();
 
   //! Binds session and name into map recursively.
index 306669d5013ab4e44a286f3c7720b408d3de6669..52498f2dcd7ecb4b426bf8709d7316a990cef88f 100644 (file)
@@ -73,7 +73,7 @@ public:
 
   //! Prints on the stream o information on the current state
   //! of the object.
-  //! Is used to redifine the operator <<.
+  //! Is used to redefine the operator <<.
   Standard_EXPORT void Dump(Standard_OStream& o) const;
 
   //! Destructor
index 9f8ebc6069c666bf9408e8c96c34ff534058fbb0..7d68678ce749b78f07480f7bd391b70b44d6fbde 100755 (executable)
@@ -18,7 +18,7 @@ regexp {([-0-9.+eE]+)$} [dump d_val] full dist
 regexp { +Vertex +: +Min +[-0-9.+eE]+ +Max +([-0-9.+eE]+)} [ maxtolerance d ] full toler
 set good_dist 0
 if { [expr abs( ${dist} - ${good_dist} )] > ${toler} } {
-    puts "Faulty : the distanse is ${dist}. It is bad value"
+    puts "Faulty : the distance is ${dist}. It is bad value"
 }
 
 regexp { +Point 3D : +([-0-9.+eE]+), +([-0-9.+eE]+), +([-0-9.+eE]+)} [ dump d ] full x y z
index ec6c004658a6e708ba425c3c7a2fcdaad9fc18f7..298a29e238118c2c01be4eac8b8fadc1e59cd31e 100644 (file)
@@ -21,17 +21,17 @@ set GOOD_DIST_1 2.0175535360778957e-14
 set log_1 [projponf f p_1 -min -t]
 regexp {proj dist = ([-0-9.+eE]+)} ${log_1} full distmax_1
 if { [expr abs(${distmax_1} - ${GOOD_DIST_1})] > ${CMP_TOL} } {
-   puts "Error: Wrong distanse (# 1)"
+   puts "Error: Wrong distance (# 1)"
 } else {
-   puts "OK: Good distanse (# 1)"
+   puts "OK: Good distance (# 1)"
 }
 
 distmini d_1 v_1 f
 set distmin_1 [dval d_1_val]
 if { [expr abs(${distmin_1} - ${GOOD_DIST_1})] > ${CMP_TOL} } {
-   puts "Error: Wrong minidistanse (# 1)"
+   puts "Error: Wrong minidistance (# 1)"
 } else {
-   puts "OK: Good minidistanse (# 1)"
+   puts "OK: Good minidistance (# 1)"
 }
 
 # 2
@@ -42,17 +42,17 @@ set GOOD_DIST_2 9.9491842071163076e-14
 set log_2 [projponf f p_2 -min -t]
 regexp {proj dist = ([-0-9.+eE]+)} ${log_2} full distmax_2
 if { [expr abs(${distmax_2} - ${GOOD_DIST_2})] > ${CMP_TOL} } {
-   puts "Error: Wrong distanse (# 2)"
+   puts "Error: Wrong distance (# 2)"
 } else {
-   puts "OK: Good distanse (# 2)"
+   puts "OK: Good distance (# 2)"
 }
 
 distmini d_2 v_2 f
 set distmin_2 [dval d_2_val]
 if { [expr abs(${distmin_2} - ${GOOD_DIST_2})] > ${CMP_TOL} } {
-   puts "Error: Wrong minidistanse (# 2)"
+   puts "Error: Wrong minidistance (# 2)"
 } else {
-   puts "OK: Good minidistanse (# 2)"
+   puts "OK: Good minidistance (# 2)"
 }
 
 # 3
@@ -63,15 +63,15 @@ set GOOD_DIST_3 2.8421709430404007e-14
 set log_3 [projponf f p_3 -min -t]
 regexp {proj dist = ([-0-9.+eE]+)} ${log_3} full distmax_3
 if { [expr abs(${distmax_3} - ${GOOD_DIST_3})] > ${CMP_TOL} } {
-   puts "Error: Wrong distanse (# 3)"
+   puts "Error: Wrong distance (# 3)"
 } else {
-   puts "OK: Good distanse (# 3)"
+   puts "OK: Good distance (# 3)"
 }
 
 distmini d_3 v_3 f
 set distmin_3 [dval d_3_val]
 if { [expr abs(${distmin_3} - ${GOOD_DIST_3})] > ${CMP_TOL} } {
-   puts "Error: Wrong minidistanse (# 3)"
+   puts "Error: Wrong minidistance (# 3)"
 } else {
-   puts "OK: Good minidistanse (# 3)"
+   puts "OK: Good minidistance (# 3)"
 }
index b507b4b34dd87903872bd02b691106ba36510e1d..b749c1f089d5aca1d7bbc06fc969f7ed1dabe677 100644 (file)
@@ -11,7 +11,7 @@ void main() {
   gl_Position = occVertex;
 }"
 
-# define a Geometry shader drawing shrinked triangles
+# define a Geometry shader drawing shrunken triangles
 set aShaderGeom "
 layout(triangles) in;
 layout(triangle_strip, max_vertices=3) out;
index e6657380b073318e9db8a43084ed16738740122f..16d13f4203defd345f9250151b86ed5161b55d76 100644 (file)
@@ -256,7 +256,7 @@ public:
     return QVariant();
   }
 
-  //! Returns number of tree level line items = colums in table view
+  //! Returns number of tree level line items = columns in table view
   virtual int columnCount(const QModelIndex& theParent = QModelIndex()) const Standard_OVERRIDE
   {
     (void)theParent;
index fe1cce7dd36a370f2cc322a69bf1570acf57cb20..8bbb51ed454bca3c9931a8ce288b661ec4a7d59b 100644 (file)
@@ -31,7 +31,7 @@
 //! \class ViewControl_TableModel
 //! \brief This is an extension of table model to visualize a container of values
 //! It is possible to:
-//! - set orientation to interpretate the values.
+//! - set orientation to interpret the values.
 //! - set table view header values.
 //! Items of the view are enabled and selectable.
 class ViewControl_TableModel : public QAbstractTableModel