]> OCCT Git - occt.git/commitdiff
Documentation - Fix various typos found in codebase #350
authorluzpaz <luzpaz@users.noreply.github.com>
Sat, 8 Feb 2025 09:44:51 +0000 (04:44 -0500)
committerGitHub <noreply@github.com>
Sat, 8 Feb 2025 09:44:51 +0000 (09:44 +0000)
66 files changed:
adm/cmake/vtk.cmake
dox/user_guides/de_wrapper/de_wrapper.md
dox/user_guides/mesh/mesh.md
src/BRepBuilderAPI/BRepBuilderAPI.hxx
src/BRepBuilderAPI/BRepBuilderAPI_NurbsConvert.hxx
src/BRepBuilderAPI/BRepBuilderAPI_Sewing.cxx
src/BRepBuilderAPI/BRepBuilderAPI_Sewing.hxx
src/BRepFill/BRepFill_DraftLaw.cxx
src/BSplCLib/BSplCLib.hxx
src/BSplCLib/BSplCLib_CurveComputation.gxx
src/Cocoa/Cocoa_Window.hxx
src/Express/Express_Entity.hxx
src/Express/Express_Item.hxx
src/Express/Express_Schema.cxx
src/Geom2dConvert/Geom2dConvert.cxx
src/GeomConvert/GeomConvert.cxx
src/IGESDimen/IGESDimen_ToolGeneralNote.cxx
src/IntCurveSurface/IntCurveSurface_Inter.gxx
src/PLib/PLib_HermitJacobi.hxx
src/PLib/PLib_JacobiPolynomial.hxx
src/QABugs/QABugs_20.cxx
src/RWGltf/RWGltf_GltfOStreamWriter.hxx
src/STEPCAFControl/STEPCAFControl_GDTProperty.cxx
src/STEPCAFControl/STEPCAFControl_Reader.cxx
src/STEPCAFControl/STEPCAFControl_Writer.hxx
src/SWDRAW/SWDRAW_ShapeAnalysis.cxx
src/ShapeAnalysis/ShapeAnalysis_Edge.hxx
src/ShapeBuild/ShapeBuild_ReShape.cxx
src/ShapeConstruct/ShapeConstruct_ProjectCurveOnSurface.cxx
src/ShapeExtend/ShapeExtend_ComplexCurve.hxx
src/ShapeExtend/ShapeExtend_CompositeSurface.hxx
src/ShapeProcess/ShapeProcess.hxx
src/Sweep/Sweep_NumShapeTool.cxx
src/TDF/TDF_ComparisonTool.hxx
src/TDF/TDF_RelocationTable.cxx
src/TObj/TObj_Object.hxx
src/XDEDRAW/XDEDRAW_Layers.cxx
tests/boolean/bcommon_simple/E8
tests/bugs/caf/bug31918_2
tests/bugs/fclasses/bug24137
tests/bugs/modalg_2/bug238_1
tests/bugs/modalg_2/bug238_2
tests/bugs/modalg_6/bug27240_1
tests/bugs/modalg_8/bug33179
tests/bugs/modalg_8/bug33515
tests/bugs/step/bug33657_1
tests/bugs/step/bug33657_2
tests/bugs/step/bug33657_3
tests/bugs/xde/bug816_1
tests/bugs/xde/bug816_2
tests/caf/progress/A1
tests/caf/progress/A2
tests/caf/progress/B1
tests/caf/progress/B2
tests/caf/progress/C1
tests/caf/progress/C2
tests/de/iges_1/A2
tests/de/iges_1/B4
tests/de/iges_1/M9
tests/de/iges_2/H1
tests/de/step_2/A3
tests/lowalgos/progress/A1
tests/lowalgos/progress/A2
tests/lowalgos/progress/A3
tests/lowalgos/progress/A4
tests/v3d/bugs/bug32116

index 9bc0900c6806ebe6a26c74706cddec7b243c36d8..48650fe7dfd16ba7032f80efbdc8f54d253afcc5 100644 (file)
@@ -26,7 +26,7 @@ endif()
 # include occt macros. compiler_bitness, os_wiht_bit, compiler
 OCCT_INCLUDE_CMAKE_FILE ("adm/cmake/occt_macros")
 
-# specify VTK folder in connectin with 3RDPARTY_DIR
+# specify VTK folder in connection with 3RDPARTY_DIR
 if (3RDPARTY_DIR AND EXISTS "${3RDPARTY_DIR}")
   #CHECK_PATH_FOR_CONSISTENCY (3RDPARTY_DIR 3RDPARTY_VTK_DIR PATH "The directory containing VTK")
 
index c915dcd78629e56a1237aa540090f16123094a6c..e40b43bde0b2754418bdbf60349f349bb72b6f46 100644 (file)
@@ -197,7 +197,7 @@ All registered providers are set to the map with information about its vendor an
 
 @subsubsection occt_de_wrapper_3_3_1 Registering providers. Code sample
 
-It is nesessary to register only one ConfigurationNode for all needed formats.
+It is necessary to register only one ConfigurationNode for all needed formats.
 ~~~~{.cpp}
 Handle(DE_Wrapper) aSession = DE_Wrapper::GlobalWrapper();
 Handle(DE_ConfigurationNode) aNode = new DESTEP_ConfigurationNode();
index d6c41cdd6e55fb8ece75ec4bbb65e7108378cb60..d8df6880767a283097413ece1fad36ad8688c5da 100644 (file)
@@ -87,7 +87,7 @@ Note that if a given value of linear deflection is less than shape tolerance the
 
 The application should provide deflection parameters to compute a satisfactory mesh. Angular deflection is relatively simple and allows using a default value (12-20 degrees). Linear deflection has an absolute meaning and the application should provide the correct value for its models. Giving small values may result in a too huge mesh (consuming a lot of memory, which results in a  long computation time and slow rendering) while big values result in an ugly mesh.
 
-For an application working in dimensions known in advance it can be reasonable to use the absolute linear deflection for all models. This provides meshes according to metrics and precision used in the application (for example, it it is known that the model will be stored in meters, 0.004 m is enough for most tasks).
+For an application working in dimensions known in advance it can be reasonable to use the absolute linear deflection for all models. This provides meshes according to metrics and precision used in the application (for example, it is known that the model will be stored in meters, 0.004 m is enough for most tasks).
 
 However, an application that imports models created in other applications may not use the same deflection for all models. Note that actually this is an abnormal situation and this application is probably just a viewer for CAD models with  dimensions varying by an order of magnitude. This problem can be solved by introducing the concept of a relative linear deflection with some  LOD (level of detail). The level of detail is a scale factor for absolute deflection, which is applied to model dimensions.
 
index 301bf38e7c2dc231bcc3ec2f81e6fbb6583ee0fb..b018455ec453c8be463a3821bd7d137e8691c05b 100644 (file)
@@ -79,8 +79,8 @@ class Geom_Plane;
 //! the NotDone error. When Done is false on a command
 //! the error description can be asked to the command.
 //!
-//! In  theory  the  comands can be    called with any
-//! arguments, argument  checking  is performed by the
+//! In theory the commands can be called with any
+//! arguments, argument checking is performed by the
 //! command.
 class BRepBuilderAPI
 {
index af8aed011ee526a317118fed45bac2adefc6cb0f..c34c26ed2a4a9a86bfddd2b91df49716e9d4590e 100644 (file)
@@ -28,7 +28,7 @@ class TopoDS_Shape;
 
 //! Conversion of the complete geometry of a shape
 //! (all 3D analytical representation of surfaces and curves)
-//! into NURBS geometry (execpt for Planes). For example,
+//! into NURBS geometry (except for Planes). For example,
 //! all curves supporting edges of the basis shape are converted
 //! into BSpline curves, and all surfaces supporting its faces are
 //! converted into BSpline surfaces.
index 165fa9a5298715622485131ddcadee9f4b4b95dc..37a26d50bd54e0035f0f539921d516b4a5be9928 100644 (file)
@@ -2332,7 +2332,7 @@ void BRepBuilderAPI_Sewing::Dump() const
   std::cout << " Number of Vertices          : " << myNbVertices << std::endl;
   std::cout << " Number of Nodes             : " << mapVertices.Extent() << std::endl;
   std::cout << " Number of Free Edges        : " << myFreeEdges.Extent() << std::endl;
-  std::cout << " Number of Contigous Edges   : " << myContigousEdges.Extent() << std::endl;
+  std::cout << " Number of Contiguous Edges  : " << myContigousEdges.Extent() << std::endl;
   std::cout << " Number of Multiple Edges    : " << myMultipleEdges.Extent() << std::endl;
   std::cout << " Number of Degenerated Edges : " << myDegenerated.Extent() << std::endl;
   std::cout << " ===========================================================" << std::endl;
index 190ecdac6767d43183a08b1af496611bd8c407cd..dffd77cb36ac6aadb795b319aab657ce27b53aa4 100644 (file)
@@ -69,7 +69,7 @@ DEFINE_STANDARD_HANDLE(BRepBuilderAPI_Sewing, Standard_Transient)
 //! - set the cutting option as you need (default True)
 //! - define a tolerance
 //! - add shapes to be sewed -> Add
-//! - compute -> Perfom
+//! - compute -> Perform
 //! - output the resulted shapes
 //! - output free edges if necessary
 //! - output multiple edges if necessary
@@ -97,7 +97,7 @@ public:
                             const Standard_Boolean option3   = Standard_True,
                             const Standard_Boolean option4   = Standard_False);
 
-  //! Loades the context shape.
+  //! Loads the context shape.
   Standard_EXPORT void Load(const TopoDS_Shape& shape);
 
   //! Defines the shapes to be sewed or controlled
@@ -146,7 +146,7 @@ public:
 
   //! Gives the original edge (free boundary) which becomes the
   //! the section. Remember that sections constitute  common edges.
-  //! This imformation is important for control because with
+  //! This information is important for control because with
   //! original edge we can find the surface to which the section
   //! is attached.
   Standard_EXPORT const TopoDS_Edge& SectionToBoundary(const TopoDS_Edge& section) const;
index a37f887b33260d960aa9008823bb4044d595350d..b04bc5035b4bba008681c6548d05ab1343c2dc09 100644 (file)
@@ -27,7 +27,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BRepFill_DraftLaw, BRepFill_Edge3DLaw)
 
 //=======================================================================
 // function : ToG0
-// purpose  : Cacul une tranformation T tq T.M2 = M1
+// purpose  : Calculate a transformation T tq T.M2 = M1
 //=======================================================================
 static void ToG0(const gp_Mat& M1, const gp_Mat& M2, gp_Mat& T)
 {
index 2f8b05351bad0ed727eb632d6130ebb454094d29..68d6e1aedcde382b96e7ffa537a26086048edaf6 100644 (file)
@@ -1321,10 +1321,10 @@ public:
   //! result of the  poles are divided by the
   //! result of   the   interpolation of  the
   //! weights. Otherwise if HomogenousFlag == 1
-  //! the Poles and Weigths are treated homogeneously
+  //! the Poles and Weights are treated homogeneously
   //! that is that those are interpolated as they
   //! are and result is returned without division
-  //! by the interpolated weigths.
+  //! by the interpolated weights.
   Standard_EXPORT static Standard_Integer SolveBandedSystem(const math_Matrix&     Matrix,
                                                             const Standard_Integer UpperBandWidth,
                                                             const Standard_Integer LowerBandWidth,
@@ -1348,10 +1348,10 @@ public:
   //! result of the  poles are divided by the
   //! result of   the   interpolation of  the
   //! weights. Otherwise if HomogenousFlag == 1
-  //! the Poles and Weigths are treated homogeneously
+  //! the Poles and Weights are treated homogeneously
   //! that is that those are interpolated as they
   //! are and result is returned without division
-  //! by the interpolated weigths.
+  //! by the interpolated weights.
   Standard_EXPORT static Standard_Integer SolveBandedSystem(const math_Matrix&     Matrix,
                                                             const Standard_Integer UpperBandWidth,
                                                             const Standard_Integer LowerBandWidth,
index e684cb56add1887466493c8f8fadcf3ee50d1837..c0341287ecc18739279ced9afcd512b6b826e47f 100644 (file)
@@ -618,7 +618,7 @@ BSplCLib::SolveBandedSystem(const math_Matrix&  Matrix,
 //function : Solves a LU factored Matrix 
 //purpose  : if HomogeneousFlag is 1 then the input and the output
 //           will be homogeneous that is no division or multiplication
-//           by weigths will happen. On the contrary if HomogeneousFlag
+//           by weights will happen. On the contrary if HomogeneousFlag
 //           is 0 then the poles will be multiplied first by the weights
 //           and after interpolation they will be divided by the weights
 //=======================================================================
index 7c45089c983b02a7519839c4c5269541fd21088a..c859c7027b88bdec3c46dc45179e12573fdfc22d 100644 (file)
@@ -79,7 +79,7 @@ public:
   Standard_EXPORT Cocoa_Window(NSView* theViewNS);
 #endif
 
-  //! Destroys the Window and all resourses attached to it
+  //! Destroys the Window and all resources attached to it
   Standard_EXPORT ~Cocoa_Window();
 
   //! Opens the window <me>
index cbad5f0a99bc9b5fa7da94148af99d87a531be26..06839942efe02f3109aef1acd885a86f9bdfa79f 100644 (file)
@@ -53,7 +53,7 @@ public:
   Standard_EXPORT Standard_Integer
     NbFields(const Standard_Boolean theInherited = Standard_False) const;
 
-  //! Sets abstruct flag for entity;
+  //! Sets abstract flag for entity;
   Standard_EXPORT void SetAbstractFlag(const Standard_Boolean theIsAbstract);
 
   //! Returns abstract flag.
index 0c50c3e0bd8de04d33a79235e5bc4b39363bba10..c0f7303c3bfc8e8215fa5119973457cb987aac57 100644 (file)
@@ -106,13 +106,13 @@ public:
   //! Set flag for presence of method Check in the class
   Standard_EXPORT void SetCheckFlag(const Standard_Boolean theCheckFlag);
 
-  //! Get flag resposible for  presence of method Check in the class
+  //! Get flag responsible for presence of method Check in the class
   Standard_EXPORT Standard_Boolean CheckFlag() const;
 
   //! Set flag for presence of method FillShared in the class
   Standard_EXPORT void SetFillSharedFlag(const Standard_Boolean theFillSharedFlag);
 
-  //! Get flag resposible for  presence of method FillShared in the class
+  //! Get flag responsible for presence of method FillShared in the class
   Standard_EXPORT Standard_Boolean FillSharedFlag() const;
 
   //! Set start entity index
index 9ef876b640da2c56642fcc72eed339d4e9864744..ca2d9bdaf89d3a7f54eba9c6dc3a9a2d887984e0 100644 (file)
@@ -109,7 +109,7 @@ Handle(Express_Item) Express_Schema::Item(const Handle(TCollection_HAsciiString)
 
 //=======================================================================
 // function : nameToCasCade
-// purpose  : auxilary for Prepare()
+// purpose  : auxiliary for Prepare()
 //           Convert STEP-style name (lowercase, with underscores)
 //           to CASCADE-style name (each word starts with uppercase, no intervals)
 //=======================================================================
@@ -135,7 +135,7 @@ static void nameToCasCade(const Handle(TCollection_HAsciiString)& theName)
 
 //=======================================================================
 // function : nameToCasCade
-// purpose  : auxilary for Prepare()
+// purpose  : auxiliary for Prepare()
 //           Convert names for Type object
 //=======================================================================
 static void nameToCasCade(const Handle(Express_Type)& theType)
index e5cdec711dee7e5cc65a43064f3e662a80d2ed3d..373f1d8d1ca20af4e6a5157ab48b4da65b9b96b3 100644 (file)
@@ -567,7 +567,7 @@ static Handle(Geom2d_BSplineCurve) MultNumandDenom(const Handle(Geom2d_BSplineCu
 
 //=======================================================================
 // function : Pretreatment
-// purpose  : Put the two first and two last weigths at one if they are
+// purpose  : Put the two first and two last weights at one if they are
 //           equal
 //=======================================================================
 
@@ -594,7 +594,7 @@ static void Pretreatment(TColGeom2d_Array1OfBSplineCurve& tab)
 //=======================================================================
 // function : NeedToBeTreated
 // purpose  : Say if the BSpline is rational and if the two first and two
-//           last weigths are different
+//           last weights are different
 //=======================================================================
 
 static Standard_Boolean NeedToBeTreated(const Handle(Geom2d_BSplineCurve)& BS)
index 8de6da0e2b3143df2d9d12d4a954db728b744804..5eef7f1407e8f6492404cd7dd250588ed3ed53dd 100644 (file)
@@ -580,7 +580,7 @@ static Handle(Geom_BSplineCurve) MultNumandDenom(const Handle(Geom2d_BSplineCurv
 
 //=======================================================================
 // function : Pretreatment
-// purpose  : Put the two first and two last weigths at one if they are
+// purpose  : Put the two first and two last weights at one if they are
 //           equal
 //=======================================================================
 
@@ -607,7 +607,7 @@ static void Pretreatment(TColGeom_Array1OfBSplineCurve& tab)
 //=======================================================================
 // function : NeedToBeTreated
 // purpose  : Say if the BSpline is rational and if the two first and two
-//           last weigths are different
+//           last weights are different
 //=======================================================================
 
 static Standard_Boolean NeedToBeTreated(const Handle(Geom_BSplineCurve)& BS)
index fefda44931e233efc4490d4f8cac3398265faf4e..2e534fcadaa32c479f02825903fb2668f6fda116 100644 (file)
@@ -277,7 +277,7 @@ void IGESDimen_ToolGeneralNote::OwnCopy(const Handle(IGESDimen_GeneralNote)& ano
     {
       Standard_Integer fontCode = another->FontCode(i);
       fontCodes->SetValue(i, fontCode);
-      ////          fontEntities->SetValue(i, NULL);    par defaut
+      ////          fontEntities->SetValue(i, NULL);    by default
     }
 
     Standard_Real slantAngle = another->SlantAngle(i);
index c6392d6a9e162bb7106c917493e1316f805a5228..c2e2de2c3e204abf314e6750d3cada90f73c0286 100644 (file)
@@ -379,7 +379,7 @@ void IntCurveSurface_Inter::Perform(const TheCurve&   curve,
 {
   // Protection from double type overflow.
   // This may happen inside square magnitude computation based on normal,
-  // which was computed on bound parameteres (bug26525).
+  // which was computed on bound parameters (bug26525).
   Standard_Real UU1 = U1, UU2 = U2, VV1 = V1, VV2 = V2;
   if (U1 < -1.0e50)
     UU1 = -1.0e50;
index 7d8702eec63bf84294cf276421da7527e86ed739..a6db625c59b2de505ad57cedf3c7a7308bf4ee06 100644 (file)
@@ -33,7 +33,7 @@ DEFINE_STANDARD_HANDLE(PLib_HermitJacobi, PLib_Base)
 //! This class provides method  to work with Jacobi Polynomials
 //! relatively to an order of constraint
 //! q = myWorkDegree-2*(myNivConstr+1)
-//! Jk(t) for k=0,q compose the Jacobi Polynomial base relatively to the weigth W(t)
+//! Jk(t) for k=0,q compose the Jacobi Polynomial base relatively to the weight W(t)
 //! iorder is the integer  value for the constraints:
 //! iorder = 0 <=> ConstraintOrder = GeomAbs_C0
 //! iorder = 1 <=> ConstraintOrder = GeomAbs_C1
index 0eae732925f4139e94d29045b1e780a63db9786d..795d8bbc010070f82f2b961e4d392671a28855a8 100644 (file)
@@ -33,7 +33,7 @@ DEFINE_STANDARD_HANDLE(PLib_JacobiPolynomial, PLib_Base)
 //! This class provides method  to work with Jacobi  Polynomials
 //! relatively to   an order of constraint
 //! q  = myWorkDegree-2*(myNivConstr+1)
-//! Jk(t)  for k=0,q compose  the   Jacobi Polynomial  base relatively  to  the weigth W(t)
+//! Jk(t)  for k=0,q compose  the   Jacobi Polynomial  base relatively  to  the weight W(t)
 //! iorder is the integer  value for the constraints:
 //! iorder = 0 <=> ConstraintOrder  = GeomAbs_C0
 //! iorder = 1 <=>  ConstraintOrder = GeomAbs_C1
@@ -80,7 +80,7 @@ public:
   Standard_EXPORT void Points(const Standard_Integer NbGaussPoints,
                               TColStd_Array1OfReal&  TabPoints) const;
 
-  //! returns the Jacobi weigths for Gauss integration only for
+  //! returns the Jacobi weights for Gauss integration only for
   //! the positive    values of the  Legendre roots   in the order they
   //! are given by the method Points
   //! NbGaussPoints   is the number of points chosen   for  the integral
index 722ae84d62de3da40f4b72fcc1c6c614c827058e..0a6c53522f85f5854d6f762aa5ac40e48740925d 100644 (file)
@@ -5002,7 +5002,7 @@ static Standard_Integer OCC33657_4(Draw_Interpretor& theDI,
   aReader.TransferRoots();
   TopoDS_Shape aSourceShape = aReader.OneShape();
 
-  // Analyzer to compare the shape with the the same shape after write-read sequence.
+  // Analyzer to compare the shape with the same shape after write-read sequence.
   ShapeAnalysis_ShapeContents aSourceAnalyzer;
   aSourceAnalyzer.Perform(aSourceShape);
 
index 4e8273af1311bb01c8ef20c41413c307f9b59b2b..5887fd40a4f6dd4ad6993ca54fe4ede27cebc90b 100644 (file)
@@ -14,7 +14,7 @@
 #ifndef _RWGltf_GltfOStreamWriter_HeaderFile
 #define _RWGltf_GltfOStreamWriter_HeaderFile
 
-// disable warnings, occures in rapidjson
+// disable warnings, occurs in rapidjson
 #include <Standard_WarningsDisable.hxx>
 #include <rapidjson/prettywriter.h>
 #include <rapidjson/ostreamwrapper.h>
index 99e1571ceaa8eea3fb7d3986840370aac341ad8e..9442298ca4497f87975550915f64e11144a5c0e0 100644 (file)
@@ -70,13 +70,13 @@ Handle(StepVisual_CoordinatesList) GenerateCoordinateList(
 //           0, if theTriangulation has no normals.
 //           1, if all normals contained in theTriangulation are equal.
 //             Note that Poly_Triangulation supports only 2 options:
-//             either no normals or a normal assosciated with each node.
+//             either no normals or a normal associated with each node.
 //             So when source complex_triangulated_surface_set has just
 //             one normal, it will be just associated with every node in
 //             Poly_Triangulation. Return value of one indicates that
 //             that's what probably happen during reading.
 //           theTriangulation->NbNodes(), if each vertex has a unique
-//             node ossociated with it.
+//             node associated with it.
 //=======================================================================
 Standard_Integer CountNormals(const Handle(Poly_Triangulation)& theTriangulation)
 {
index a8857e726e0cace55db2f9cb4e71523f4eed12ab..abe9db94647e386d435d0f847151c775f512aaf1 100644 (file)
@@ -6143,7 +6143,7 @@ Standard_Boolean STEPCAFControl_Reader::ReadMetadata(const Handle(XSControl_Work
       const std::vector<TDF_Label> aLabels =
         collectShapeLabels(theWS, aTransientProcess, aPropertyDefinition);
 
-      // Fill all atributes for each shape label.
+      // Fill all attributes for each shape label.
       for (const auto& aLabel : aLabels)
       {
         Handle(TDataStd_NamedData) anAttribute = getNamedData(aLabel);
index b1ac25bdc27ec6d73efb57d76a20fa2a63ece60b..c0bb33c96cf9d6bf4fe7571c7762e5a358b39813 100644 (file)
@@ -129,15 +129,17 @@ public:
              const Standard_CString          theIsMulti  = 0,
              const Message_ProgressRange&    theProgress = Message_ProgressRange());
 
-  //! Mehod to writing sequence of root assemblies or part of the file specified by use by one label
+  //! Method to writing sequence of root assemblies
+  //! or part of the file specified by use by one label
   Standard_EXPORT Standard_Boolean
     Transfer(const TDF_LabelSequence&        theLabelSeq,
              const STEPControl_StepModelType theMode     = STEPControl_AsIs,
              const Standard_CString          theIsMulti  = 0,
              const Message_ProgressRange&    theProgress = Message_ProgressRange());
 
-  //! Mehod to writing sequence of root assemblies or part of the file specified by use by one label
-  //! This method uses if need to set parameters avoiding
+  //! Method to writing sequence of root assemblies
+  //! or part of the file specified by use by one label.
+  //! This method is utilized if there's a need to set parameters avoiding
   //! initialization from Interface_Static
   Standard_EXPORT Standard_Boolean
     Transfer(const TDF_LabelSequence&        theLabelSeq,
@@ -159,7 +161,7 @@ public:
             const Message_ProgressRange&    theProgress = Message_ProgressRange());
 
   //! Transfers a document and writes it to a STEP file
-  //! This method uses if need to set parameters avoiding
+  //! This method is utilized if there's a need to set parameters avoiding
   //! initialization from Interface_Static
   //! Returns True if translation is OK
   Standard_EXPORT Standard_Boolean
index ad482429ba6c9755417c0c5a8003f7ff9345304e..f631cdff25e19b9967686c9ac5ed23054d175bb6 100644 (file)
@@ -1296,9 +1296,9 @@ static Standard_Integer getanasurf(Draw_Interpretor& di, Standard_Integer n, con
   {
     di << "Usage: \n";
     di << "getanasurf res shape [target [tol [sample]]] \n";
-    di << "target is reqired type of surface and can be: pln, cyl, con sph \n";
+    di << "target is required type of surface and can be: pln, cyl, con sph \n";
     di << "sample is surface of required type, which parameters are used as starting \n";
-    di << "point for seaching parametrs of surface by Least Square method when input shape \n";
+    di << "point for searching parameters of surface by Least Square method when input shape \n";
     di << "is edge or wire \n";
     return 1;
   }
@@ -1331,7 +1331,7 @@ static Standard_Integer getanasurf(Draw_Interpretor& di, Standard_Integer n, con
   if (n > 4)
     tol = Draw::Atof(a[4]);
 
-  // get sample  target for edge and wire
+  // get sample target for edge and wire
   GeomAdaptor_Surface aSampleSurf;
   if (n > 5 && (sh.ShapeType() == TopAbs_EDGE || sh.ShapeType() == TopAbs_WIRE))
   {
@@ -1410,7 +1410,7 @@ Standard_Integer getanacurve(Draw_Interpretor& di, Standard_Integer n, const cha
   {
     di << "Usage: \n";
     di << "getanacurve res shape [target [tol]] \n";
-    di << "target is reqired type of curve and can be: lin, cir, ell  \n";
+    di << "target is required type of curve and can be: lin, cir, ell  \n";
     return 1;
   }
   TopoDS_Shape sh = DBRep::Get(a[2]);
@@ -1419,7 +1419,7 @@ Standard_Integer getanacurve(Draw_Interpretor& di, Standard_Integer n, const cha
   TopAbs_ShapeEnum aShType = sh.ShapeType();
   if (!(aShType == TopAbs_WIRE || aShType == TopAbs_EDGE))
   {
-    di << "Wrong shape type, shape can be wire or or edge \n";
+    di << "Wrong shape type, shape can be wire or an edge \n";
     return 1;
   }
 
index e59e995835840eb7bca72f2b4770d379008f36ec..759f8c5bb642c675a9cc6364f27347dd84d81aed 100644 (file)
@@ -56,7 +56,7 @@ public:
   //! Tells if the edge has a 3d curve
   Standard_EXPORT Standard_Boolean HasCurve3d(const TopoDS_Edge& edge) const;
 
-  //! Returns the 3d curve and bounding parameteres for the edge
+  //! Returns the 3d curve and bounding parameters for the edge
   //! Returns False if no 3d curve.
   //! If <orient> is True (default), takes orientation into account:
   //! if the edge is reversed, cf and cl are toggled
@@ -86,7 +86,7 @@ public:
                                           Standard_Real&         cl,
                                           const Standard_Boolean orient = Standard_True) const;
 
-  //! Returns the pcurve and bounding parameteres for the edge
+  //! Returns the pcurve and bounding parameters for the edge
   //! lying on the surface.
   //! Returns False if the edge has no pcurve on this surface.
   //! If <orient> is True (default), takes orientation into account:
index 0c6d80409a7e43ddccb5ad103d1ac1a574a33d09..cccf85b13352b2abe24e31859fad418132374195 100644 (file)
@@ -11,7 +11,7 @@
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//    abv 28.04.99 S4137: ading method Apply for work on all types of shapes
+//    abv 28.04.99 S4137: adding method Apply for work on all types of shapes
 
 #include <BRep_Builder.hxx>
 #include <BRep_Tool.hxx>
@@ -220,7 +220,7 @@ TopoDS_Shape ShapeBuild_ReShape::Apply(const TopoDS_Shape& shape, const TopAbs_S
     }
     locStatus |= ShapeExtend::EncodeStatus(ShapeExtend_DONE3);
     if (st == TopAbs_COMPOUND || newsh.ShapeType() == sh.ShapeType())
-    { // fix for SAMTECH bug OCC322 about abcense internal vertices after sewing.
+    { // fix for SAMTECH bug OCC322 about absence internal vertices after sewing.
       B.Add(result, newsh);
       continue;
     }
index d5b73ad4ab7810be99e4ec4646c032431a2ce797..baf37f65c1d7e44cbbf850939403f26be83cdcdb 100644 (file)
@@ -1513,7 +1513,7 @@ Standard_Boolean ShapeConstruct_ProjectCurveOnSurface::ApproxPCurve(const Standa
   // regular part of surface (interior), one part along degenerated boundary
   // and one along seam.
   // Since it cannot be adjusted later by arranging pcurves (curve is single),
-  // to fix it it is nesessary to have a possibility of adjusting seam
+  // to fix it it's necessary to have a possibility of adjusting seam
   // part of such curve either to left or right boundary of surface.
   // Test is performed only if flag AdjustOverDegen is not -1.
   // If AdjustOverDegen is True, seam part of curve is adjusted to
index d405f003e70e780d9dd6b91f3a1eb169746e27ef..7bf5aeda6115f78e9d4ce6daacf38732859d7bcf 100644 (file)
@@ -43,7 +43,7 @@ public:
   Standard_EXPORT virtual const Handle(Geom_Curve)& Curve(const Standard_Integer index) const = 0;
 
   //! Returns number of the curve for the given parameter U
-  //! and local paramete r UOut for the found curve
+  //! and local parameter UOut for the found curve
   Standard_EXPORT virtual Standard_Integer LocateParameter(const Standard_Real U,
                                                            Standard_Real&      UOut) const = 0;
 
index b3dff12660b9543659d30a7125e3af4df441f186..064bff9e0f518c8fa4316775c8dfcc3bea7316fb 100644 (file)
@@ -104,7 +104,7 @@ public:
 
   //! Initializes by a grid of surfaces with given global
   //! parametrisation defined by UJoints and VJoints arrays,
-  //! each having langth equal to number of patches in corresponding
+  //! each having length equal to number of patches in corresponding
   //! direction + 1. Global joint values should be sorted in
   //! increasing order.
   //! All the Surfaces of the grid must have geometrical
index 128f43f5e54f1151b92b43f3f3b0bf2879d2fbf9..9cc6ec6e086dfd5ad9b581ba2297a5ca34179e02 100644 (file)
@@ -39,7 +39,7 @@ public:
   DEFINE_STANDARD_ALLOC
 
   //! Describes all available operations.
-  //! C++11 enum class is not used to allow implicit conversion to undelying type.
+  //! C++11 enum class is not used to allow implicit conversion to underlying type.
   enum Operation : uint8_t
   {
     First       = 0, // First operation index.
index ef72ff188ce7013ec35d9027ec9f354a19fcd64a..85c016d0ee4477bd1fe3976eb9fbe3a71c1b8cc2 100644 (file)
@@ -128,7 +128,7 @@ Sweep_NumShape Sweep_NumShapeTool::FirstVertex() const
       return Sweep_NumShape(1, TopAbs_VERTEX, myNumShape.Closed(), Standard_False, Standard_False);
     }
     else
-      throw Standard_ConstructionError("inifinite Shape");
+      throw Standard_ConstructionError("infinite Shape");
   }
   return myNumShape;
 }
@@ -148,7 +148,7 @@ Sweep_NumShape Sweep_NumShapeTool::LastVertex() const
                             Standard_False);
     }
     else
-      throw Standard_ConstructionError("inifinite Shape");
+      throw Standard_ConstructionError("infinite Shape");
   }
   return myNumShape;
 }
index d81262a3ea10ba18d9fb3c2f13856e46bdf3449d..b3695d128deac7c9501055ab64a035626ed5aa62 100644 (file)
@@ -73,7 +73,7 @@ public:
     const Handle(TDF_DataSet)&         aDiffDataSet,
     const Standard_Integer             anOption = 2);
 
-  //! Substracts from <aRefDataSet> all the items bound
+  //! Subtracts from <aRefDataSet> all the items bound
   //! into <aRelocationTable>. The result is put into
   //! <aDiffDataSet>. Returns True if the difference
   //! contains at least one item. (An item is a target
index 642b084e3c1bf533a11118e05ca5e10ff301581d..8424e688de4909b8d74bc13a291c3845129940f1 100644 (file)
@@ -170,7 +170,7 @@ Standard_Boolean TDF_RelocationTable::HasTransientRelocation(
 
 //=======================================================================
 // function : Clear
-// purpose  : Clears the relocation dictonnary.
+// purpose  : Clears the relocation dictionary.
 //=======================================================================
 
 void TDF_RelocationTable::Clear()
index 3fed2ffd0286a2e898e06d53d30451ca569850b7..c66641cfdf6faed0000dc9875a2ab1b69b988ad7 100644 (file)
@@ -358,7 +358,7 @@ public:
   /**
    * Public methods to check modifications of the object since last commit
    */
-  //! Returns true if object attributes or or his children were modified in the current open
+  //! Returns true if object attributes or its children were modified in the current open
   //! transaction
   Standard_EXPORT Standard_Boolean HasModifications() const;
 
index 01a4d00e07d56f078542bae64462d4a21651c472..392c5e7ccd2b37d89abaf2b21e852a2f6cdaea0a 100644 (file)
@@ -575,7 +575,7 @@ void XDEDRAW_Layers::InitCommands(Draw_Interpretor& di)
 
   di.Add("XSetLayer",
          "DocName {Shape|Label} StringLayer [shapeInOneLayer(0/1)] \t: Set reference between Shape "
-         "and Layer (add layer if nesessary). shapeInOneLayer 0 is default",
+         "and Layer (add layer if necessary). shapeInOneLayer 0 is default",
          __FILE__,
          setLayer,
          g);
index b64a2a301cc22a7285a37ac1b322805431ef9b00..d0bd4654c3e50a6e88ecad56c6621d74d12b9b75 100644 (file)
@@ -17,7 +17,7 @@ mkplane fa wa
 prism ba fa 0 0 4
 
 # prism from bottom
-# chenge of wire construction order
+# change of wire construction order
 
 vertex v5 2 0 0
 vertex v6 3 0 0
index 32ced7e5e6f5e6b8574fbf9673bb4f39931a4811..0db41a7d3d86e9d8afe71635a49958e8d4fd86f7 100644 (file)
@@ -67,7 +67,7 @@ set half_time2 [lindex [time {
 } 20] 0]
 puts "Second half of document open time $half_time2 mcs"
 
-# Check that open of two halfs of the document separately is not too much slower than open of the whole
+# Check that opening of two halves of the document separately is not too much slower than opening of the whole
 if { [expr ($half_time1 + $half_time2) * 0.9] > $whole_time } {
   puts "Error : loading of half of the document content is too slow relatively to the whole document load"
 }
index 21e7f7256c33b27d01993f68c6cbd9da25249a2a..7a26172f7fddefdb231b3dd02f9a7120889da50d 100755 (executable)
@@ -18,5 +18,5 @@ regexp {([-0-9.+eE]+)$} [dump d_val] full dist
 set good_dist 0
 set toler 2.0e-06
 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"
 }
index a4c7b7f6a36b1c9709dd39e0e9cd5b66a68a6b80..e9ed4ebc04737d92903362369434b03661f33843 100755 (executable)
@@ -20,7 +20,7 @@ regexp {([-0-9.+eE]+)$} [dump $di_val] full dis
 if { [expr $dis > 1.e-5] } {
     puts "Faulty : Result shape is WRONG !!!" 
 } else {
-    puts " Result shape is COMPLITE"
+    puts " Result shape is COMPLETE"
 }
 
 checknbshapes result -vertex 14 -edge 7
index 5fed4756c481ccb522cce87de8747bd9b0795a11..be3b459a9b5dc351384f9011d715ef8c62bd6ecd 100755 (executable)
@@ -20,7 +20,7 @@ regexp {([-0-9.+eE]+)$} [dump $di_val] full dis
 if { [expr $dis > 1.e-5] } {
     puts "Faulty : Result shape is WRONG !!!" 
 } else {
-    puts " Result shape is COMPLITE"
+    puts " Result shape is COMPLETE"
 }
 
 checknbshapes result -vertex 14 -edge 7
index c63629ef6cbec4167c8b16c37d806a05fec0dd37..08df779a1865bb72bb185145354f6af818908269 100644 (file)
@@ -9,11 +9,11 @@ puts ""
 restore [locate_data_file bug27240_vent2-trim.brep] b
 explode b
 
-# workaround - increate the tolerance value of the vertex to fill the gap between section curves
+# workaround - increase the tolerance value of the vertex to fill the gap between section curves
 explode b_1 v
 settolerance b_1_1 0.005
 
-# workaround - increate the tolerance value of the edge to fill the gap between section curves
+# workaround - increase the tolerance value of the edge to fill the gap between section curves
 explode b_2 e
 settolerance b_2_5 0.0005
 
index 3ed700aca4fe9ce006771f5e6e1f7db8a60ff195..635e6fe1c905e6e44fe9d634e7ae4ff61a6e1439 100644 (file)
@@ -1,5 +1,5 @@
 puts "================================"
-puts "0033179: Modeling Algorithms - Crash in in ShapeFix_Shape with the attached object, when healing for fixing SameParameterFlag"
+puts "0033179: Modeling Algorithms - Crash in ShapeFix_Shape with the attached object, when healing for fixing SameParameterFlag"
 puts "================================"
 
 restore [locate_data_file bug33179.brep] s
index de54420d4493e3c9aa4bc2356130a9825e5e3c1b..ff06b9df5c627b7d3ccc24f544cd8ff7c8c2d8ee 100644 (file)
@@ -1,5 +1,5 @@
 puts "================================"
-puts " 0033515: Modeling Algorithm - BRepExtrema_DistShapeShape poduces wrong result"
+puts " 0033515: Modeling Algorithm - BRepExtrema_DistShapeShape produces wrong result"
 puts "================================"
 
 restore [locate_data_file bug33515_w1.brep] w1
index 9e03e23cf00c5dce585ff71fadf2a3e9a9edb960..1d46d0a76abe7704db25c182a101cae3bf665c1a 100644 (file)
@@ -1,4 +1,4 @@
 # Check performance of STEPCAFControl_Reader/Writer constructors in multithreading environment.
-# If no crash occures, its fine.
+# If no crash occurs, its fine.
 pload QAcommands
 OCC33657_1
index e0c18781ba0b366b254dcf5e9d2341ce63b7b557..5fe05d1efa30ee4f9668f40bb9122166bcab7857 100644 (file)
@@ -1,4 +1,4 @@
 # Check performance of STEPControl_Reader in multithreading environment.
-# If no crash occures, its fine.
+# If no crash occurs, its fine.
 pload QAcommands
 OCC33657_2 [locate_data_file bug21802_as1-oc-214.stp]
index 8013fb155b0f47cf305b693ac45576c75c18f0c0..bddc7259f04d0731ae1b45cb63169540e41b6b33 100644 (file)
@@ -1,4 +1,4 @@
 # Check performance of STEPControl_Writer in multithreading environment.
-# If no crash occures, its fine.
+# If no crash occurs, its fine.
 pload QAcommands
 OCC33657_1
index e18dad5164cda8da85e6fd8f701295b7cceeec7f..39346607eb4ac7179264844f911a592e6307e1d6 100755 (executable)
@@ -12,11 +12,11 @@ set file ${imagedir}/OCC816.stp
 restore [locate_data_file OCC816-apple.rle] result
 
 if [ catch { brepiges result $file } res ] {
-   puts "Faulty OCC816 : brepiges not complite"
+   puts "Faulty OCC816 : brepiges not complete"
 }
 
 if [ catch { igesbrep $file a *} res ] {
-   puts "Faulty OCC816 : igesbrep not complite"
+   puts "Faulty OCC816 : igesbrep not complete"
 }
 
 checkview -display result -2d -path ${imagedir}/${test_image}.png
index c94e6b029fd5a6a04b351ce37bfedc30eabe9c9e..688e29c44fde6a2aa2e80fd04817f640598a1496 100755 (executable)
@@ -12,11 +12,11 @@ set file ${imagedir}/OCC816.stp
 restore [locate_data_file OCC816-lemon.rle] result
 
 if [ catch { brepiges result $file } res ] {
-   puts "Faulty OCC816 : brepiges not complite"
+   puts "Faulty OCC816 : brepiges not complete"
 }
 
 if [ catch { igesbrep $file a *} res ] {
-   puts "Faulty OCC816 : igesbrep not complite"
+   puts "Faulty OCC816 : igesbrep not complete"
 }
 
 checkview -display result -2d -path ${imagedir}/${test_image}.png
index ce69578ef578eaf074a90aac6a4dbf844e25910e..b7e4dd260d5d7723b7d6e39f72ea516099fa6a06 100644 (file)
@@ -8,7 +8,7 @@
 
 puts "caf009-A1"
 
-# Configurate XProgress 
+# Configure XProgress 
 XProgress +t 
 
 # Create binary document
index 527672c8b53bd52a6d6d285b04d202c9c3763562..19cbe5ffcce0335c7da745fb1181c55a815060e4 100644 (file)
@@ -8,7 +8,7 @@
 
 puts "caf009-A2"
 
-# Configurate XProgress 
+# Configure XProgress 
 XProgress +t
 
 # Create binary document
index 7371c42dad166ea0244024036e9416e424f59067..d4db14a1e855dccae4d5536c0fa4e1e21cfe306b 100644 (file)
@@ -10,7 +10,7 @@ puts "caf009-B1"
 
 set bDoc [CreateBinDoc]
 
-# Configurate XProgress 
+# Configure XProgress 
 XProgress +t 
 
 # Open binary document
index 9a11fc57c706c79d24b4a955e4593cf2ffe5cd3a..5751aa9ec14b0a648b001bf82e62dfda10a1ea0d 100644 (file)
@@ -10,7 +10,7 @@ puts "caf009-B2"
 
 set xDoc [CreateXmlDoc]
 
-# Configurate XProgress 
+# Configure XProgress 
 XProgress +t 
 
 # Open xml document
index 7eefdee74979c6c36662828f2e59267983539c9a..eca4ea59dbc5053f8f8c89011540bb2989b6bce3 100644 (file)
@@ -21,7 +21,7 @@ Open ${bDoc} Doc
 box b 1 1 1
 SetShape Doc 0:2 b
  
-# Configurate XProgress 
+# Configure XProgress 
 XProgress +t
 
 # Save
index 92fb632210dcd8cc81f093730622c1f3f651e8be..32c79b555a3120d572755e948779c1cdef5bc67c 100644 (file)
@@ -21,7 +21,7 @@ Open ${xDoc} Doc
 box b 1 1 1
 SetShape Doc 0:2 b
 
-# Configurate XProgress
+# Configure XProgress
 XProgress +t
 
 # Save
index ca1adace8650933abcc434a43afe675dc1e01f92..c927fd8c737e6f5c3335cbc49b389b2bb406454b 100644 (file)
@@ -1,7 +1,7 @@
 # !!!! This file is generated automatically, do not edit manually! See end script
 set filename buc40130.igs
 
-# set min as local lenght unit
+# set min as local length unit
 set lengthunit_start "min"
 
 set ref_data {
index 96cd13e732ff31a50d0a3b8aa87c439df8710434..613c632043927a71f54548fbcd9785555941bbc0 100644 (file)
@@ -4,7 +4,7 @@ puts "TODO CR23096 ALL: LABELS : Faulty"
 
 set filename t500core.igs
 
-# set min as local lenght unit
+# set min as local length unit
 set lengthunit_start "min"
 
 set ref_data {
index 42c7bc37eb1aa09e37d1c24e442d6345b97d660b..58c47d8a80ccce88ac050e5cb70dbd6dfebd12e3 100644 (file)
@@ -1,7 +1,7 @@
 # !!!! This file is generated automatically, do not edit manually! See end script
 set filename ardi1.igs
 
-# set in as local lenght unit
+# set in as local length unit
 set lengthunit_start "in"
 
 set ref_data {
index 2b3dac119706a2c7609d60083317a722eecd8e31..628bf2fb598763293f94c555d4c3a86dff07dcde 100755 (executable)
@@ -1,7 +1,7 @@
 # !!!! This file is generated automatically, do not edit manually! See end script
 set filename waaier_para.igs
 
-# set min as local lenght unit
+# set min as local length unit
 set lengthunit_start "min"
 
 set ref_data {
index 45ea4486d34442311a8a2e7c4e4facd8ec33bcad..96eaed3a8da534b837aeb2cab82a7753e898389a 100755 (executable)
@@ -4,7 +4,7 @@ puts "TODO CR23096 ALL: TOLERANCE : Faulty"
 
 set filename tr9_r0501-ug.stp
 
-# set in as local lenght unit
+# set in as local length unit
 set lengthunit_start "in"
 
 set ref_data {
index aaa21658ef55e2a822a9be821d8a41bae5dab1db..cd35900c6b86ce03c37f391ef883570295969fbc 100644 (file)
@@ -16,7 +16,7 @@ trotate e3 0 0 0 0 0 1 90
 tcopy e3 e4 
 ttranslate e4 2 0 0 
 
-# Configurate XProgress 
+# Configure XProgress 
 XProgress +t 
 
 # create the surface 
index 2030079c4cbcf87dd8cbff244c7d6fd14061094d..d5dad05917ebc5f19bda7fa106542af37f6edd53 100644 (file)
@@ -12,7 +12,7 @@ mkedge e3 c2
 tcopy e3 e4 
 ttranslate e4 2 0 0 
 
-# Configurate XProgress 
+# Configure XProgress 
 XProgress +t 
 
 # create the surface 
index e38ea895d546359d10dfd97861c5ee16716f38f0..43934a8d5af9317ceab8a857d2bf717f6cb353ac 100644 (file)
@@ -23,7 +23,7 @@ for {set j 0} {$j < 301} {incr j; incr i} {
   lappend points p$i
 }
 
-# Configurate XProgress 
+# Configure XProgress 
 XProgress +t 
 
 # create the surface 
index b30a964830c46885445a10340533a352becef665..72de53d863d0259eb875e9fc757fb1a6848464d4 100644 (file)
@@ -10,7 +10,7 @@ for {set i 0} {$i < $n} {incr i} {
   lappend l p$i
 }
 
-# Configurate XProgress 
+# Configure XProgress 
 XProgress +t 
 
 # create the surface 
index 7cda1cab218898a2afbf2dcb7fd5f3866e5a798b..ae262a9b3b777eb9fb1b5868fc38ec6221e3a886 100644 (file)
@@ -27,15 +27,15 @@ vmanipulator m -stopTransform
 vmoveto {*}$mouse_drag
 
 if { [vreadpixel {*}$mouse_drag -rgb -name] != "CYAN" } { puts "Error: wrong manipulator position" }
-if { [vreadpixel 115 170 -rgb -name] != "DARKGOLDENROD" } { puts "Error: wrong b1 tranformation" }
-if { [vreadpixel 400 10 -rgb -name] != "DARKGOLDENROD" } { puts "Error: wrong b2 tranformation" }
+if { [vreadpixel 115 170 -rgb -name] != "DARKGOLDENROD" } { puts "Error: wrong b1 transformation" }
+if { [vreadpixel 400 10 -rgb -name] != "DARKGOLDENROD" } { puts "Error: wrong b2 transformation" }
 
 vdump ${imagedir}/${casename}_1.png
 
 vmoveto 0 0
 vzoom 0.2
 
-if { [vreadpixel 210 170 -rgb -name] != "DARKGOLDENROD" } { puts "Error: wrong b1 tranformation" }
-if { [vreadpixel 310 120 -rgb -name] != "DARKGOLDENROD" } { puts "Error: wrong b2 tranformation" }
+if { [vreadpixel 210 170 -rgb -name] != "DARKGOLDENROD" } { puts "Error: wrong b1 transformation" }
+if { [vreadpixel 310 120 -rgb -name] != "DARKGOLDENROD" } { puts "Error: wrong b2 transformation" }
 
 vdump ${imagedir}/${casename}_2.png