]> OCCT Git - occt.git/commitdiff
0033762: Documentation - Fix various typos found in codebase IR-2024-07-12
authorluzpaz <luzpaz@users.noreply.github.com>
Sun, 14 Jul 2024 14:19:44 +0000 (10:19 -0400)
committerGitHub <noreply@github.com>
Sun, 14 Jul 2024 14:19:44 +0000 (15:19 +0100)
58 files changed:
adm/templates/env.bat.in
adm/templates/env.sh
dox/specification/boolean_operations/boolean_operations.md
dox/specification/pbr_math.md
dox/user_guides/de_wrapper/de_wrapper.md
dox/user_guides/draw_test_harness/draw_test_harness.md
dox/user_guides/iges/iges.md
dox/user_guides/modeling_algos/modeling_algos.md
dox/user_guides/modeling_data/modeling_data.md
samples/glfw/CMakeLists.txt
samples/ocafsamples/TDataStd_Sample.cxx
samples/ocafsamples/TPrsStd_Sample.cxx
samples/qt/AndroidQt/ReadMe.md
src/BOPTools/BOPTools_AlgoTools.cxx
src/BRepFeat/BRepFeat_RibSlot.cxx
src/BRepOffset/BRepOffset_MakeOffset.cxx
src/ChFi2d/ChFi2d_FilletAlgo.cxx
src/DrawResources/CheckCommands.tcl
src/DsgPrs/DsgPrs_AnglePresentation.cxx
src/DsgPrs/DsgPrs_AnglePresentation.hxx
src/DsgPrs/DsgPrs_EqualRadiusPresentation.cxx
src/IFSelect/IFSelect_GeneralModifier.hxx
src/IFSelect/IFSelect_IntParam.hxx
src/IFSelect/IFSelect_SignatureList.hxx
src/IGESGeom/IGESGeom_CopiousData.cxx
src/Image/Image_AlienPixMap.cxx
src/Image/Image_Diff.hxx
src/Interface/Interface_IntList.hxx
src/NCollection/NCollection_CellFilter.hxx
src/NCollection/NCollection_Mat4.hxx
src/QABugs/QABugs_20.cxx
src/ShapeFix/ShapeFix_ComposeShell.cxx
src/ShapeFix/ShapeFix_ComposeShell.hxx
src/ShapeFix/ShapeFix_Edge.cxx
src/ShapeFix/ShapeFix_Shell.hxx
src/ShapeFix/ShapeFix_Wire.cxx
src/ShapeUpgrade/ShapeUpgrade_ShapeConvertToBezier.hxx
src/ShapeUpgrade/ShapeUpgrade_ShapeDivide.hxx
src/StepData/StepData_ReadWriteModule.hxx
src/TCollection/TCollection.cxx
src/TDocStd/TDocStd_Document.hxx
src/TDocStd/TDocStd_XLinkTool.cxx
src/TFunction/TFunction_Logbook.cxx
src/Transfer/Transfer_ActorOfProcessForFinder.hxx
src/Transfer/Transfer_ActorOfProcessForTransient.hxx
src/Transfer/Transfer_TransientProcess.hxx
src/XmlObjMgt/XmlObjMgt.cxx
tests/bugs/fclasses/bug9848_1
tests/bugs/fclasses/bug9848_2
tests/bugs/modalg_5/bug24003
tests/bugs/modalg_6/bug26313
tests/bugs/step/bug233
tests/bugs/step/pro19854
tests/bugs/step/pro19895
tests/lowalgos/intss/bug23699
tests/lowalgos/intss/bug23732
tests/perf/de/bug33046
tests/perf/modalg/bug29093

index 24df954e68ac140a86d30f4ae6367da210241490..aa3bf6efc7c4b2f5cb72083ad6e3c2e91e3c8f49 100644 (file)
@@ -21,7 +21,7 @@ rem ----- Decode VCVER variable and define related ones -----
 rem
 rem VCFMT - "vc" followed by full version number of Visual Studio toolset
 rem         (same as VCVER without optional suffix "-uwp")
-rem VCLIB - name of folder contining binaries
+rem VCLIB - name of folder containing binaries
 rem         (same as VCVER except without third version in number)
 rem VCPROP - name of required Visual Studion Workload (starting with VS 2017)
 rem
index 4ab363e1539d7dd8cf89adc2abd0600118e5b6fe..57a103eac01adf75879d4e59fef0cbc7100887ac 100644 (file)
@@ -104,7 +104,7 @@ fi
 
 export CSF_OPT_CMPL=""
 
-# Optiona 3rd-parties should be enabled by HAVE macros
+# Optional 3rd-parties should be enabled by HAVE macros
 if [ "$HAVE_TBB"       == "true" ]; then export CSF_OPT_CMPL="${CSF_OPT_CMPL} -DHAVE_TBB"; fi
 if [ "$HAVE_OPENCL"    == "true" ]; then export CSF_OPT_CMPL="${CSF_OPT_CMPL} -DHAVE_OPENCL"; fi
 if [ "$HAVE_TK"        == "true" ]; then export CSF_OPT_CMPL="${CSF_OPT_CMPL} -DHAVE_TK"; fi
index 1d2fac6b72e0b6aaf16a908bccfcbb5f9841b0bb..f57c183e92afa64db6f6a3a7a1c92cdd2a2d0166 100644 (file)
@@ -3306,7 +3306,7 @@ The following example illustrates how to use Common operation:
   Standard_Real aFuzzyValue;
   BRepAlgoAPI_Common aBuilder;
   
-  // perpare the arguments
+  // prepare the arguments
   TopTools_ListOfShape& aLS=…;
   TopTools_ListOfShape& aLT=…;
   //
@@ -3373,7 +3373,7 @@ The following example illustrates how to use Fuse operation:
   Standard_Real aFuzzyValue;
   BRepAlgoAPI_Fuse aBuilder;
   
-  // perpare the arguments
+  // prepare the arguments
   TopTools_ListOfShape& aLS=…;
   TopTools_ListOfShape& aLT=…;
   //
@@ -3440,7 +3440,7 @@ The following example illustrates how to use Cut operation:
   Standard_Real aFuzzyValue;
   BRepAlgoAPI_Cut aBuilder;
   
-  // perpare the arguments
+  // prepare the arguments
   TopTools_ListOfShape& aLS=…;
   TopTools_ListOfShape& aLT=…;
   //
@@ -3508,7 +3508,7 @@ The following example illustrates how to use Section operation:
   Standard_Real aFuzzyValue;
   BRepAlgoAPI_Section aBuilder;
   
-  // perpare the arguments
+  // prepare the arguments
   TopTools_ListOfShape& aLS=…;
   TopTools_ListOfShape& aLT=…;
   //
index 8f68accd28db8bfddea0a810c222fbc8f6a162a8..52f68b26df42c8e9d2c114794de65e82c18dca13 100644 (file)
@@ -410,7 +410,7 @@ Current goal is to speed up Monte-Carlo integration of Cook-Torrance like integr
 
 Where \f$g(v, l)\f$ is just arbitrary function representing Fresnel's factor itself or its components.
 In order to increase convergence the samples with larger contribution (or in other words with larger function's values) have to appear more frequently than others proportionally to its contribution.
-So that less significant summand with less influence to result will be considered rarely and in opposite way parts brining noticeable changes to the sum will be taken often.
+So that less significant summand with less influence to result will be considered rarely and in opposite way parts bringing noticeable changes to the sum will be taken often.
 That is the main idea of **importance sampling technique**.
 \f$p(l)\f$ has to represent significance of sample in terms of integrated function via probability somehow.
 And it will be like that if PDF is already part of original function because in that case probability density directly affects to contribution forming.
index 8bbbb10a25497eb949ca3d4149030f3ca5fb53f6..13b0a348b70d2140b21d00db5d4da994f6db74f2 100644 (file)
@@ -212,7 +212,7 @@ pload XDE
 
 @subsubsection occt_de_wrapper_3_3_3 Realtime initialization. Code sample
 
-It is possible to change a paramater from code using a smart pointer.
+It is possible to change a parameter from code using a smart pointer.
 
 ~~~~{.cpp}
 // global variable
@@ -239,7 +239,7 @@ THE_STEP_NODE->InternalParameters.ReadProps = false;
 
 @subsection occt_de_wrapper_3_4 Priority of Vendors
 
-DE session is able to work with several vendors with the same supported CAD format. To choose the preffered vendor for each format, use a special priority list.
+DE session is able to work with several vendors with the same supported CAD format. To choose the preferred vendor for each format, use a special priority list.
 
 If the high priority vendor's provider is not supported, a transfer operation is needed (write/read), then the next vendor will be chosen.
 
@@ -251,7 +251,7 @@ If the high priority vendor's provider is not supported, a transfer operation is
   TColStd_ListOfAsciiString aVendors;
   aVendors.Appends("OCC"); // high priority
   aVendors.Appends("DTK");
-  // Flag to disable not choosen vendors, in this case configuration is possible
+  // Flag to disable not chosen vendors, in this case configuration is possible
   // otherwise, lower their priority and continue to check ability to transfer
   Standard_Boolean aToDisable = Standard_True;
   aSession->ChangePriority(aFormat, aVendors, aToDisable);
@@ -352,7 +352,7 @@ It is possible to read and write CAD files directly from a special provider.
 ~~~~{.cpp}
 // Creating or getting node
 Handle(STEPCAFControl_ConfigurationNode) aNode = new STEPCAFControl_ConfigurationNode();
-// Creationg an one-time provider
+// Creating an one-time provider
 Handle(DE_Provider) aProvider = aNode->BuildProvider();
 // Setting configuration with all parameters
 aProvider->SetNode(aNode);
index faf18d81f4e08d23381fe0d048f4fe43803d39eb..ea8316fdae79ef1dd76b47521673a8c073b9c681 100644 (file)
@@ -4878,7 +4878,7 @@ For a curve at a given parameter, and depending on the number of arguments, **cv
 
 **Example:**
 
-Let on a bezier curve at parameter 0 the point is the first pole; the first derivative is the vector to the second pole multiplied by the degree; the second derivative is the difference first to the second pole, second to the third pole multipied by *degree-1* : 
+Let on a bezier curve at parameter 0 the point is the first pole; the first derivative is the vector to the second pole multiplied by the degree; the second derivative is the difference first to the second pole, second to the third pole multiplied by *degree-1* : 
 
 ~~~~{.php}
 2dbeziercurve c 4 0 0 1 1 2 1 3 0 
index 1db3f4dec86f0a1dd8014f6afd4cb76cf3938a82..0f8028117ee336bcd8903dbe4732a8dd9af41b08 100644 (file)
@@ -193,7 +193,7 @@ Modify this parameter  with:
 if  (!Interface_Static::SetIVal ("read.stdsameparameter.mode",1))  
 .. error ..; 
 ~~~~
-Deafault value is 0 (Off).  
+Default value is 0 (Off).  
 
 <h4>read.surfacecurve.mode</h4>
 preference for the  computation of curves in case of 2D/3D inconsistency in an entity which has  both 2D and 3D representations.  
index 653025b2b5023fbc3e5279006c22a03f11c8c72b..450473d44a92c3382aa0ef2146dfe133d389c862 100644 (file)
@@ -2329,7 +2329,7 @@ else {
 
 @subsubsection occt_modalg_7_4 Pipe  Constructor
 
-*BRepOffsetAPI_MakePipe* class allows creating a pipe from a Spine,  which is a Wire and a Profile which is a Shape. This implementation is limited  to spines with smooth transitions, sharp transitions are precessed by  *BRepOffsetAPI_MakePipeShell*. To be more precise the continuity must be G1,  which means that the tangent must have the same direction, though not necessarily the same magnitude, at neighboring edges. 
+*BRepOffsetAPI_MakePipe* class allows creating a pipe from a Spine,  which is a Wire and a Profile which is a Shape. This implementation is limited  to spines with smooth transitions, sharp transitions are processed by  *BRepOffsetAPI_MakePipeShell*. To be more precise the continuity must be G1,  which means that the tangent must have the same direction, though not necessarily the same magnitude, at neighboring edges. 
 
 The angle between the spine and the profile is preserved throughout the pipe. 
 
index 9ab0afd1dba6378a4970301f93d2624bfaccffef..4099d24c56ff2ed6cc2e2d626e8fe26e28992aa4 100644 (file)
@@ -340,7 +340,7 @@ The <i>GeomConvert</i> package also provides the following:
   * global functions to construct BSpline surfaces created by this splitting algorithm, or by other types of BSpline surface segmentation,
   * an algorithm, which converts a BSpline surface into a series of adjacent Bezier surfaces,
   * an algorithm, which converts a grid of adjacent Bezier surfaces into a BSpline surface. 
-  * algorithms that converts NURBS, Bezier and other general parametrized curves and surface into anaytical curves and surfaces.
+  * algorithms that converts NURBS, Bezier and other general parametrized curves and surface into analytical curves and surfaces.
 
 @subsection occt_modat_1_4 Points on Curves
 
index c647b135190961af0a5d4c0b5f18e28ee5e7409e..f0328a9f610ed1e84c07220088f512d70e96060c 100644 (file)
@@ -27,7 +27,7 @@ find_package(OpenGL REQUIRED)
 # Open CASCADE Technology
 find_package (OpenCASCADE REQUIRED)
 if (NOT OpenCASCADE_FOUND)
-  message (FATAL_ERROR "coult not find OpenCASCADE, please set OpenCASCADE_DIR variable" )
+  message (FATAL_ERROR "could not find OpenCASCADE, please set OpenCASCADE_DIR variable" )
 else()
   message (STATUS "Using OpenCASCADE from \"${OpenCASCADE_INSTALL_PREFIX}\"" )
   message (STATUS "OpenCASCADE_INCLUDE_DIR=${OpenCASCADE_INCLUDE_DIR}")
index 714fd7046f684c297faaee98875d5ae68a284caf..f92f1037b8fcdba4a7534b1abf81a1de6de55839 100644 (file)
@@ -346,7 +346,7 @@ static void Sample()
 
   constraint->Set(TDataXtd_PARALLEL, NS1, NS2);
 
-  // Getting number of geometries which define a constarint
+  // Getting number of geometries which define a constraint
   
   Standard_Integer number = constraint->NbGeometries();
 
index d87ff7a519d325b548050f5b5daaa6c54b795e79..9cf16ec0785e54df1bbeee8e526ea853949e474e 100644 (file)
@@ -167,7 +167,7 @@ static void Sample()
   if( ShapeLabel.FindAttribute(TPrsStd_AISPresentation::GetID(), PRS) ) PRS->Erase();
   // The method Erase() marks presentation of attribute as erased in AIS_InteractiveContext; 
   // in order to make changes visible in a viewer's window viewer has to be updated  
-  TPrsStd_AISViewer::Update(ShapeLabel);  //Update viewer to erase presenation of the attribute in a viewer's window
+  TPrsStd_AISViewer::Update(ShapeLabel);  //Update viewer to erase presentation of the attribute in a viewer's window
                                           //Presentation of the attribute is erased from viewer but
                                           // stays in AIS_InteractiveContext
  
@@ -182,7 +182,7 @@ static void Sample()
     // Updating and displaying presentation of the attribute to be displayed 
 
     P->Display(Standard_True); 
-    TPrsStd_AISViewer::Update(ShapeLabel);  //Update presenation of the attribute in a viewer's window
+    TPrsStd_AISViewer::Update(ShapeLabel);  //Update presentation of the attribute in a viewer's window
 
     //Getting Standard_GUID of attribute with which TPrsStd_AISPresentation attribute is associated
 
index 732d5dcedab647e92a84746014fdb8444dd942d6..5257119863ed6f3a1ab9b5a5c8ec9e8aa59d1846 100644 (file)
@@ -41,7 +41,7 @@ Tools->Options->Android
 * In Android SDK location specify path to Android SDK
 * In Android NDK location specify path to Android NDK
 (During this location definition, warning is possible and OK:
- "Qt version for architecture mips is missing. To add the Qt version, select Options > Build & Run > Qt Versins.")
+ "Qt version for architecture mips is missing. To add the Qt version, select Options > Build & Run > Qt Versions.")
 * In Ant executable specify path to ant.bat file located in Apache Ant bin directory
 
 Make sure that "Android for armeabi-v7a" kit has been detected (present in the list).
index 78322a73c5380c3ab318d9a679777db4cb6b8517..bf640ed86ec44cb5888f8066a792c8fe32cc4305 100644 (file)
@@ -1924,6 +1924,7 @@ Standard_Boolean BOPTools_AlgoTools::IsBlockInOnFace
     return bFlag;
   }
   //
+
   // Treatment intemediate
   Standard_Real m1, aTolF, aTolE, aTol, aDist;
   m1=IntTools_Tools::IntermediatePoint(f1, l1);
index 94a8f0b5c4e3dd21f71db6072c65e75d4289dc8b..f1242fb882fa9739583658fa696dcdaac573358d 100644 (file)
@@ -540,7 +540,7 @@ Standard_Real BRepFeat_RibSlot::IntPar(const Handle(Geom_Curve)& C,
 
 //=======================================================================
 //function : EdgeExtention
-//purpose  : extention of a edge by tangence
+//purpose  : extension of a edge by tangence
 //=======================================================================
 
 void BRepFeat_RibSlot::EdgeExtention(TopoDS_Edge& e,
index da3e404dbd81eee1879863fc46322d007c4dbc9a..3602b39500fd396fa21d320c2a6b3f84e8e52fc8 100644 (file)
@@ -2986,7 +2986,7 @@ void BRepOffset_MakeOffset::MakeMissingWalls (const Message_ProgressRange& theRa
         // (one of reson is mixed connectivity of faces)
         // algoritm of cutting offset edge by intersection line 
         // can fail and offset edge cannot get vertices.
-        // Follwing workaround is only to avoid exeption if V3 and V4 are Null
+        // Follwing 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 8ef57b9b3f9aa97dddacf80da657ed018cc2c48e..4af213b0acfc38d7d581d273cdc2e5e2aa2d5358 100644 (file)
@@ -453,7 +453,7 @@ void ChFi2d_FilletAlgo::PerformNewton(FilletPoint* theLeft, FilletPoint* theRigh
     else
     {
       if (Abs(aB) > Abs(aDet * 1000000.)) 
-      {        // possible floating point operations accurancy errors
+      {        // possible floating point operations accuracy errors
         //std::cout<<"*";
         ProcessPoint(theLeft, theRight, theLeft->getParam() + aDX / 2.0); // linear division otherwise
       } 
index e39a130e23d73d2cdae350998daf412ee85a9e09..ad46265ed429f0a672d14ba530479fc0499817e4 100644 (file)
@@ -524,7 +524,7 @@ help checkprops {
     -deps DEPSILON: the epsilon defines relative precision to compare corresponding values
     -equal SHAPE: compare area\volume\length of input shapes. Puts error if its are not equal
     -notequal SHAPE: compare area\volume\length of input shapes. Puts error if its are equal
-    -skip: count shared shapes only once, skipping repeatitions
+    -skip: count shared shapes only once, skipping repetitions
   Options -l, -s and -v are independent and can be used in any order. Tolerance epsilon is the same for all options.
 }
 
index 1a8729bf6c4e7ecadfd132faa5d9c121d7522e64..073cd3bc3ae63a8e67cf1cfb01d69970ea3c6c24 100644 (file)
@@ -39,7 +39,7 @@
 
 #include <stdio.h>
 //------------------------------------------------------------------------------------------------------------------
-// Returns 1 if C is above of CMin; 0 if C is bitween CMin and CMax; -1 if C is Below CMax   
+// Returns 1 if C is above of CMin; 0 if C is between CMin and CMax; -1 if C is Below CMax   
 //-----------------------------------------------------------------------------------------------------------------
 static Standard_Integer AboveInBelowCone(const gp_Circ &CMax, const gp_Circ &CMin, const gp_Circ &C)
 {
index f24538b1a6ffe866f7f079cc6c1125cc65c75d60..8ec18f222c58fe7193ab2b2aede08b14c8cb6a27 100644 (file)
@@ -40,7 +40,7 @@ public:
   DEFINE_STANDARD_ALLOC
 
   
-  //! Draws the presenation of the full angle of a cone.
+  //! Draws the presentation of the full angle of a cone.
   //! VminCircle - a circle at V parameter = Vmin
   //! VmaxCircle - a circle at V parameter = Vmax
   //! aCircle - a circle at V parameter from projection of aPosition to axis of the cone
index 2d1e9825beafc0662709d8b7b06df98eef36a137..3bcab792931e273d5ed7e7d4fad5ba8c68db3b09 100644 (file)
@@ -55,7 +55,7 @@ void DsgPrs_EqualRadiusPresentation::Add( const Handle( Prs3d_Presentation )& aP
   DsgPrs::ComputeSymbol( aPresentation, LA, FirstCenter, FirstPoint, FirstDir.Reversed(), FirstDir, DsgPrs_AS_FIRSTPT_LASTAR );
   DsgPrs::ComputeSymbol( aPresentation, LA, SecondCenter, SecondPoint, SecondDir.Reversed(), SecondDir, DsgPrs_AS_FIRSTPT_LASTAR );
 
-//ota === beging ===
+//ota === begin ===
   gp_Pnt Middle( (FirstCenter.XYZ() + SecondCenter.XYZ()) *0.5 ), aTextPos;
   Standard_Real SmallDist;
   //Mark of constraint
index 0a53c8ba7336d9f0500c61b5858ebb111d43866b..4a86b8070836aeec270e7a74286ccea2e0b15f42 100644 (file)
@@ -65,7 +65,7 @@ class IFSelect_GeneralModifier : public Standard_Transient
 public:
 
   //! Returns True if this modifier may change the graph of
-  //! dependences (aknowledged at creation time)
+  //! dependences (acknowledged at creation time)
   Standard_EXPORT Standard_Boolean MayChangeGraph() const;
   
   //! Attaches to a Dispatch. If <disp> is Null, Resets it
index 0bd3d56c98ef0f452d11d6df5977249b331ce8d7..8320d606993b59d975358d311885cfeae2303de5 100644 (file)
@@ -40,7 +40,7 @@ DEFINE_STANDARD_HANDLE(IFSelect_IntParam, Standard_Transient)
 //! to get its Handle.
 //! For an Integer, an IntParam can designate (by its name) a
 //! Static : each time its value is required or set, the Static
-//! is aknowledged
+//! is acknowledged
 class IFSelect_IntParam : public Standard_Transient
 {
 
index 110e5e6cf24af84425fcd24e843f21b8033a1d87..72247a0d6c32907551fe5d140176e9161feb368d 100644 (file)
@@ -87,7 +87,7 @@ public:
   //! begin by <root>
   Standard_EXPORT Handle(TColStd_HSequenceOfHAsciiString) List (const Standard_CString root = "") const;
   
-  //! Returns True if the list of Entities is aknowledged, else
+  //! Returns True if the list of Entities is acknowledged, else
   //! the method Entities will always return a Null Handle
   Standard_EXPORT Standard_Boolean HasEntities() const;
   
index af1129fbd11213807e42f03a4bc531afa285fd42..951619296d9257d209a20f8aa652f44602b92b59 100644 (file)
@@ -37,7 +37,7 @@ IGESGeom_CopiousData::IGESGeom_CopiousData ()
    const Standard_Real aZPlane,
    const Handle(TColStd_HArray1OfReal)& allData)
 {
-  // PTV OCC386 crach application while reading So5771b.igs
+  // PTV OCC386 crash application while reading So5771b.igs
   if (allData.IsNull())
     throw Standard_NullObject("IGESGeom_CopiousData : Init with null data");
   
index f869e8fc16dc868ac2aec7db76292b503aaeeba2..3ee7570e5cbc77b8a682271364409f458c490ce6 100644 (file)
@@ -1098,7 +1098,7 @@ bool Image_AlienPixMap::Save (Standard_Byte* theBuffer,
   if (theBuffer != NULL)
   {
     // a memory buffer wrapped by FreeImage is read only (images can be loaded but not be saved)
-    // so we call FreeImage_OpenMemory() with default arguments and just memcpy in requsted buffer.
+    // so we call FreeImage_OpenMemory() with default arguments and just memcpy in requested buffer.
     FIMEMORY* aFiMem = FreeImage_OpenMemory();
     isSaved = (FreeImage_SaveToMemory (anImageFormat, anImageToDump, aFiMem) != FALSE);
     BYTE* aData = NULL;
index 6ce4b8f03bb2e43679443d83979a82744e6b040f..2645f64ad6a792dc060c5c193d449f41a89c6826 100644 (file)
@@ -37,7 +37,7 @@
 //! (about 90 degree between the normal and the direction to the user's eye).
 //! Deflection of the light for such a triangle depends on implementation of the video driver.
 //! In order to skip this difference the following algorithm is used:
-//!  a) "Different" pixels are groupped and checked on "one-pixel width line".
+//!  a) "Different" pixels are grouped and checked on "one-pixel width line".
 //!     indeed, the pixels may represent not a line, but any curve.
 //!     But the width of this curve should be not more than a pixel.
 //!     This group of pixels become a candidate to be ignored because of boundary effect.
index 271c0baf41f9a0b0990c52ba315cff59814383d3..6b686e2f587cc5d125180f77f58a1c5a5a5fbfc2 100644 (file)
@@ -74,7 +74,7 @@ public:
   //! Returns internal values, used for copying
   Standard_EXPORT void Internals (Standard_Integer& nbrefs, Handle(TColStd_HArray1OfInteger)& ents, Handle(TColStd_HArray1OfInteger)& refs) const;
   
-  //! Returns count of entities to be aknowledged
+  //! Returns count of entities to be acknowledged
   Standard_EXPORT Standard_Integer NbEntities() const;
   
   //! Changes the count of entities (ignored if decreased)
index 1663456b038134fcc8a6d0861ab3e74cbad2e023..2e8abbaf2330e806225758678bf453ba1e7e9791 100644 (file)
@@ -22,7 +22,7 @@
 #include <NCollection_Map.hxx>
 #include <NCollection_IncAllocator.hxx>
 
-//! Auxiliary enumeration serving as responce from method Inspect
+//! Auxiliary enumeration serving as response from method Inspect
 enum NCollection_CellFilter_Action 
 {
   CellFilter_Keep  = 0, //!< Target is needed and should be kept
@@ -136,7 +136,7 @@ public:
     Reset (theCellSize, theAlloc);
   }
 
-  //! Constructor when dimenstion count is known at compilation time.
+  //! Constructor when dimension count is known at compilation time.
   NCollection_CellFilter (const Standard_Real theCellSize = 0,
                           const Handle(NCollection_IncAllocator)& theAlloc = 0)
   : myCellSize(0, Inspector::Dimension - 1)
index 141a7de93d0242c02b72f65bf4cf9c3e4b153766..e885b647712d9848d7eb3e19603fd50f7bfb78c0 100755 (executable)
@@ -36,7 +36,7 @@ public:
   }
 
   //! Get number of columns.
-  //! @retur number of columns.
+  //! @return number of columns.
   static size_t Cols()
   {
     return 4;
index cd3769d07406c341265d4edffe830bbd2d098779..c76a27751feb20eeacd9ab83da7d26a6fe372a26 100644 (file)
@@ -4581,7 +4581,7 @@ void QABugs::Commands_20(Draw_Interpretor& theCommands) {
     __FILE__,
     QACheckBends, group);
   theCommands.Add("OCC26441",
-    "OCC26441 shape ref_shape [tol [all_diff 0/1]] \nif all_diff = 0, only icreasing tolerances is considered" ,
+    "OCC26441 shape ref_shape [tol [all_diff 0/1]] \nif all_diff = 0, only increasing tolerances is considered" ,
     __FILE__,
     OCC26441, group);
 
index 2e5e8265605f0d3ac2f94921de72930c481527f2..45bc2f6e9382c884f338f555c65629dc3b74c9d4 100644 (file)
@@ -923,7 +923,7 @@ ShapeFix_WireSegment ShapeFix_ComposeShell::SplitWire (ShapeFix_WireSegment &wir
       }
     }
 
-    //pdn Claculating parametric shift
+    //pdn Calculating parametric shift
     Standard_Boolean sp = (f3d == firstPar && l3d  == lastPar);
     Standard_Real span2d = lastPar - firstPar;
     //    Standard_Real ln2d  = lastPar-prevPar;
index a53d8da4c1acdf68fc0503a08f27700a6f03a0a1..ef22cb6104f6ac6171f51a266a079de034785461 100644 (file)
@@ -227,7 +227,7 @@ protected:
   //! wires. This is done by traversing all the segments in allowed
   //! directions, starting only from the REVERSED and FORWARD and
   //! taking EXTERNAL as necessary in fork points. Forks are detected
-  //! by common vertices. In fork point, most left way is seleccted
+  //! by common vertices. In fork point, most left way is selected
   //! among all possible ways.
   Standard_EXPORT void CollectWires (ShapeFix_SequenceOfWireSegment& wires, ShapeFix_SequenceOfWireSegment& seqw);
   
index cebe39c89fc177cb6db70399f29c40976140dbec..dcd5d29a18fd536a7fb1094faae284db2c1603c9 100644 (file)
@@ -515,7 +515,7 @@ Standard_Boolean ShapeFix_Edge::FixAddPCurve (const TopoDS_Edge& edge,
       //  Ici, on exploite les infos deja connues
       Standard_Real uf,ul,vf,vl;
       surf->Bounds (uf,ul,vf,vl);
-      //#4 rln 19/02/98 ProSTEP ug_exhaust-A.stp entity #284920 (thoroidal surface)
+      //#4 rln 19/02/98 ProSTEP ug_exhaust-A.stp entity #284920 (toroidal surface)
       //#13 rln 17/03/98 (updating fix #4) call to TranslatePCurve in the case
       //when a surface is either u- and vclosed or neither u- nor vclosed
       //#78 rln 12.03.99 S4135: checking spatial closure with prec
index 4942e07c35ed756c2a6411bfd10d46e41808cd0e..c6ec294aa455ff0c52aa966a70f839a55ff4ef79 100644 (file)
@@ -68,7 +68,7 @@ public:
   //! isAccountMultiConex - mode for account cases of multiconnexity.
   //! If this mode is equal to Standard_True, separate shells will be created
   //! in the cases of multiconnexity. If this mode is equal to Standard_False,
-  //! one shell will be created without account of multiconnexity.By defautt - Standard_True;
+  //! one shell will be created without account of multiconnexity.By default - Standard_True;
   //! NonManifold - mode for creation of non-manifold shells.
   //! If this mode is equal to Standard_True one non-manifold will be created from shell
   //! contains multishared edges. Else if this mode is equal to Standard_False only
index fd99e29005d00dad0df67a26edceb6c6f4202e8a..fbbfcdc90588b7a85dfd097a2561210572520603 100644 (file)
@@ -1973,7 +1973,7 @@ static Standard_Boolean RemoveLoop (TopoDS_Edge &E, const TopoDS_Face &face,
   Seq2d->Append((t1+t2)/2);
   Handle(TColStd_HSequenceOfReal) Seq3d = SFTP.Perform(Seq2d,Standard_False);
   
-  Standard_Real dist1 = pcurPnt.Distance(crv->Value(Seq3d->Value(1)));// correting Seq3d already project 
+  Standard_Real dist1 = pcurPnt.Distance(crv->Value(Seq3d->Value(1)));// correcting Seq3d already project 
   Standard_Real dist2 = pcurPnt.Distance(crv->Value(Seq3d->Value(2)));
   Standard_Real dist3 = pcurPnt.Distance(crv->Value(Seq3d->Value(3)));
   Standard_Real ftrim,ltrim;
@@ -2105,7 +2105,7 @@ static Standard_Boolean RemoveLoop (TopoDS_Edge &E, const TopoDS_Face &face,
   Seq2d->Append((t1+t2)/2);
   Handle (TColStd_HSequenceOfReal) Seq3d = SFTP.Perform(Seq2d,Standard_False);
   
-  Standard_Real dist1 = pcurPnt.Distance(crv->Value(Seq3d->Value(1)));// correting Seq3d already project 
+  Standard_Real dist1 = pcurPnt.Distance(crv->Value(Seq3d->Value(1)));// correcting Seq3d already project 
   Standard_Real dist2 = pcurPnt.Distance(crv->Value(Seq3d->Value(2)));
   Standard_Real dist3 = pcurPnt.Distance(crv->Value(Seq3d->Value(3)));
   Standard_Real ftrim,ltrim;
index d3d73bde448bcbd70b00421131cbae23c749bda5..c6cc9fc4e40ff001a25221b2d21c5da05b92b2c7 100644 (file)
@@ -123,7 +123,7 @@ protected:
   
   Standard_EXPORT virtual Message_Msg GetWireMsg() const Standard_OVERRIDE;
   
-  //! Returns a message decsribing modification of a shape.
+  //! Returns a message describing modification of a shape.
   Standard_EXPORT virtual Message_Msg GetEdgeMsg() const Standard_OVERRIDE;
 
 
index 464afac5ee5c7fa9c365cc1141cfed29691fa191..a0cea8fda95a6975fa95e63174f3036baaf021bf 100644 (file)
@@ -122,7 +122,7 @@ protected:
   
   Standard_EXPORT virtual Message_Msg GetWireMsg() const;
   
-  //! Returns a message decsribing modification of a shape.
+  //! Returns a message describing modification of a shape.
   Standard_EXPORT virtual Message_Msg GetEdgeMsg() const;
 
 
index 80505e1c0af72adfdbba716a77a9a773427aae40..0981faadff3d0f8bda7b13ff1199ab64028226fa 100644 (file)
@@ -66,7 +66,7 @@ public:
   
   //! Returns True if the Case Number corresponds to a Complex Type
   //! ("Plex"). Remember that all possible combinations must be
-  //! aknowledged to be processed
+  //! acknowledged to be processed
   //! Default is False for all cases. For a Protocol which defines
   //! possible Plexes, this method must be redefined.
   Standard_EXPORT virtual Standard_Boolean IsComplex (const Standard_Integer CN) const;
index 4fb2733d8b391ff4c0c4d85747b449af63809335..e41ec3565fc16931c33ed7f14c12b4fe2b0b3fdc 100644 (file)
@@ -21,7 +21,7 @@
 // The array of prime numbers used as consecutive steps for
 // size of array of buckets in the map.
 // The prime numbers are used for array size with the hope that this will 
-// lead to less probablility of having the same hash codes for
+// lead to less probability of having the same hash codes for
 // different map items (note that all hash codes are modulo that size).
 // The value of each next step is chosen to be ~2 times greater than previous.
 // Though this could be thought as too much, actually the amount of 
index 3e025c7ebf049646f5abeb5bc687c0ed043b2dc0..057ee681f5d75cbb41c9e0973ffbee07a854d9e4 100644 (file)
@@ -98,7 +98,7 @@ public:
   //! Returns True if the main label has no attributes
   Standard_EXPORT Standard_Boolean IsEmpty() const;
   
-  //! Returns False if the  document has been modified
+  //! Returns False if the document has been modified
   //! but not recomputed.
   Standard_EXPORT Standard_Boolean IsValid() const;
   
@@ -198,7 +198,7 @@ public:
   Standard_EXPORT void UpdateReferences (const TCollection_AsciiString& aDocEntry);
   
   //! Recompute if the document was  not valid and propagate
-  //! the reccorded modification.
+  //! the recorded modification.
   Standard_EXPORT void Recompute();
   
   //! This method Update   will be called
index cb51806e608c5d4ecc9d9a5c734d3a389c6105cf..f20f2b842f22d871c462e8a0edadc235fa9ac770 100644 (file)
@@ -57,7 +57,7 @@ void TDocStd_XLinkTool::Copy (const TDF_Label& target,
   }
 
 
-  // Remove TreeNode, then resotre, if present
+  // Remove TreeNode, then restore, if present
   Handle(TDataStd_TreeNode) aFather, aPrev, aNext;
   Handle(TDataStd_TreeNode) anOldFather, anOldPrev, anOldNext;
   Handle(TDataStd_TreeNode) aNode, anOldNode;
index 3808968cb2050f504dc07e07a609e238f77133b0..09ec542f22cc0bb46bd22a6e9b9724aab911de3d 100644 (file)
@@ -84,7 +84,7 @@ void TFunction_Logbook::Clear()
 
 //=======================================================================
 //function : IsEmpty
-//purpose  : Returns Standard_True if the nothing is reccorded in the logbook
+//purpose  : Returns Standard_True if the nothing is recorded in the logbook
 //=======================================================================
 
 Standard_Boolean TFunction_Logbook::IsEmpty () const
index 93ef56a694dbc591cc5b8f8527cd96b9ed8e6ab6..07946bf260528339ee15a392b40f56499eceb49f 100644 (file)
@@ -44,7 +44,7 @@ public:
   
   Standard_EXPORT Transfer_ActorOfProcessForFinder();
   
-  //! Prerequesite for Transfer : the method Transfer is
+  //! Prerequisite for Transfer : the method Transfer is
   //! called on a starting object only if Recognize has
   //! returned True on it
   //! This allows to define a list of Actors, each one
index 5693266fb8874a5b83fa5a75fc25d43bc9764b8c..7633a9298782892da619d3b3f2244d59b0062fdc 100644 (file)
@@ -43,7 +43,7 @@ public:
   
   Standard_EXPORT Transfer_ActorOfProcessForTransient();
   
-  //! Prerequesite for Transfer : the method Transfer is
+  //! Prerequisite for Transfer : the method Transfer is
   //! called on a starting object only if Recognize has
   //! returned True on it
   //! This allows to define a list of Actors, each one
index c39988b64ebac3b33769544461dfc4fb3426077b..788752925c0330cd61adf45bbc29beb9d1a386cc 100644 (file)
@@ -57,7 +57,7 @@ public:
   //! Returns the Model used for StartTrace
   Standard_EXPORT Handle(Interface_InterfaceModel) Model() const;
   
-  //! Sets a Graph : superseedes SetModel if already done
+  //! Sets a Graph : supersedes SetModel if already done
   Standard_EXPORT void SetGraph (const Handle(Interface_HGraph)& HG);
   
   Standard_EXPORT Standard_Boolean HasGraph() const;
@@ -89,7 +89,7 @@ public:
   
   //! Returns the list of sharings entities, AT ANY LEVEL, which are
   //! kind of a given type. Calls TypedSharings from Graph
-  //! Returns an empty list if the Graph has not been aknowledged
+  //! Returns an empty list if the Graph has not been acknowledged
   Standard_EXPORT Interface_EntityIterator TypedSharings (const Handle(Standard_Transient)& start, const Handle(Standard_Type)& type) const;
   
   //! Tells if an entity is well loaded from file (even if its data
index 49b8f18072ebe534c832ff2df187117262a7afe0..93906d75892c0a661b6d0ea27afc3ec7899b2153 100644 (file)
@@ -167,7 +167,7 @@ Standard_Boolean XmlObjMgt::GetTagEntryString
   if (strncmp (aSource, aRefPrefix, aPrefixSize))
     return Standard_False;
 
-  //    Beging aTagEntry string
+  //    Begin aTagEntry string
   char * aTagEntry =
     (char *) Standard::Allocate (strlen(aSource)/2);  // quite enough to hold it
   char * aTagEntryPtr = aTagEntry + 1;
index 182dc9c2d71ed92f88eb057ff1212f33eca9fb9f..d092a45fa9661e920b317008853c3b5e20a8ba87 100755 (executable)
@@ -3,7 +3,7 @@ puts "OCC9848"
 puts "============"
 puts ""
 #######################################################################
-# Specififying invalid name of unit produces exception.(for example tonne instead ton)
+# Specifying invalid name of unit produces exception.(for example tonne instead ton)
 #######################################################################
 
 set BugNumber OCC9848
index 1e43ea0a3160f467dce1659b63c598f36971e5cc..febb5563fa36034cd49377bb772497527bd93e4d 100755 (executable)
@@ -3,7 +3,7 @@ puts "OCC9848"
 puts "============"
 puts ""
 #######################################################################
-# Specififying invalid name of unit produces exception.(for example tonne instead ton)
+# Specifying invalid name of unit produces exception.(for example tonne instead ton)
 #######################################################################
 
 set BugNumber OCC9848
index 824ee6eeffea1c2f313aa624bf692edde182da88..a5cecf0a5fd1417bd28027c757a2f7883b28741a 100644 (file)
@@ -3,7 +3,7 @@ puts "OCC24003"
 puts "================"
 puts ""
 #######################################################################
-# Exception reaised during intersection between two faces
+# Exception raised during intersection between two faces
 #######################################################################
 
 restore [locate_data_file bug24003_fz33.brep] b1
index 281a99a076619b6233d1e09436a047c5e28bb4a5..9b5f648c2fb97650ed55afdf10d529703a1369d8 100755 (executable)
@@ -3,7 +3,7 @@ puts "OCC26313"
 puts "============"
 puts ""
 #######################################################################
-# Method BRepBuilderAPI_GTransform::ModifiedShape(...) thows exception
+# Method BRepBuilderAPI_GTransform::ModifiedShape(...) throws exception
 #######################################################################
 
 pload QAcommands
index 32e2ecb3b58abb3b79822cd67e235ede3c391bb7..adbc6283eac9d23f02254efeaed4c76071e06afe 100755 (executable)
@@ -1,7 +1,7 @@
 puts "========"
 puts "OCC233"
 puts "========"
-puts "Problem during translation in dev in optimaze mode .Debug mode is OK)"
+puts "Problem during translation in dev in optimize mode .Debug mode is OK)"
 
 stepread [locate_data_file Sbottle.stp] a *
 
index 64ba67f9b9e7fbe7771f7752b8e53abbc4eddf41..25d32c6212206206b4d7a3ae18d53072314ba29d 100755 (executable)
@@ -1,7 +1,7 @@
 puts "=========="
 puts "PRO19854"
 puts "=========="
-puts "Incorrect translation of one entity from STEP file in optimaze mode of C30."
+puts "Incorrect translation of one entity from STEP file in optimize mode of C30."
 
 stepread [locate_data_file id_turbine-B.stp] a *
 
index 11a3a3ccbd36b56acad1c2393946326d876127ce..9e93263bf3728cc4b458a3caf8fc41ade75db405 100755 (executable)
@@ -3,7 +3,7 @@ puts "PRO19895"
 puts "=========="
 
 #############################################################################
-## There is wrong tolerance after reading of the model in optimaze mode (C30). Retrieve entity number 2139 from file
+## There is wrong tolerance after reading of the model in optimize mode (C30). Retrieve entity number 2139 from file
 ## "bm4_db_punch_a.stp" and will obtaine tolerance. It is very big and isolains extend from entity. 
 #############################################################################
 
index 873dff1e9e66f60a7f32b74e19f33cd222f26906..1e1e038c9b7b3ea126c6b259a1e2c4fb837d59d9 100644 (file)
@@ -3,7 +3,7 @@ puts "CR23699"
 puts "========="
 puts ""
 ###############################
-## Exception reaised during intersection between two surfaces
+## Exception raised during intersection between two surfaces
 ###############################
 
 restore [locate_data_file bug23699_Compound_sigsegv.brep] b1
index 91159d705250114eba06b6426be7e53784f4b9e4..c00e25ed28bd3d07f7c5386c761b56fa2578d98b 100644 (file)
@@ -3,7 +3,7 @@ puts "CR23722"
 puts "========="
 puts ""
 ###############################
-## Exception reaised during intersection between two surfaces
+## Exception raised during intersection between two surfaces
 ###############################
 
 restore [locate_data_file bug23732_fx1.brep] b1
index 5cc1831f31c78e4e26cce460d94dd2175490db41..efe4213bfb5081027d434cf14efbd39f468e5877 100644 (file)
@@ -10,7 +10,7 @@ chrono c reset; chrono c start;
 readstl m [locate_data_file model_stl_025.stl] -brep
 chrono c stop; chrono c show;
 
-# Check that model is converted succesfully.
+# Check that model is converted successfully.
 checknbshapes m -face 54337;
 
 # Visual check
index 43f155e0932559ac6417c8234f5dc430b6174af4..f3fdbc185e50ec2f7f1fd73a3a273bd9e809a50f 100644 (file)
@@ -1,5 +1,5 @@
 puts "========"
-puts "0029093: BOP PaveFiller hungs and constantly consumes memory"
+puts "0029093: BOP PaveFiller hangs and constantly consumes memory"
 puts "========"
 puts ""