]> OCCT Git - occt.git/commitdiff
0031939: Coding - correction of spelling errors in comments [part 12]
authorluz paz <luzpaz@users.noreply.github.com>
Tue, 4 May 2021 13:03:06 +0000 (16:03 +0300)
committerkgv <kgv@opencascade.com>
Mon, 10 May 2021 11:29:42 +0000 (14:29 +0300)
Fix various typos via codespell.

105 files changed:
src/GccAna/GccAna_CircLin2dBisec.cxx
src/SWDRAW/SWDRAW_ShapeAnalysis.cxx
src/StepToTopoDS/StepToTopoDS_TranslateFace.cxx
src/TCollection/TCollection.cxx
src/TCollection/TCollection_AsciiString.hxx
src/TCollection/TCollection_ExtendedString.hxx
src/TCollection/TCollection_HAsciiString.hxx
src/TCollection/TCollection_HExtendedString.hxx
src/TDF/TDF.hxx
src/TDF/TDF_Attribute.cxx
src/TDF/TDF_Attribute.hxx
src/TDF/TDF_AttributeDelta.hxx
src/TDF/TDF_AttributeIterator.hxx
src/TDF/TDF_ClosureMode.hxx
src/TDF/TDF_ClosureTool.cxx
src/TDF/TDF_ComparisonTool.hxx
src/TDF/TDF_Data.hxx
src/TDF/TDF_DataSet.hxx
src/TDF/TDF_Label.cxx
src/TDF/TDF_Label.hxx
src/TDF/TDF_LabelNode.cxx
src/TDF/TDF_RelocationTable.hxx
src/TDF/TDF_Tool.hxx
src/TDF/TDF_Transaction.hxx
src/TDataStd/TDataStd_Current.cxx
src/TDataStd/TDataStd_GenericEmpty.hxx
src/TDataStd/TDataStd_GenericExtString.hxx
src/TDataStd/TDataStd_NamedData.hxx
src/TDataStd/TDataStd_TreeNode.cxx
src/TDataStd/TDataStd_TreeNode.hxx
src/TDataXtd/TDataXtd_Geometry.hxx
src/TDocStd/TDocStd.hxx
src/TDocStd/TDocStd_Application.hxx
src/TDocStd/TDocStd_Document.cxx
src/TDocStd/TDocStd_Document.hxx
src/TDocStd/TDocStd_Document.lxx
src/TDocStd/TDocStd_Modified.hxx
src/TDocStd/TDocStd_MultiTransactionManager.cxx
src/TDocStd/TDocStd_MultiTransactionManager.hxx
src/TDocStd/TDocStd_Owner.hxx
src/TDocStd/TDocStd_XLink.hxx
src/TDocStd/TDocStd_XLinkRoot.hxx
src/TDocStd/TDocStd_XLinkTool.cxx
src/TDocStd/TDocStd_XLinkTool.hxx
src/TFunction/TFunction_Function.hxx
src/TFunction/TFunction_Iterator.cxx
src/TNaming/TNaming.hxx
src/TNaming/TNaming_Tool.hxx
src/TObj/TObj_Application.cxx
src/TObj/TObj_Application.hxx
src/TObj/TObj_Common.hxx
src/TObj/TObj_Object.cxx
src/TObj/TObj_Object.hxx
src/TObj/TObj_Partition.hxx
src/TObj/TObj_SequenceIterator.hxx
src/TObj/TObj_TModel.hxx
src/TObj/TObj_TReference.cxx
src/TObjDRAW/TObjDRAW.cxx
src/TPrsStd/TPrsStd_AxisDriver.hxx
src/TPrsStd/TPrsStd_ConstraintDriver.hxx
src/TPrsStd/TPrsStd_GeometryDriver.hxx
src/TPrsStd/TPrsStd_NamedShapeDriver.hxx
src/TPrsStd/TPrsStd_PlaneDriver.hxx
src/TPrsStd/TPrsStd_PointDriver.hxx
src/TopAbs/TopAbs.hxx
src/TopExp/TopExp_Explorer.hxx
src/TopOpeBRep/TopOpeBRep.cxx
src/TopOpeBRep/TopOpeBRep_DSFiller.hxx
src/TopOpeBRep/TopOpeBRep_EdgesFiller.cxx
src/TopOpeBRep/TopOpeBRep_FacesFiller.hxx
src/TopOpeBRep/TopOpeBRep_ProcessSectionEdges.cxx
src/TopOpeBRep/TopOpeBRep_ShapeIntersector.cxx
src/TopOpeBRep/TopOpeBRep_vpr.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_Builder.hxx
src/TopOpeBRepBuild/TopOpeBRepBuild_Builder1.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_Builder1_1.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_BuilderON.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_CorrectFace2d.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_End.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_GridSS.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_ShapeSet.cxx
src/TopOpeBRepBuild/TopOpeBRepBuild_WireEdgeSet.cxx
src/TopOpeBRepDS/TopOpeBRepDS_ProcessEdgeInterferences.cxx
src/TopOpeBRepTool/TopOpeBRepTool.hxx
src/TopOpeBRepTool/TopOpeBRepTool_CLASSI.cxx
src/TopOpeBRepTool/TopOpeBRepTool_FuseEdges.cxx
src/TopOpeBRepTool/TopOpeBRepTool_PURGE.cxx
src/TopOpeBRepTool/TopOpeBRepTool_PurgeInternalEdges.cxx
src/TopOpeBRepTool/TopOpeBRepTool_REGUS.cxx
src/TopOpeBRepTool/TopOpeBRepTool_REGUW.cxx
src/TopOpeBRepTool/TopOpeBRepTool_RegularizeW.cxx
src/TopOpeBRepTool/TopOpeBRepTool_ShapeClassifier.hxx
src/TopOpeBRepTool/TopOpeBRepTool_ShapeExplorer.hxx
src/TopOpeBRepTool/TopOpeBRepTool_ShapeTool.hxx
src/TopOpeBRepTool/TopOpeBRepTool_matter.cxx
src/TopTools/TopTools_ShapeSet.cxx
src/TopTrans/TopTrans_CurveTransition.cxx
src/TopTrans/TopTrans_CurveTransition.hxx
src/TopTrans/TopTrans_SurfaceTransition.cxx
src/TopoDSToStep/TopoDSToStep.hxx
src/TopoDSToStep/TopoDSToStep_WireframeBuilder.cxx
src/ViewerTest/ViewerTest_ObjectCommands.cxx
src/XCAFPrs/XCAFPrs.cxx
tests/bugs/modalg_6/bug28690_1
tests/bugs/modalg_6/bug28690_2

index 8660c36e4cfbbdaa173df4e35e1284218c60cfed..e7a0dea5c0facab572079d865f2c90521b70d30b 100644 (file)
@@ -15,7 +15,7 @@
 // commercial license or contractual agreement.
 
 //=========================================================================
-//   CREATION of the BISSECTICE between a CIRCLE and a STRAIGHT LINE.             +
+//   CREATION of the BISSECTICE between a CIRCLE and a STRAIGHT LINE.     +
 //=========================================================================
 
 #include <GccAna_CircLin2dBisec.hxx>
@@ -41,11 +41,11 @@ GccAna_CircLin2dBisec::
 {
 
 //=========================================================================
-//  Initialization of fields :                                           +
-//            - circle                                       +
-//            - line     (straight line.)                                     +
+//  Initialization of fields :                                            +
+//            - circle                                                    +
+//            - line     (straight line.)                                 +
 //            - NbrSol   (number of solution.)                            +
-//            - WellDone (Booleen showing success or failure of algorithm). +
+//            - WellDone (Boolean showing success or failure of algorithm)+
 //=========================================================================
 
    NbrSol = 2;
@@ -54,14 +54,14 @@ GccAna_CircLin2dBisec::
 
 //=========================================================================
 //  Processing.                                                           +
-//  Return coordinates of origins of the straight line (xloc,yloc) and the  +
-//  circle (xcencir, ycencir).                                         +
-//  Also return the coordinates of the direction of the straight line (xdir,   +
-//  ydir) and the radius of circle R1.                                       +
-//  Check at which side of the straight line is found the center of the circle    +
-//  to orientate the parabola (sign).                                    +
-//  Create axis of each parabola (axeparab1, axeparb2), then     +
-//  two parabolas (biscirlin1, biscirlin1).                          +
+//  Return coordinates of origins of the straight line (xloc,yloc) and    +
+//  the circle (xcencir, ycencir).                                        +
+//  Also return the coordinates of the direction of the straight line     +
+//  (xdir, ydir) and the radius of circle R1.                             +
+//  Check at which side of the straight line is found the center of the   +
+//  circle to orientate the parabola (sign).                              +
+//  Create axis of each parabola (axeparab1, axeparb2), then              +
+//  two parabolas (biscirlin1, biscirlin1).                               +
 //=========================================================================
 
 Handle(GccInt_Bisec) GccAna_CircLin2dBisec::
index eb267bbad30d5bb2f06d5b2c39c37c3cd9ea10d0..e47730d8a1beb223b169ad42c07b4693471398f9 100644 (file)
@@ -710,7 +710,7 @@ static Standard_Integer freebounds (Draw_Interpretor& di,
 
 //=======================================================================
 //function : PrintProps
-//purpose  : auxilary for FreeBoundsProps
+//purpose  : auxiliary for FreeBoundsProps
 //=======================================================================
 static void PrintProps(Standard_Integer i,
                       const Handle(ShapeAnalysis_FreeBoundData)& fbd,
@@ -762,7 +762,7 @@ static Standard_Integer FreeBoundsProps(Draw_Interpretor& di,
 
   Standard_Integer nb = analyzer.NbClosedFreeBounds();
   di<<"\n";
-  di<<" \tArea mm2\tLength mm\tRatio L/W\tWidth mm\tNb noth\n";
+  di<<" \tArea mm2\tLength mm\tRatio L/W\tWidth mm\tNb notch\n";
   B.MakeCompound(closed);
   if (nb) {
     di<<"Closed bounds properties\n";
index c3bdc3f844f848a9bac564ac08f392a7e28cdf66..bcb083956b0da2be197f66dbc2a4f4c8a824a930 100644 (file)
@@ -329,7 +329,7 @@ void StepToTopoDS_TranslateFace::Init
       // orientation of the surface => the underlying topological 
       // orientation are not implicitly reversed
       // this is the case in CAS.CADE => If the face_surface is reversed,
-      // the wire orientation has to be explictly reversed
+      // the wire orientation has to be explicitly reversed
       if (FaceBound->Orientation()) {
         // *DTH*         if (sameSense || GeomSurf->IsKind(STANDARD_TYPE(Geom_Plane)))
         W.Orientation(sameSense ? TopAbs_FORWARD : TopAbs_REVERSED);
index 667b058423180ba1c3c819f54cac1ce4f917b918..4fb2733d8b391ff4c0c4d85747b449af63809335 100644 (file)
@@ -18,7 +18,7 @@
 
 #include <Standard_OutOfRange.hxx>
 
-// The array of prime numbers used as consequtive steps for 
+// 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
index 7e9355d7918541116cd5021bae76b5b0f9d715ba..cbc0f46e22703123eb764c8d0b749f5489af26c5 100644 (file)
@@ -69,7 +69,7 @@ public:
   Standard_EXPORT TCollection_AsciiString(const Standard_Character aChar);
   
   //! Initializes an AsciiString with <length> space allocated.
-  //! and filled with <filler>. This is usefull for buffers.
+  //! and filled with <filler>. This is useful for buffers.
   Standard_EXPORT TCollection_AsciiString(const Standard_Integer length, const Standard_Character filler);
   
   //! Initializes an AsciiString with an integer value
@@ -105,7 +105,7 @@ public:
   Standard_EXPORT TCollection_AsciiString(const TCollection_AsciiString& astring, const TCollection_AsciiString& message);
   
   //! Creation by converting an extended string to an ascii string.
-  //! If replaceNonAscii is non-null charecter, it will be used
+  //! If replaceNonAscii is non-null character, it will be used
   //! in place of any non-ascii character found in the source string.
   //! Otherwise, creates UTF-8 unicode string.
   Standard_EXPORT TCollection_AsciiString(const TCollection_ExtendedString& astring, const Standard_Character replaceNonAscii = 0);
@@ -254,7 +254,7 @@ void operator += (const TCollection_AsciiString& other)
   //! Substitutes all the characters equal to aChar by NewChar
   //! in the AsciiString <me>.
   //! The substitution can be case sensitive.
-  //! If you don't use default case sensitive, no matter wether aChar
+  //! If you don't use default case sensitive, no matter whether aChar
   //! is uppercase or not.
   //! Example: me = "Histake" -> ChangeAll('H','M',Standard_True)
   //! gives me = "Mistake"
@@ -455,7 +455,7 @@ Standard_Boolean operator > (const TCollection_AsciiString& other) const
   //! This means no control character and no extended ASCII code.
   Standard_EXPORT Standard_Boolean IsAscii() const;
   
-  //! Removes all space characters in the begining of the string.
+  //! Removes all space characters in the beginning of the string.
   Standard_EXPORT void LeftAdjust();
   
   //! left justify
@@ -483,7 +483,7 @@ Standard_Boolean operator > (const TCollection_AsciiString& other) const
   //! of this string by its position.
     Standard_Integer Length() const;
   
-  //! Returns an index in the string <me> of the first occurence
+  //! Returns an index in the string <me> of the first occurrence
   //! of the string S in the string <me> from the starting index
   //! FromIndex to the ending index ToIndex
   //! returns zero if failure
@@ -497,7 +497,7 @@ Standard_Boolean operator > (const TCollection_AsciiString& other) const
   //! 4
   Standard_EXPORT Standard_Integer Location (const TCollection_AsciiString& other, const Standard_Integer FromIndex, const Standard_Integer ToIndex) const;
   
-  //! Returns the index of the nth occurence of the character C
+  //! Returns the index of the nth occurrence of the character C
   //! in the string <me> from the starting index FromIndex to the
   //! ending index ToIndex.
   //! Returns zero if failure.
@@ -542,7 +542,7 @@ friend Standard_EXPORT Standard_IStream& operator >> (Standard_IStream& astream,
   //! ex: "3.14159267" returns 3.14159267.
   Standard_EXPORT Standard_Real RealValue() const;
   
-  //! Remove all the occurences of the character C in the string.
+  //! Remove all the occurrences of the character C in the string.
   //! Example:
   //! before
   //! me = "HellLLo", C = 'L' , CaseSensitive = True
@@ -674,7 +674,7 @@ friend Standard_EXPORT Standard_IStream& operator >> (Standard_IStream& astream,
   Standard_EXPORT Standard_Integer UsefullLength() const;
   
   //! Returns character at position <where> in <me>.
-  //! If <where> is less than zero or greater than the lenght of <me>,
+  //! If <where> is less than zero or greater than the length of <me>,
   //! an exception is raised.
   //! Example:
   //! aString contains "Hello"
index 3e16ca49dcd18465b8b734c1ce4a5be6efb50aae..6fc7536acd2c3ad12b337800915f918c693d72e9 100644 (file)
@@ -140,8 +140,7 @@ TCollection_ExtendedString operator + (const TCollection_ExtendedString& other)
   //! Substitutes all the characters equal to aChar by NewChar
   //! in the ExtendedString <me>.
   //! The substitution can be case sensitive.
-  //! If you don't use default case sensitive, no matter wether aChar
-  //! is uppercase or not.
+  //! If you don't use default case sensitive, no matter whether aChar is uppercase or not.
   Standard_EXPORT void ChangeAll (const Standard_ExtCharacter aChar, const Standard_ExtCharacter NewChar);
   
   //! Removes all characters contained in <me>.
@@ -329,7 +328,7 @@ friend Standard_EXPORT Standard_OStream& operator << (Standard_OStream& astream,
   Standard_EXPORT void Trunc (const Standard_Integer ahowmany);
   
   //! Returns character at position <where> in <me>.
-  //! If <where> is less than zero or greater than the lenght of
+  //! If <where> is less than zero or greater than the length of
   //! <me>, an exception is raised.
   //! Example:
   //! aString contains "Hello"
@@ -372,8 +371,7 @@ friend Standard_EXPORT Standard_OStream& operator << (Standard_OStream& astream,
 
 private:
 
-  //! Returns true if the input CString was successfuly converted
-  //! to UTF8 coding
+  //! Returns true if the input CString was successfully converted to UTF8 coding.
   Standard_EXPORT Standard_Boolean ConvertToUnicode (const Standard_CString astring);
 
 private:
index dca81162097c4f2f4bb584740e95d9dce0d4f349..58cfc73c2a038d78767e949b7eb5d7545ce84ae2 100644 (file)
@@ -79,7 +79,7 @@ public:
   Standard_EXPORT TCollection_HAsciiString(const Handle(TCollection_HAsciiString)& aString);
   
   //! Initializes a HAsciiString with a HExtendedString.
-  //! If replaceNonAscii is non-null charecter, it will be used
+  //! If replaceNonAscii is non-null character, it will be used
   //! in place of any non-ascii character found in the source string.
   //! Otherwise, creates UTF-8 unicode string.
   Standard_EXPORT TCollection_HAsciiString(const Handle(TCollection_HExtendedString)& aString, const Standard_Character replaceNonAscii);
@@ -256,7 +256,7 @@ public:
   //! string <me>.
   Standard_EXPORT Standard_Boolean IsSameString (const Handle(TCollection_HAsciiString)& S, const Standard_Boolean CaseSensitive) const;
   
-  //! Removes all space characters in the begining of the string
+  //! Removes all space characters in the beginning of the string
   Standard_EXPORT void LeftAdjust();
   
   //! Left justify.
@@ -275,7 +275,7 @@ public:
   //! This is the same functionality as 'strlen' in C.
     Standard_Integer Length() const;
   
-  //! returns an index in the string <me> of the first occurence
+  //! returns an index in the string <me> of the first occurrence
   //! of the string S in the string <me> from the starting index
   //! FromIndex to the ending index ToIndex
   //! returns zero if failure
@@ -289,7 +289,7 @@ public:
   //! 4
   Standard_EXPORT Standard_Integer Location (const Handle(TCollection_HAsciiString)& other, const Standard_Integer FromIndex, const Standard_Integer ToIndex) const;
   
-  //! Returns the index of the nth occurence of the character C
+  //! Returns the index of the nth occurrence of the character C
   //! in the string <me> from the starting index FromIndex to the
   //! ending index ToIndex.
   //! Returns zero if failure.
@@ -305,7 +305,7 @@ public:
   //! Converts <me> to its lower-case equivalent.
   Standard_EXPORT void LowerCase();
   
-  //! Inserts the other string at the begining of the string <me>
+  //! Inserts the other string at the beginning of the string <me>
   //! Example:
   //! before
   //! me = "cde" , S = "ab"
@@ -322,7 +322,7 @@ public:
   //! "3.14159267" returns 3.14159267.
   Standard_EXPORT Standard_Real RealValue() const;
   
-  //! Remove all the occurences of the character C in the string
+  //! Remove all the occurrences of the character C in the string
   //! Example:
   //! before
   //! me = "HellLLo", C = 'L' , CaseSensitive = True
@@ -455,7 +455,7 @@ public:
   Standard_EXPORT Standard_Integer UsefullLength() const;
   
   //! Returns character at position <where> in <me>.
-  //! If <where> is less than zero or greater than the lenght of
+  //! If <where> is less than zero or greater than the length of
   //! <me>, an exception is raised.
   //! Example:
   //! aString contains "Hello"
index 1fd628523dc6a6f97231e0441dc12c91338507ff..80820d32d15ba808538386e581bd30790488153d 100644 (file)
@@ -69,7 +69,7 @@ public:
   Standard_EXPORT TCollection_HExtendedString(const Standard_ExtCharacter aChar);
   
   //! Initializes a HExtendedString with <length> space allocated.
-  //! and filled with <filler>.This is usefull for buffers.
+  //! and filled with <filler>. This is useful for buffers.
   Standard_EXPORT TCollection_HExtendedString(const Standard_Integer length, const Standard_ExtCharacter filler);
   
   //! Initializes a HExtendedString with a HExtendedString.
index 2d93dec614a7a83220f82b9989b00426af4c3a0b..45c525502a7fe4d9ef585c8f9a6025c82ba24e05 100644 (file)
@@ -56,7 +56,7 @@ class TDF_IDFilter;
 //! features and data structures.
 //!
 //! The feature structure is a tree used to bind
-//! semantic informations about each feature together.
+//! semantic information about each feature together.
 //!
 //! The only one concrete   attribute defined in  this
 //! package is the TagSource attribute.This attribute
index b82b740b30c4e6d2a3df50c6a9e6f78d2140f81a..fd5560e9ce7285beff6183a60d8a8699aa00583b 100644 (file)
@@ -304,8 +304,8 @@ void TDF_Attribute::RemoveBackup()
     throw Standard_DomainError("Impossible to remove a nonexistent backup.");
 #endif
   myBackup->BeforeRemoval();
-  myBackup->myLabelNode = NULL; // Absolutly necessary!
-  myBackup->myNext.Nullify();   // Absolutly necessary!
+  myBackup->myLabelNode = NULL; // Absolutely necessary!
+  myBackup->myNext.Nullify();   // Absolutely necessary!
   myBackup = myBackup->myBackup;
   if (!myBackup.IsNull()) myBackup->myNext = this; // New back reference.
 }
index 7c8574642429c26531c159213b5e4662cf354a3b..a6159829a6259455ba4314b94b3bec10a5e7eb8f 100644 (file)
@@ -70,7 +70,7 @@ DEFINE_STANDARD_HANDLE(TDF_Attribute, Standard_Transient)
 //!
 //! An attribute can be identified by its ID. Every
 //! attributes used with the same meaning (for
-//! exemple: Integer, String, Topology...) have the
+//! example: Integer, String, Topology...) have the
 //! same worldwide unique ID.
 //!
 //! Addition:
@@ -121,7 +121,7 @@ DEFINE_STANDARD_HANDLE(TDF_Attribute, Standard_Transient)
 //! algorithms. The goal of "Paste" is to transfer an
 //! attribute new contents into another attribute. The
 //! goal of "NewEmpty" is to create an attribute
-//! whithout contents, to be further filled with the
+//! without contents, to be further filled with the
 //! new contents of another one. These 2 methods must
 //! be implemented by end use inheriting classes.
 //!
@@ -206,7 +206,7 @@ public:
   Standard_EXPORT void AddAttribute (const Handle(TDF_Attribute)& other) const;
   
   //! Forgets  the Attribute of  GUID <aguid> associated
-  //! to the label of <me>. Be  carefull that if <me> is
+  //! to the label of <me>. Be  careful that if <me> is
   //! the attribute of <guid>, <me> will have a null label
   //! after this call.  If  the attribute doesn't  exist
   //! returns False. Otherwise returns True.
@@ -216,7 +216,7 @@ public:
   //! of <me>.    Does   it   on  the  sub-labels   if
   //! <clearChildren> is set  to true.  Of  course, this
   //! method  is  compatible with Transaction  &  Delta
-  //! mecanisms. Be carefull  that  if <me> will have a
+  //! mechanisms. Be careful  that  if <me> will have a
   //! null label after this call
   Standard_EXPORT void ForgetAllAttributes (const Standard_Boolean clearChildren = Standard_True) const;
   
index f07f1fd3f3bcb64a2063019cb507e473e92e310b..35460289b40e7d4576650129d2aeff390bf4524e 100644 (file)
@@ -30,7 +30,7 @@ class Standard_GUID;
 class TDF_AttributeDelta;
 DEFINE_STANDARD_HANDLE(TDF_AttributeDelta, Standard_Transient)
 
-//! This class discribes the services we need to
+//! This class describes the services we need to
 //! implement Delta and Undo/Redo services.
 //!
 //! AttributeDeltas are applied in an unpredictable
index dbc6103fd2f1331c30e4faaba3d106bae5ab16d1..05e588f67ad0883792dabece3bad7a934ed4b254 100644 (file)
@@ -30,8 +30,8 @@
 // up-to-date (current) valid attributes of a label.
 //
 // This class should not be used for standard attributes workflow.
-// Application allways knows what to search at particular label.
-// So, use IsAttribute and FindAttibute methods of
+// Application always knows what to search at particular label.
+// So, use IsAttribute and FindAttribute methods of
 // TDF_Label to check and get attributes in usual way.
 // This class may be used for processing of content of labels
 // in generic way, like copy-tool, specific save/restore algorithms,
index dda00408e13a8a63b67b79293bc73286bba87f35..9693608a8f7673e8154795edca7c4e0739b86992 100644 (file)
@@ -32,7 +32,7 @@ public:
   DEFINE_STANDARD_ALLOC
 
   
-  //! Creates an objet with all modes set to <aMode>.
+  //! Creates an object with all modes set to <aMode>.
   Standard_EXPORT TDF_ClosureMode(const Standard_Boolean aMode = Standard_True);
   
   //! Sets the mode "Descendants" to <aStatus>.
index b40402451da5deadb4b9d1e5c67d5e53b13ec960..40a7624b2646af737fbe940ac87c4db45f9947c9 100644 (file)
@@ -35,7 +35,7 @@
 
 //=======================================================================
 //function : Closure
-//purpose  : Builds the transitive closure whithout attribute filter.
+//purpose  : Builds the transitive closure without attribute filter.
 //=======================================================================
 
 void TDF_ClosureTool::Closure
index d54982fa8f8e4f5430a9f4941c963e0a7ee2665a..2d2a81057a80068e6330b48fef8c42f4e34ddb02 100644 (file)
@@ -32,19 +32,15 @@ class TDF_Label;
 //! information. The use of this tool can works after
 //! a copy, acted by a CopyTool.
 //!
-//! * Compare(...) compares two DataSet and returns
-//! the result.
+//! * Compare(...) compares two DataSet and returns the result.
 //!
 //! * SourceUnbound(...) builds the difference between
-//! a relocation dictionnary and a source set of
-//! information.
+//! a relocation dictionary and a source set of information.
 //!
 //! * TargetUnbound(...) does the same between a
-//! relocation dictionnary and a target set of
-//! information.
+//! relocation dictionary and a target set of information.
 //!
-//! * Cut(aDataSet, anLabel) removes a set of
-//! attributes.
+//! * Cut(aDataSet, anLabel) removes a set of attributes.
 //!
 //! * IsSelfContained(...) returns true if all the
 //! labels of the attributes of the given DataSet are
index 73a2341d3b6b4c9eaa9609bb12aa96cf30302807..edacaac7bc7f6c264988d32dfe92b9841ab2d3e6 100644 (file)
@@ -37,9 +37,8 @@ class TDF_Label;
 class TDF_Data;
 DEFINE_STANDARD_HANDLE(TDF_Data, Standard_Transient)
 
-//! This class is used to manipulate a complete
-//! independant, self sufficient data structure and
-//! its services:
+//! This class is used to manipulate a complete independent,
+//! self sufficient data structure and its services:
 //!
 //! Access to the root label;
 //!
@@ -48,8 +47,7 @@ DEFINE_STANDARD_HANDLE(TDF_Data, Standard_Transient)
 //! Generation and use of Delta, depending on the time.
 //! This class uses a special allocator
 //! (see LabelNodeAllocator() method)
-//! for more efficient allocation of
-//! objects in memory.
+//! for more efficient allocation of objects in memory.
 class TDF_Data : public Standard_Transient
 {
 
@@ -71,10 +69,9 @@ public:
   //! Returns true if <aDelta> is applicable HERE and NOW.
   Standard_EXPORT Standard_Boolean IsApplicable (const Handle(TDF_Delta)& aDelta) const;
   
-  //! Apply <aDelta> to undo a set of attribute
-  //! modifications.
+  //! Apply <aDelta> to undo a set of attribute modifications.
   //!
-  //! Optionnal <withDelta> set to True indiquates a
+  //! Optional <withDelta> set to True indicates a
   //! Delta Set must be generated. (See above)
   Standard_EXPORT Handle(TDF_Delta) Undo (const Handle(TDF_Delta)& aDelta, const Standard_Boolean withDelta = Standard_False);
   
@@ -162,7 +159,7 @@ private:
   //!
   //! Raises if there is no current transaction.
   //!
-  //! Optionnal <withDelta> set to True indiquates a
+  //! Optional <withDelta> set to True indicates a
   //! Delta must be generated.
   Standard_EXPORT Handle(TDF_Delta) CommitTransaction (const Standard_Boolean withDelta = Standard_False);
   
index 8ee6697c779c970fc68e201540e4f74a90c2e1ff..f05c85ed27489326492ef0f0f23a358061bf7a00 100644 (file)
@@ -32,8 +32,7 @@ class TDF_Attribute;
 class TDF_DataSet;
 DEFINE_STANDARD_HANDLE(TDF_DataSet, Standard_Transient)
 
-//! This class is a set of TDF informations like
-//! labels and attributes.
+//! This class is a set of TDF information like labels and attributes.
 class TDF_DataSet : public Standard_Transient
 {
 
index 9fac8c344ff0c67dd017467e57f630dcf1ed7b81..b610bbb5201dea54c113a07e85e81462c079b72e 100644 (file)
@@ -620,7 +620,7 @@ void TDF_Label::ForgetFromNode (const TDF_LabelNodePtr& fromNode,
       // The attribute has been modified in the current transaction.
       // (It has at least one backup.) We don't restore the previous
       // version before forgetting. It may generated a strange behaviour
-      // in case of forgetting, commiting, aborting...
+      // in case of forgetting, committing, aborting...
       if (fromNode->Data()->NotUndoMode()) anAttribute->BeforeForget();
       anAttribute->Forget(fromNode->Data()->Transaction());
     }
index e4a5be36c3f1b5c8ca42a964ce332999f319cbd2..b048e372c55d3a7b309950ec4efd78994f4db5c4 100644 (file)
@@ -133,7 +133,7 @@ public:
   //! Forgets all the attributes. Does it on also on the
   //! sub-labels if <clearChildren> is set to true. Of
   //! course, this method is compatible with Transaction
-  //! & Delta mecanisms.
+  //! & Delta mechanisms.
   Standard_EXPORT void ForgetAllAttributes (const Standard_Boolean clearChildren = Standard_True) const;
   
   //! Undo Forget action, setting its forgotten status
index 528510a3632aba391f225f8f885c337ea55d3d7f..55ebd2e8db784df8319b5e0c7ff0adfa097968a7 100644 (file)
@@ -128,7 +128,7 @@ void TDF_LabelNode::RemoveAttribute
 (const Handle(TDF_Attribute)& afterAtt,
  const Handle(TDF_Attribute)& oldAtt)
 {
-  oldAtt->myFlags = 0; // Unvalid.
+  oldAtt->myFlags = 0; // Invalid.
   oldAtt->myLabelNode  = NULL;
   if (afterAtt.IsNull()) { // Removes from beginning.
     myFirstAttribute = oldAtt->myNext;
index 2c14f295540354ae017a929db302b21166fc97fd..bbc112e2a9d91fe796347810b40e5d3dd9cfd91d 100644 (file)
@@ -35,7 +35,7 @@ class Standard_Transient;
 class TDF_RelocationTable;
 DEFINE_STANDARD_HANDLE(TDF_RelocationTable, Standard_Transient)
 
-//! This is a relocation dictionnary between source
+//! This is a relocation dictionary between source
 //! and target labels, attributes or any
 //! transient(useful for copy or paste actions).
 //! Note that one target value may be the
@@ -125,7 +125,7 @@ public:
   //! explanation about the method behavior)
   Standard_EXPORT Standard_Boolean HasTransientRelocation (const Handle(Standard_Transient)& aSourceTransient, Handle(Standard_Transient)& aTargetTransient) const;
   
-  //! Clears the relocation dictionnary, but lets the
+  //! Clears the relocation dictionary, but lets the
   //! self relocation flag to its current value.
   Standard_EXPORT void Clear();
   
index f78245b4db3fa0a16d77d6052542d130d7a74356..ca74adbace3d9dac90cc53edeacf909f43a9703b 100644 (file)
@@ -85,7 +85,7 @@ public:
   Standard_EXPORT static void OutReferences (const TDF_Label& aLabel, TDF_AttributeMap& atts);
   
   //! Returns in <atts> the referenced attributes and kept by <aFilterForReferences>.
-  //! It considers only the referers kept by <aFilterForReferers>.
+  //! It considers only the referrers kept by <aFilterForReferers>.
   //! Caution: <atts> is not cleared before use!
   Standard_EXPORT static void OutReferences (const TDF_Label& aLabel, const TDF_IDFilter& aFilterForReferers, const TDF_IDFilter& aFilterForReferences, TDF_AttributeMap& atts);
   
@@ -93,7 +93,7 @@ public:
   //! <aLabel> but located as descendant as <toRoot>
   //! instead of <fromRoot>.
   //!
-  //! Exemple :
+  //! Example :
   //!
   //! aLabel = 0:3:24:7:2:7
   //! fromRoot = 0:3:24
@@ -149,10 +149,10 @@ public:
   //! attributes content.
   Standard_EXPORT static void ExtendedDeepDump (Standard_OStream& anOS, const Handle(TDF_Data)& aDF, const TDF_IDFilter& aFilter);
   
-  //! Dumps <aLabel>, its chilren and their attributes.
+  //! Dumps <aLabel>, its children and their attributes.
   Standard_EXPORT static void DeepDump (Standard_OStream& anOS, const TDF_Label& aLabel);
   
-  //! Dumps <aLabel>, its chilren and their attributes,
+  //! Dumps <aLabel>, its children and their attributes,
   //! if their IDs are kept by <aFilter>. Dumps also the
   //! attributes content.
   Standard_EXPORT static void ExtendedDeepDump (Standard_OStream& anOS, const TDF_Label& aLabel, const TDF_IDFilter& aFilter);
index dca67e8556db83f866f0d2ffdc0b8bc00e1bfa70..6e01ef8a14c95dec61b218695da37758cb5486b8 100644 (file)
@@ -33,7 +33,7 @@ class TCollection_AsciiString;
 //! This class offers services to open, commit or
 //! abort a transaction in a more secure way than
 //! using Data from TDF. If you forget to close a
-//! transaction, it will be automaticaly aborted at
+//! transaction, it will be automatically aborted at
 //! the destruction of this object, at the closure of
 //! its scope.
 //!
index 6c12c3c0fa31f560856500689a22ce46f2bccea4..052f5b1aaa796697c9547ceb43566c64322404f2 100644 (file)
@@ -64,7 +64,7 @@ TDF_Label TDataStd_Current::Get (const TDF_Label& access)
 //  TDF_Label current;
   Handle(TDataStd_Current) A;
   if (!access.Data()->Root().FindAttribute (TDataStd_Current::GetID(), A)) {
-    throw Standard_DomainError("TDataStd_Current::Get : not setted");
+    throw Standard_DomainError("TDataStd_Current::Get : not set");
   }  
   return A->GetLabel();
 }
index 86c91d1b9f99904004d15f1e1acce2fc98e6d1b5..412eed8d578ee01a23427bad6ed0b279ae407999 100644 (file)
@@ -27,7 +27,7 @@ class TDF_RelocationTable;
 class TDataStd_GenericEmpty;
 DEFINE_STANDARD_HANDLE(TDataStd_GenericEmpty, TDF_Attribute)
 
-//! An ancestor attibute for all attributes which have no fields.
+//! An ancestor attribute for all attributes which have no fields.
 //! If an attribute inherits this one it should not have drivers for persistence.
 class TDataStd_GenericEmpty : public TDF_Attribute
 {
index 0b94776ff2e13bd9b03940a954b4757ddaa9a0ba..ed0eb1c5294a26fb42b0f94cd4d17a3a1e4a63dd 100644 (file)
@@ -25,7 +25,7 @@ class TDF_RelocationTable;
 class TDataStd_GenericExtString;
 DEFINE_STANDARD_HANDLE(TDataStd_GenericExtString, TDF_Attribute)
 
-//! An ancestor attibute for all attributes which have TCollection_ExtendedString field.
+//! An ancestor attribute for all attributes which have TCollection_ExtendedString field.
 //! If an attribute inherits this one it should not have drivers for persistence.
 //! Also this attribute provides functionality to have on the same label same attributes with different IDs.
 class TDataStd_GenericExtString : public TDF_Attribute
index 5b28f62698bcc481a6818a9bb77ebad7c5796e97..1072256a5764bde19b5d328c3d020476a39f0038 100644 (file)
@@ -44,7 +44,7 @@ public:
 
   //! Returns the ID of the named data attribute.
   Standard_EXPORT static const Standard_GUID& GetID();
-  
+
   //! Finds or creates a named data attribute.
   Standard_EXPORT static Handle(TDataStd_NamedData) Set (const TDF_Label& label);
 
@@ -52,26 +52,26 @@ public:
 
   //! Empty constructor.
   Standard_EXPORT TDataStd_NamedData();
-  
+
   //! Returns true if at least one named integer value is kept in the attribute.
   Standard_Boolean HasIntegers() const { return !myIntegers.IsNull(); }
 
   //! Returns true if the attribute contains specified by Name
   //! integer value.
   Standard_EXPORT Standard_Boolean HasInteger (const TCollection_ExtendedString& theName) const;
-  
+
   //! Returns the integer value specified by the Name.
   //! It returns 0 if internal map doesn't contain the specified
   //! integer (use HasInteger() to check before).
   Standard_EXPORT Standard_Integer GetInteger (const TCollection_ExtendedString& theName);
-  
+
   //! Defines a named integer.
   //! If the integer already exists, it changes its value to <theInteger>.
   Standard_EXPORT void SetInteger (const TCollection_ExtendedString& theName, const Standard_Integer theInteger);
-  
+
   //! Returns the internal container of named integers.
   Standard_EXPORT const TColStd_DataMapOfStringInteger& GetIntegersContainer();
-  
+
   //! Replace the container content by new content of the <theIntegers>.
   Standard_EXPORT void ChangeIntegers (const TColStd_DataMapOfStringInteger& theIntegers);
 
@@ -80,70 +80,70 @@ public:
 
   //! Returns true if the attribute contains a real specified by Name.
   Standard_EXPORT Standard_Boolean HasReal (const TCollection_ExtendedString& theName) const;
-  
+
   //! Returns the named real.
   //! It returns 0.0 if there is no such a named real
   //! (use HasReal()).
   Standard_EXPORT Standard_Real GetReal (const TCollection_ExtendedString& theName);
-  
+
   //! Defines a named real.
   //! If the real already exists, it changes its value to <theReal>.
   Standard_EXPORT void SetReal (const TCollection_ExtendedString& theName, const Standard_Real theReal);
-  
+
   //! Returns the internal container of named reals.
   Standard_EXPORT const TDataStd_DataMapOfStringReal& GetRealsContainer();
-  
+
   //! Replace the container content by new content of the <theReals>.
   Standard_EXPORT void ChangeReals (const TDataStd_DataMapOfStringReal& theReals);
-  
+
   //! Returns true if there are some named strings in the attribute.
   Standard_Boolean HasStrings() const { return !myStrings.IsNull(); }
 
   //! Returns true if the attribute contains this named string.
   Standard_EXPORT Standard_Boolean HasString (const TCollection_ExtendedString& theName) const;
-  
+
   //! Returns the named string.
   //! It returns an empty string if there is no such a named string
   //! (use HasString()).
   Standard_EXPORT const TCollection_ExtendedString& GetString (const TCollection_ExtendedString& theName);
-  
+
   //! Defines a named string.
   //! If the string already exists, it changes its value to <theString>.
   Standard_EXPORT void SetString (const TCollection_ExtendedString& theName, const TCollection_ExtendedString& theString);
-  
+
   //! Returns the internal container of named strings.
   Standard_EXPORT const TDataStd_DataMapOfStringString& GetStringsContainer();
-  
+
   //! Replace the container content by new content of the <theStrings>.
   Standard_EXPORT void ChangeStrings (const TDataStd_DataMapOfStringString& theStrings);
-  
+
   //! Returns true if there are some named bytes in the attribute.
   Standard_Boolean HasBytes() const { return !myBytes.IsNull(); }
 
   //! Returns true if the attribute contains this named byte.
   Standard_EXPORT Standard_Boolean HasByte (const TCollection_ExtendedString& theName) const;
-  
+
   //! Returns the named byte.
   //! It returns 0 if there is no such a named byte
   //! (use HasByte()).
   Standard_EXPORT Standard_Byte GetByte (const TCollection_ExtendedString& theName);
-  
+
   //! Defines a named byte.
   //! If the byte already exists, it changes its value to <theByte>.
   Standard_EXPORT void SetByte (const TCollection_ExtendedString& theName, const Standard_Byte theByte);
-  
+
   //! Returns the internal container of named bytes.
   Standard_EXPORT const TDataStd_DataMapOfStringByte& GetBytesContainer();
-  
+
   //! Replace the container content by new content of the <theBytes>.
   Standard_EXPORT void ChangeBytes (const TDataStd_DataMapOfStringByte& theBytes);
-  
+
   //! Returns true if there are some named arrays of integer values in the attribute.
   Standard_Boolean HasArraysOfIntegers() const { return !myArraysOfIntegers.IsNull(); }
 
   //! Returns true if the attribute contains this named array of integer values.
   Standard_EXPORT Standard_Boolean HasArrayOfIntegers (const TCollection_ExtendedString& theName) const;
-  
+
   //! Returns the named array of integer values.
   //! It returns a NULL Handle if there is no such a named array of integers
   //! (use HasArrayOfIntegers()).
@@ -161,16 +161,16 @@ public:
 
   //! Returns the internal container of named arrays of integer values.
   Standard_EXPORT const TDataStd_DataMapOfStringHArray1OfInteger& GetArraysOfIntegersContainer();
-  
+
   //! Replace the container content by new content of the <theArraysOfIntegers>.
   Standard_EXPORT void ChangeArraysOfIntegers (const TDataStd_DataMapOfStringHArray1OfInteger& theArraysOfIntegers);
-  
+
   //! Returns true if there are some named arrays of real values in the attribute.
   Standard_Boolean HasArraysOfReals() const { return !myArraysOfReals.IsNull(); }
 
   //! Returns true if the attribute contains this named array of real values.
   Standard_EXPORT Standard_Boolean HasArrayOfReals (const TCollection_ExtendedString& theName) const;
-  
+
   //! Returns the named array of real values.
   //! It returns a NULL Handle if there is no such a named array of reals
   //! (use HasArrayOfReals()).
@@ -188,7 +188,7 @@ public:
 
   //! Returns the internal container of named arrays of real values.
   Standard_EXPORT const TDataStd_DataMapOfStringHArray1OfReal& GetArraysOfRealsContainer();
-  
+
   //! Replace the container content by new content of the <theArraysOfReals>.
   Standard_EXPORT void ChangeArraysOfReals (const TDataStd_DataMapOfStringHArray1OfReal& theArraysOfReals);
 
@@ -213,7 +213,7 @@ public: //! @name late-load deferred data interface
   //!
   //! Usage scenarios:
   //! - Application displays model in read-only way.
-  //!   Late-load elements are loaded temporarily on demand and immediatly unloaded.
+  //!   Late-load elements are loaded temporarily on demand and immediately unloaded.
   //!     theNamedData->LoadDeferredData (true);
   //!     TCollection_AsciiString aValue = theNamedData->GetString (theKey);
   //!     theNamedData->UnloadDeferredData();
@@ -227,7 +227,7 @@ public: //! @name late-load deferred data interface
   virtual Standard_Boolean HasDeferredData() const { return false; }
 
   //! Load data from deferred storage, without calling Backup().
-  //! As result, the content of the object will be overidden by data from deferred storage (which is normally read-only).
+  //! As result, the content of the object will be overridden by data from deferred storage (which is normally read-only).
   //! @param theToKeepDeferred [in] when TRUE, the link to deferred storage will be preserved
   //!                               so that it will be possible calling UnloadDeferredData() afterwards for releasing memory
   //! @return FALSE if deferred storage is unavailable or deferred data has been already loaded
@@ -283,7 +283,7 @@ public: //! @name TDF_Attribute interface
   Standard_EXPORT virtual void Paste (const Handle(TDF_Attribute)& Into, const Handle(TDF_RelocationTable)& RT) const Standard_OVERRIDE;
 
   Standard_EXPORT virtual Standard_OStream& Dump (Standard_OStream& anOS) const Standard_OVERRIDE;
-  
+
   //! Dumps the content of me into the stream
   Standard_EXPORT virtual void DumpJson (Standard_OStream& theOStream, Standard_Integer theDepth = -1) const Standard_OVERRIDE;
 
index 1d7ec79b22a31114d868e939631847e5feed96ca..7f40a930eda9d442e6e1d89d266ae481ac5e6bcb 100644 (file)
@@ -545,7 +545,7 @@ void TDataStd_TreeNode::AfterAddition() {
 //=======================================================================
 //TreeNode : BeforeForget
 //purpose  : Disconnect the TreeNode from the tree.
-//           Backuped attribute is normaly not concerned by such an operation
+//           Backuped attribute is normally not concerned by such an operation
 //=======================================================================
 
 void TDataStd_TreeNode::BeforeForget() {
index a020b72dcc1af824d5ef14b5b1d55667380c2beb..30288e20e9e6d5b47dbec9d494bbd8a1da5bc622 100644 (file)
@@ -200,8 +200,7 @@ public:
   //! ===================================
   Standard_EXPORT virtual Standard_Boolean AfterUndo (const Handle(TDF_AttributeDelta)& anAttDelta, const Standard_Boolean forceIt = Standard_False) Standard_OVERRIDE;
   
-  //! Returns the tree ID (default or explicit one depending
-  //! onthe Set method used).
+  //! Returns the tree ID (default or explicit one depending on the Set method used).
   Standard_EXPORT const Standard_GUID& ID() const Standard_OVERRIDE;
   
   Standard_EXPORT virtual void Restore (const Handle(TDF_Attribute)& with) Standard_OVERRIDE;
index d498d761cc0be38462efab0086e74fec829a21fe..29c7bf92d1ec0d8304af03379c1c9bca1bde365a 100644 (file)
@@ -133,9 +133,9 @@ public:
   //! Returns the GUID for geometry attributes.
   Standard_EXPORT static const Standard_GUID& GetID();
   
-  //! This and the next methods are used to  retrieve  underlying geometry of  the
-  //! NamedShape, even   if  noone Geometry   Attribute  is
-  //! associated  .  if not  found or not compliant geometry return False.
+  //! This and the next methods are used to retrieve underlying geometry of the NamedShape,
+  //! even if no Geometry Attribute is associated.
+  //! if not found or not compliant geometry return False.
   Standard_EXPORT TDataXtd_Geometry();
   
   //! Returns the type of geometric construction T of this attribute.
index 91e574f8f74b05a31afd19fb4bcb55572321ba42..5241dfa12600f26cc385944834e5073a3899896e 100644 (file)
@@ -41,7 +41,7 @@ class TDocStd_MultiTransactionManager;
 //!
 //! * The standard application root class
 //!
-//! * The standard document wich contains data
+//! * The standard document which contains data
 //!
 //! * The external reference mechanism between documents
 //!
index bc28787000483a474ccbcf0eb112797aedbb447e..442a8f3693d07e3352734acd0aa86ce7076a02dd 100644 (file)
@@ -65,7 +65,7 @@ DEFINE_STANDARD_HANDLE(TDocStd_Application, CDF_Application)
 //! the events during the Open/Store operation, a MessageDriver
 //! based on Message_PrinterOStream may be used. In case of need client
 //! can implement his own version inheriting from Message_Printer class 
-//! and add it to the Messanger.
+//! and add it to the Messenger.
 //! Also the trace level of messages can be tuned by setting trace level (SetTraceLevel (Gravity )) for the used Printer.
 //! By default, trace level is Message_Info, so that all messages are output.
 
@@ -232,7 +232,7 @@ public:
                                           const Message_ProgressRange& theRange = Message_ProgressRange());
 
   //! Retrieves aDoc from standard SEEKABLE stream theIStream.
-  //! the stream should support SEEK fuctionality
+  //! the stream should support SEEK functionality
   Standard_EXPORT PCDM_ReaderStatus Open (Standard_IStream& theIStream, Handle(TDocStd_Document)& theDoc, 
                                           const Message_ProgressRange& theRange = Message_ProgressRange());
 
@@ -244,7 +244,7 @@ public:
                                            const Message_ProgressRange& theRange = Message_ProgressRange());
 
   //! Save theDoc to standard SEEKABLE stream theOStream.
-  //! the stream should support SEEK fuctionality
+  //! the stream should support SEEK functionality
   Standard_EXPORT PCDM_StoreStatus SaveAs (const Handle(TDocStd_Document)& theDoc,
                                            Standard_OStream& theOStream,
                                            const Message_ProgressRange& theRange = Message_ProgressRange());
@@ -265,7 +265,7 @@ public:
                                            const Message_ProgressRange& theRange = Message_ProgressRange());
 
   //! Save theDoc TO standard SEEKABLE stream theOStream.
-  //! the stream should support SEEK fuctionality
+  //! the stream should support SEEK functionality
   Standard_EXPORT PCDM_StoreStatus SaveAs (const Handle(TDocStd_Document)& theDoc,
                                            Standard_OStream& theOStream,
                                            TCollection_ExtendedString& theStatusMessage,
index d9656c4689c27c9c2f3007d159f0050ba5fa14da..6bb37dc13146a41d09cd9b2fa712c953b0c79463 100644 (file)
@@ -376,7 +376,7 @@ Standard_Boolean TDocStd_Document::CommitTransaction()
 
     }
 
-    // deny or allow modifications acording to transaction state
+    // deny or allow modifications according to transaction state
     if(myOnlyTransactionModification) {
       myData->AllowModification (myUndoTransaction.IsOpen() && myUndoLimit
                                  ? Standard_True :Standard_False);
@@ -413,7 +413,7 @@ void TDocStd_Document::AbortTransaction()
     if (myUndoFILO.Extent())
       myUndoTransaction.Open();
   }
-  // deny or allow modifications acording to transaction state
+  // deny or allow modifications according to transaction state
   if (myOnlyTransactionModification) {
     myData->AllowModification (myUndoTransaction.IsOpen() && myUndoLimit
                                ? Standard_True :Standard_False);
@@ -457,7 +457,7 @@ void TDocStd_Document::OpenTransaction()
 
   if (myUndoLimit != 0) myUndoTransaction.Open();
 
-  // deny or allow modifications acording to transaction state
+  // deny or allow modifications according to transaction state
   if (myOnlyTransactionModification) {
     myData->AllowModification (myUndoTransaction.IsOpen() && myUndoLimit
                                ? Standard_True :Standard_False);
@@ -490,7 +490,7 @@ void TDocStd_Document::SetUndoLimit(const Standard_Integer L)
     myUndos.RemoveFirst();
     --n;
   }
-  // deny or allow modifications acording to transaction state
+  // deny or allow modifications according to transaction state
   if(myOnlyTransactionModification) {
     myData->AllowModification(myUndoTransaction.IsOpen() && myUndoLimit
                               ? Standard_True :Standard_False);
@@ -595,7 +595,7 @@ Standard_Boolean TDocStd_Document::Undo()
 
   if (isOpened && undoDone) OpenTransaction();
 
-  // deny or allow modifications acording to transaction state
+  // deny or allow modifications according to transaction state
   if(myOnlyTransactionModification) {
     myData->AllowModification(myUndoTransaction.IsOpen() && myUndoLimit
                               ? Standard_True :Standard_False);
@@ -654,7 +654,7 @@ Standard_Boolean TDocStd_Document::Redo()
   
   if (isOpened && undoDone) OpenTransaction();
 
-  // deny or allow modifications acording to transaction state
+  // deny or allow modifications according to transaction state
   if(myOnlyTransactionModification) {
     myData->AllowModification(myUndoTransaction.IsOpen() && myUndoLimit
                               ? Standard_True :Standard_False);
@@ -924,7 +924,7 @@ void TDocStd_Document::ChangeStorageFormatVersion(const TDocStd_FormatVersion th
 
 //=======================================================================
 //function : CurrentStorageFormatVersion
-//purpose  : Returns current storage format verison of the document.
+//purpose  : Returns current storage format version of the document.
 //=======================================================================
 TDocStd_FormatVersion TDocStd_Document::CurrentStorageFormatVersion()
 {
index 97c64d7b38363ef4b7d6ea7a46280d86527c5517..7737e0ec842eb5ecf20d2050c025928d7c529341 100644 (file)
@@ -73,7 +73,7 @@ public:
   Standard_EXPORT Standard_Boolean IsSaved() const;
   
   //! returns True if document differs from the state of last saving.
-  //! this method have to be called only wroking in the transaction mode
+  //! this method have to be called only working in the transaction mode
     Standard_Boolean IsChanged() const;
   
   //! This method have to be called to show document that it has been saved
@@ -89,7 +89,7 @@ public:
   //! raise if <me> is not saved.
   Standard_EXPORT TCollection_ExtendedString GetName() const;
   
-  //! returns the OS  path of the  file, in wich one <me> is
+  //! returns the OS  path of the  file, in which one <me> is
   //! saved. Raise an exception if <me> is not saved.
   Standard_EXPORT TCollection_ExtendedString GetPath() const;
   
@@ -255,7 +255,7 @@ public:
   //! Sets version of the format to be used to store the document
   Standard_EXPORT void ChangeStorageFormatVersion(const TDocStd_FormatVersion theVersion);
 
-  //! Returns current storage format verison of the document.
+  //! Returns current storage format version of the document.
   Standard_EXPORT static TDocStd_FormatVersion CurrentStorageFormatVersion();
 
   //! Dumps the content of me into the stream
index 33ba50119ce0faf7ccb842f7ca947643bcd2ee22..38745eea1597c3907862af04a999d064585ce1d7 100644 (file)
@@ -40,7 +40,7 @@ inline Standard_Boolean
 //=======================================================================
 //function : IsModified
 //purpose  : returns True if document differs from the state of last saving.
-//           this method have to be called only wroking in the transaction mode
+//           this method have to be called only working in the transaction mode
 //=======================================================================
 
 inline Standard_Boolean
@@ -70,7 +70,7 @@ inline void TDocStd_Document::SetModificationMode
 {
   myOnlyTransactionModification = theTransactionOnly;
 
-  // deny or allow modifications acording to transaction state
+  // deny or allow modifications according to transaction state
   if(myOnlyTransactionModification) {
     myData->AllowModification(myUndoTransaction.IsOpen());
   }
index 7f8adc50cf04baf87a8b32008e0072e66d9c26f5..25b05c6e9a433f261df966f259545fd20d2d920c 100644 (file)
@@ -33,8 +33,8 @@ class TDF_RelocationTable;
 class TDocStd_Modified;
 DEFINE_STANDARD_HANDLE(TDocStd_Modified, TDF_Attribute)
 
-//! Transient     attribute   wich     register modified
-//! labels. This attribute is attached to root label.
+//! Transient attribute which register modified labels.
+//! This attribute is attached to root label.
 class TDocStd_Modified : public TDF_Attribute
 {
 
index 37d78f5303d2137700fceaeb7e960b6eb763b512..f59f862ffd792334d7e488d668650e2c3d8c619e 100644 (file)
@@ -106,10 +106,10 @@ void TDocStd_MultiTransactionManager::OpenCommand() {
 #ifdef OCCT_DEBUG
     std::cout << "TDocStd_MultiTransactionManager::OpenCommand(): "
             "Can't start new application transaction while a "
-            "previous one is not commited or aborted" << std::endl;
+            "previous one is not committed or aborted" << std::endl;
 #endif
     throw Standard_Failure("Can't start new application transaction"
-                            "while a previous one is not commited or aborted");
+                            "while a previous one is not committed or aborted");
   }
   myOpenTransaction = Standard_True;
   Standard_Integer i;
index 5dffa64fc48c1d2c6b604c3142ee68a829f859cf..d0c46f9d73fc22d7bb5039a1ec75368067b6f336 100644 (file)
@@ -36,7 +36,7 @@ DEFINE_STANDARD_HANDLE(TDocStd_MultiTransactionManager, Standard_Transient)
 //! Each transaction of this class involvess one transaction in each modified document.
 //!
 //! The documents to be synchronized should be added explicitly to
-//! the manager; then its interface is uesd to ensure that all transactions
+//! the manager; then its interface is used to ensure that all transactions
 //! (Open/Commit, Undo/Redo) are performed synchronously in all managed documents.
 //!
 //! The current implementation does not support nested transactions
@@ -46,7 +46,7 @@ DEFINE_STANDARD_HANDLE(TDocStd_MultiTransactionManager, Standard_Transient)
 //! with TDocStd_Document class interface.
 //!
 //! NOTE: When you invoke CommitTransaction of multi transaction
-//! manager, all nested transaction of its documents will be closed (commited).
+//! manager, all nested transaction of its documents will be closed (committed).
 class TDocStd_MultiTransactionManager : public Standard_Transient
 {
 
@@ -83,7 +83,7 @@ public:
   
   //! Opens transaction in each document and sets the flag that
   //! transaction is opened. If there are already opened transactions in the documents,
-  //! these transactions will be aborted before openning new ones.
+  //! these transactions will be aborted before opening new ones.
   Standard_EXPORT void OpenCommand();
   
   //! Unsets the flag of started manager transaction and aborts
@@ -93,7 +93,7 @@ public:
   //! Commits transaction in all documents and fills the transaction manager
   //! with the documents that have been changed during the transaction.
   //! Returns True if new data has been added to myUndos.
-  //! NOTE: All nested transactions in the documents will be commited.
+  //! NOTE: All nested transactions in the documents will be committed.
   Standard_EXPORT Standard_Boolean CommitCommand();
   
   //! Makes the same steps as the previous function but defines the name for transaction.
index 3b36f82380810b1c3cc013c52ba056c284bdfe85..8b23fc32d32fc804af86aeb9c818debb862fa66e 100644 (file)
@@ -34,7 +34,7 @@ DEFINE_STANDARD_HANDLE(TDocStd_Owner, TDF_Attribute)
 
 //! This  attribute located  at  the  root label  of the
 //! framework contains  a   back reference to   the  owner
-//! TDocStd_Document, providing acces to the document from
+//! TDocStd_Document, providing access to the document from
 //! any label.  private class Owner;
 class TDocStd_Owner : public TDF_Attribute
 {
index 2f022ebeeb4104890832da93bb67baa72bf9df7a..a455218f105425b718b2c28b16fae9aeae7e24a5 100644 (file)
@@ -96,7 +96,7 @@ public:
   //! Something to do after applying <anAttDelta>.
   Standard_EXPORT virtual Standard_Boolean AfterUndo (const Handle(TDF_AttributeDelta)& anAttDelta, const Standard_Boolean forceIt = Standard_False) Standard_OVERRIDE;
   
-  //! Returns a null handle. Raise allways for ,it is
+  //! Returns a null handle. Raise always for it is
   //! nonsense to use this method.
   Standard_EXPORT Handle(TDF_Attribute) BackupCopy() const Standard_OVERRIDE;
   
index fef442535415127d5f242a52720cfdec8a356ce1..de6778e1fb2e023a5bf5da19f2e5e487007bbe25 100644 (file)
@@ -36,8 +36,7 @@ DEFINE_STANDARD_HANDLE(TDocStd_XLinkRoot, TDF_Attribute)
 //! references contained in a Data from TDF. Only one
 //! instance of this class is added to the TDF_Data
 //! root label. Starting from this attribute all the
-//! Reference are linked together, to be found
-//! easely.
+//! Reference are linked together, to be found easily.
 class TDocStd_XLinkRoot : public TDF_Attribute
 {
 
index ca333c0a84dd88b130741bc0915b5e044de3e486..8fefef9f19259fa1ab54d967943a95fd1a801dfc 100644 (file)
@@ -159,7 +159,7 @@ void TDocStd_XLinkTool::UpdateLink (const TDF_Label& label)
 {
   Handle(TDF_Reference) REF;
   if (!label.FindAttribute(TDF_Reference::GetID(),REF)) {
-    throw Standard_DomainError(" TDocStd_XLinkTool::UpdateLink : not ref registred");
+    throw Standard_DomainError(" TDocStd_XLinkTool::UpdateLink : not ref registered");
   }
   TDocStd_XLinkTool XLinkTool;
   Copy (label,REF->Get());
index 4be312d500fd10cffccd2203e79c7a383745d2b9..172036ca253e393568619f064c381f73f893983f 100644 (file)
@@ -33,8 +33,8 @@ class TDF_Label;
 //! attributes located   out of source  scope are  not
 //! copied by this algorithm.
 //! Depending  of   the called  method  an   external
-//! reference is set  in  the the target  document  to
-//! registred the externallink.
+//! reference is set  in  the target  document  to
+//! registered the externallink.
 //! Provide services to set, update and perform
 //! external references.
 //! Warning1: Nothing is provided in this class  about the
@@ -53,7 +53,7 @@ public:
   Standard_EXPORT TDocStd_XLinkTool();
   
   //! Copies the content of the label <fromsource> to the label <intarget>.
-  //! The link is registred with an XLink attribute by <intarget>
+  //! The link is registered with an XLink attribute by <intarget>
   //! label.  if  the    content  of <fromsource>   is  not
   //! self-contained,  and/or <intarget> has already an XLink
   //! attribute, an exception is raised.
@@ -74,7 +74,7 @@ public:
   Standard_EXPORT void UpdateLink (const TDF_Label& L);
   
   //! Copy    the   content     of    <fromsource>   under
-  //! <intarget>. Noone link is registred. noone check is done.
+  //! <intarget>. No link is registered. No check is done.
   //! Example
   //! Handle(TDocStd_Document) DOC, XDOC;
   //! TDF_Label L, XL;
index 0d227729a11833673283d748ae69c348cca3a8c1..ebd248e7139c66826c37d4eba28e5a8490917fe1 100644 (file)
@@ -68,7 +68,7 @@ public:
   const Standard_GUID& GetDriverGUID() const { return myDriverGUID; }
 
   //! Sets the driver for this function as that
-  //! indentified by the GUID guid.
+  //! identified by the GUID guid.
   Standard_EXPORT void SetDriverGUID (const Standard_GUID& guid);
 
   //! Returns true if the execution failed
index 58f64d6df8ff0e1829d8f368a9c2199c2f096a91..b1836e18ac2549f4bd21ce3ad6ea54ce5839ee69 100644 (file)
@@ -245,7 +245,7 @@ void TFunction_Iterator::Next()
        }
       }
 
-      // Ignore already passed fucntions (for the mode of ignoring the execution status).
+      // Ignore already passed functions (for the mode of ignoring the execution status).
       if (!myUsageOfExecutionStatus && myPassedFunctions.Contains(Lnext))
        continue;
 
index d24d0dbb5ea7bf7e2688d0c84152495d90b674e2..47de03ebf2bafc36a365fc07b4ac8b265737c372 100644 (file)
@@ -175,7 +175,7 @@ public:
   //! single contexts
   Standard_EXPORT static TopoDS_Shape FindUniqueContextSet (const TopoDS_Shape& S, const TopoDS_Shape& Context, Handle(TopTools_HArray1OfShape)& Arr);
   
-  //! Subtitutes shape in source structure
+  //! Substitutes shape in source structure
   Standard_EXPORT static Standard_Boolean SubstituteSShape (const TDF_Label& accesslabel, const TopoDS_Shape& From, TopoDS_Shape& To);
   
   //! Returns True if outer wire is found and the found wire in <theWire>.
index 392770b0285c67a0284041cb7b316c0b8ed5a24c..2e2eeb20cee0026559e10c10d3c0891150451018 100644 (file)
@@ -147,7 +147,7 @@ public:
   Standard_EXPORT static Standard_Integer ValidUntil (const TDF_Label& access, const TopoDS_Shape& S);
   
   //! Returns the current shape (a Wire or a Shell) built (in the data framework)
-  //! from the the shapes of the argument named shape.
+  //! from the shapes of the argument named shape.
   //! It is used for IDENTITY name type computation.
   Standard_EXPORT static void FindShape (const TDF_LabelMap& Valid, const TDF_LabelMap& Forbiden, const Handle(TNaming_NamedShape)& Arg, TopoDS_Shape& S);
 
index 0fdad6123e9bbd086932a6cb4b95b2c609389c8c..44e7457fd96b169aecb75d0f29013f5b9ba71def 100644 (file)
@@ -214,7 +214,7 @@ void TObj_Application::DumpJson (Standard_OStream& theOStream, Standard_Integer
 
 //=======================================================================
 //function : SetError
-//purpose  : Sets an error occured on storage of a document.
+//purpose  : Sets an error occurred on storage of a document.
 //=======================================================================
 
 void TObj_Application::SetError (const PCDM_StoreStatus theStatus, const TCollection_ExtendedString& theInfo)
@@ -247,7 +247,7 @@ void TObj_Application::SetError (const PCDM_StoreStatus theStatus, const TCollec
 
 //=======================================================================
 //function : SetError
-//purpose  : Sets an error occured on reading of a document.
+//purpose  : Sets an error occurred on reading of a document.
 //=======================================================================
 
 void TObj_Application::SetError(const PCDM_ReaderStatus theStatus, const TCollection_ExtendedString& theInfo)
index f619955f1588ea40f7475dc2aeaad1ceaf550c07..c7166f86b6df4e1b50cbaf7d2098d9bb06da70be 100644 (file)
@@ -109,10 +109,10 @@ public:
   //! the static instance of the object (or derive your own application)
   Standard_EXPORT TObj_Application();
 
-  //! Sets an error occured on storage of a document.
+  //! Sets an error occurred on storage of a document.
   void SetError (const PCDM_StoreStatus theStatus, const TCollection_ExtendedString& theInfo);
 
-  //! Sets an error occured on reading of a document.
+  //! Sets an error occurred on reading of a document.
   void SetError (const PCDM_ReaderStatus theStatus, const TCollection_ExtendedString& theInfo);
 
  private:
index 85fdd77e360c15f5840ac22240e85ac133cea28f..f6fe6bfbe34632ef293fe7d8575f767e8a3d3cf1 100644 (file)
@@ -29,7 +29,7 @@
 #include <TCollection_HExtendedString.hxx>
 #include <Standard_Failure.hxx>
 
-//! Methods inline implimentation for HExtendedString
+//! Methods inline implementation for HExtendedString
 
 //! Computes a hash code for the given handle referred to extended string, in the range [1, theUpperBound]
 //! @param theHExtendedString the handle referred to extended string which hash code is to be computed
index afdd460b0f1e294ec9c59c9542f0b1e303a0198f..3be096cad70e0fd545877d9c6c49c3595e7fedea 100644 (file)
@@ -195,7 +195,7 @@ Handle(TObj_ObjectIterator) TObj_Object::GetChildren
 
 //=======================================================================
 //function : getLabelByRank
-//purpose  : Auxiliary function to get a label and attache a name to it
+//purpose  : Auxiliary function to get a label and attach a name to it
 //           Used in debug mode only
 //=======================================================================
 
index ab5d31935d28dc1f67a9ea0c5a5761f31271ae44..9807246962a2f966651965578dc9c1fb6eaf0ba6 100644 (file)
@@ -149,7 +149,7 @@ class TObj_Object : public Standard_Transient
 
  public:
   /**
-  * Methods hanling name of the object
+  * Methods handling name of the object
   */
 
   //! Returns the map of names of the objects
@@ -202,7 +202,7 @@ class TObj_Object : public Standard_Transient
   virtual Standard_EXPORT void RemoveAllReferences();
 
   //! Returns iterator for the objects which depend on this one.
-  //! These reffering objects may belong to other models.
+  //! These referring objects may belong to other models.
   //! theType narrows a variety of iterated objects
   virtual Standard_EXPORT Handle(TObj_ObjectIterator) GetBackReferences
                          (const Handle(Standard_Type)& theType = NULL) const;
@@ -227,7 +227,7 @@ class TObj_Object : public Standard_Transient
   //! The default implementation just clear the back references container
   virtual Standard_EXPORT void ClearBackReferences();
 
-  //! Returns TRUE if obejct has 1 or more back references
+  //! Returns TRUE if object has 1 or more back references
   Standard_EXPORT Standard_Boolean HasBackReferences() const;
   
   //! Replace reference from old object to new object.
@@ -291,7 +291,7 @@ class TObj_Object : public Standard_Transient
                          (const TObj_DeletingMode theMode = TObj_FreeOnly);
 
   //! Deletes the object from the label. Checks if object can be deleted.
-  //! Finds object on the label and detaches it by calling previos method.
+  //! Finds object on the label and detaches it by calling previous method.
   //! Returns true if there is no object on the label after detaching
   static Standard_EXPORT Standard_Boolean Detach
                          (const TDF_Label& theLabel,
@@ -336,7 +336,7 @@ class TObj_Object : public Standard_Transient
   //! Coping object with data and childs, but change name by adding string "_copy"
   //! As result return handle of new object (null handle is something wrong)
   //! NOTE: BackReferences not coping.
-  //! After clonning all objects it is neccessary to call copy references
+  //! After cloning all objects it is necessary to call copy references
   //! with the same relocation table
   virtual Standard_EXPORT Handle(TObj_Object) Clone
                          (const TDF_Label&            theTargetLabel,
@@ -415,13 +415,13 @@ class TObj_Object : public Standard_Transient
   * Method for updating object afrer restoring
   */
 
-  //! Preforms updating the links and dependances of the object which are not
+  //! Performs updating the links and dependances of the object which are not
   //! stored in persistence. Should be redefined if necessary.
   virtual Standard_EXPORT void AfterRetrieval();
 
-  //! Preforms storing the objects transient fields in OCAF document
+  //! Performs storing the objects transient fields in OCAF document
   //! which were outside transaction mechanism.
-  //! Default implementation doesnot nothing
+  //! Default implementation does nothing
   virtual Standard_EXPORT void BeforeStoring();
 
  protected:
index 343dd429165d17fe791315389da1bc534d331aa0..1b693f62d2ca38d5c92d8215f50a5d4a7a1af488 100644 (file)
 
 
 /**
-* This class privides tool handling one of partitions (the set of
-* homogenious elements) in the OCAF based model`s data structure
+* This class provides tool handling one of partitions (the set of
+* homogeneous elements) in the OCAF based model`s data structure
 */
 
 class TObj_Partition : public TObj_Object
 {
  protected:
-  enum DataTag 
+  enum DataTag
   {
     DataTag_First = TObj_Object::DataTag_Last,
     DataTag_LastIndex,
@@ -42,22 +42,22 @@ class TObj_Partition : public TObj_Object
   * Constructor
   */
 
-  //! Constructor is protected; 
+  //! Constructor is protected;
   //! static methods are used for creation of this type of objects
   Standard_EXPORT TObj_Partition (const TDF_Label& theLabel, const Standard_Boolean theSetName = Standard_True);
-  
+
  public:
   /**
   * Method for create partition
   */
-  
+
   //! Creates a new partition on given label.
   static Standard_EXPORT Handle(TObj_Partition) Create
                         (const TDF_Label& theLabel, const Standard_Boolean theSetName = Standard_True);
-  
+
  public:
   /**
-  * Methods hanling name of the object
+  * Methods handling name of the object
   */
 
   //! Sets name of the object. partition does not check unique of own name
@@ -69,7 +69,7 @@ class TObj_Partition : public TObj_Object
   * Method for updating object afrer restoring
   */
 
-  //! Preforms updating the links and dependances of the object which are not
+  //! Performs updating the links and dependencies of the object which are not
   //! stored in persistence. Does not register the partition name
   virtual Standard_EXPORT void AfterRetrieval() Standard_OVERRIDE;
 
@@ -77,10 +77,10 @@ class TObj_Partition : public TObj_Object
   /**
   * Methods handling of the objects in partition
   */
-  
+
   //! Creates and Returns label for new object in partition.
   Standard_EXPORT TDF_Label NewLabel() const;
-  
+
   //! Sets prefix for names of the objects in partition.
   Standard_EXPORT void SetNamePrefix
                         (const Handle(TCollection_HExtendedString)& thePrefix);
@@ -88,16 +88,16 @@ class TObj_Partition : public TObj_Object
   //! Returns prefix for names of the objects in partition.
   Handle(TCollection_HExtendedString) GetNamePrefix() const
   { return myPrefix; }
-  
+
   //! Generates and returns name for new object in partition.
-  //! if theIsToChangeCount is true partition icrease own counter
+  //! if theIsToChangeCount is true partition increase own counter
   //!  to generate new name next time starting from new counter value
   Standard_EXPORT Handle(TCollection_HExtendedString) GetNewName
     ( const Standard_Boolean theIsToChangeCount = Standard_True );
-  
+
   //! Return Last index in partition (reserved);
   Standard_EXPORT Standard_Integer GetLastIndex() const;
-  
+
   //! Sets Last index in partition (reserved);
   Standard_EXPORT void SetLastIndex(const Standard_Integer theIndex);
 
@@ -105,17 +105,17 @@ class TObj_Partition : public TObj_Object
   /**
   * Methods to define partition by object
   */
-  
+
   //! Returns the partition in which object is stored. Null partition
   //! returned if not found
   static Standard_EXPORT Handle(TObj_Partition) GetPartition
                         (const Handle(TObj_Object)& theObject);
-  
+
  public:
   /**
   * Methods for updating the object
   */
-  
+
   //! Does nothing in the partition.
   virtual Standard_Boolean Update()
   {return Standard_True;}
@@ -129,14 +129,14 @@ class TObj_Partition : public TObj_Object
   //! return Standard_False is Target object is different type
   Standard_EXPORT virtual Standard_Boolean copyData
                         (const Handle(TObj_Object)& theTargetObject) Standard_OVERRIDE;
+
  private:
   /**
   * fields
   */
-  
+
   //! prefix for naming of objects in the partition
-  Handle(TCollection_HExtendedString) myPrefix; 
+  Handle(TCollection_HExtendedString) myPrefix;
 
  protected:
   //! Persistence of TObj object
index 34e23f19bab7f795d1c114ba50953126fc98a3fb..6e02886a5b0abc89489b6c04458e1d5e33c06da8 100644 (file)
@@ -66,7 +66,7 @@ class TObj_SequenceIterator : public TObj_ObjectIterator
   */
   Standard_Integer                   myIndex; //!< current index of object in sequence
   Handle(Standard_Type)              myType;  //!< type of object
-  Handle(TObj_HSequenceOfObject) myObjects;   //!< seqence of objects
+  Handle(TObj_HSequenceOfObject) myObjects;   //!< sequence of objects
 
  public:
    //! CASCADE RTTI
index f0e58d64f7f65d6b9e554cef94efea2ed5ea9778..8257ce5b082bdd2a08f5858ccacfa478d4ce3cf9 100644 (file)
@@ -48,7 +48,7 @@ class TObj_TModel : public TDF_Attribute
  public:
   //! Methods for setting and obtaining the Model object
   
-  //! Sets the the Model object
+  //! Sets the Model object
   Standard_EXPORT void Set(const Handle(TObj_Model)& theModel);
   
   //! Returns the Model object
index a876692e92301dc7f065112fe37cb9254fbba6ab..4a0f175d0f5ff1ee02c2817c926a489838d8be23 100644 (file)
@@ -166,7 +166,7 @@ void TObj_TReference::Paste (const Handle(TDF_Attribute)& theInto,
   Handle(TObj_TObject) aObject, aMasterTObj;
   if (myLabel.IsNull())
   {
-    //  unvalidity if it neccessary
+    //  unvalidity if it necessary
     aReference->myLabel.Nullify();
     return;
   }
index 17342d5d3a632c97a26949d07ed7178e4dee4aed..1a400735f30ed8e47b2cee80b484e31e9d715caa 100644 (file)
@@ -84,7 +84,7 @@ class TObjDRAW_Object : public TObj_Object
   enum RefTag
   {
     RefTag_First = TObj_Object::RefTag_Last,
-    RefTag_Other, //!< here we test only one refrence to other
+    RefTag_Other, //!< here we test only one reference to other
     RefTag_Last = RefTag_First + 100 
   };
 
index 040ad7e0297ccb12b4be744b49836d067f96fbfc..03b915caa05e9b5e05bd19f0e41de30084b6cb75 100644 (file)
@@ -41,7 +41,7 @@ public:
   
   //! Build the AISObject (if null) or update it.
   //! No compute is done.
-  //! Returns <True> if informations was found
+  //! Returns <True> if information was found
   //! and AISObject updated.
   Standard_EXPORT virtual Standard_Boolean Update (const TDF_Label& aLabel, Handle(AIS_InteractiveObject)& anAISObject) Standard_OVERRIDE;
 
index c81258caf075498da895bed3ef8580df3ab4b453..590b64554fb312bb3a87aa1f44b1a69e2ea57078 100644 (file)
@@ -41,7 +41,7 @@ public:
   
   //! Build the AISObject (if null) or update it.
   //! No compute is done.
-  //! Returns <True> if informations was found
+  //! Returns <True> if information was found
   //! and AISObject updated.
   Standard_EXPORT virtual Standard_Boolean Update (const TDF_Label& aLabel, Handle(AIS_InteractiveObject)& anAISObject) Standard_OVERRIDE;
 
index 550d9518853671a982b64870d2e322a6f2db1de3..42ada3dc0d053e7e6d38d8cfcab7a65dbd19973b 100644 (file)
@@ -42,7 +42,7 @@ public:
   
   //! Build the AISObject (if null) or update it.
   //! No compute is done.
-  //! Returns <True> if informations was found
+  //! Returns <True> if information was found
   //! and AISObject updated.
   Standard_EXPORT virtual Standard_Boolean Update (const TDF_Label& aLabel, Handle(AIS_InteractiveObject)& anAISObject) Standard_OVERRIDE;
 
index ebacd6e06a3033dbc2277698083fe365be8d9965..e9d9b94390ed74a20c57e08829ae8000a11e0722 100644 (file)
@@ -41,7 +41,7 @@ public:
   
   //! Build the AISObject (if null) or update it.
   //! No compute is done.
-  //! Returns <True> if informations was found
+  //! Returns <True> if information was found
   //! and AISObject updated.
   Standard_EXPORT virtual Standard_Boolean Update (const TDF_Label& aLabel, Handle(AIS_InteractiveObject)& anAISObject) Standard_OVERRIDE;
 
index cca9761c63b01da5ddbd66c13da29cf3e502522a..577ac70ed84bb71cd7cfa228638593ceb8c65871 100644 (file)
@@ -41,7 +41,7 @@ public:
   
   //! Build the AISObject (if null) or update it.
   //! No compute is done.
-  //! Returns <True> if informations was found
+  //! Returns <True> if information was found
   //! and AISObject updated.
   Standard_EXPORT virtual Standard_Boolean Update (const TDF_Label& aLabel, Handle(AIS_InteractiveObject)& anAISObject) Standard_OVERRIDE;
 
index 7b41162ec4aa6930b7194ab2a7333f3ccb7d7889..6137f06fbe43c3b149eea286cbfbc8327e33c8a7 100644 (file)
@@ -41,7 +41,7 @@ public:
   
   //! Build the AISObject (if null) or update it.
   //! No compute is done.
-  //! Returns <True> if informations was found
+  //! Returns <True> if information was found
   //! and AISObject updated.
   Standard_EXPORT virtual Standard_Boolean Update (const TDF_Label& aLabel, Handle(AIS_InteractiveObject)& anAISObject) Standard_OVERRIDE;
 
index cc8bbd5bdc2852a194cc76d2df01c9127e278e36..7d56eb3a116446f81684e830d37401ce08c6ed64 100644 (file)
@@ -34,7 +34,7 @@
 //! It contains :
 //!
 //! * The ShapeEnum   enumeration  to  describe  the
-//! differents topological shapes.
+//! different topological shapes.
 //!
 //! * The  Orientation  enumeration to  describe the
 //! orientation of a topological shape.
index dd69a2a42d3bdb036f231d3fcccc86e4ec8fc38c..33daa37ff647e0cf19d0db6b3178b17c4322787e 100644 (file)
@@ -95,7 +95,7 @@ public:
   DEFINE_STANDARD_ALLOC
 
   
-  //! Creates an empty explorer, becomes usefull after Init.
+  //! Creates an empty explorer, becomes useful after Init.
   Standard_EXPORT TopExp_Explorer();
   
   //! Creates an Explorer on the Shape <S>.
index 803f09019c2880f52af8fb64824a4c60d8e0380f..ffc654e552cc7cf6ebc6a390b9f61bbd492bdb1c 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-// Modifed:     Portage NT 7-5-97 DPF (strcasecmp)
-
 #include <TopOpeBRep.hxx>
 
-//#ifdef _WIN32
-//#define strcasecmp strcmp Already defined
-//#endif
 //=======================================================================
 //function : Print
 //purpose  : 
index 7f0dfffc8e2e9bf06f4d91239fd935141fe3f044..f91759857e61c140a031892b9c6a2317cbb3a0f5 100644 (file)
@@ -115,7 +115,7 @@ public:
   Standard_EXPORT void GapFiller (const Handle(TopOpeBRepDS_HDataStructure)& HDS) const;
   
   //! Update   the  data      structure  with   relevant
-  //! informations deduced from the intersections.
+  //! information deduced from the intersections.
   //!
   //! Shells containing an intersected face.
   //! Wires  containing an intersected edge.
@@ -130,7 +130,7 @@ public:
   Standard_EXPORT void Checker (const Handle(TopOpeBRepDS_HDataStructure)& HDS) const;
   
   //! Update   the  data      structure  with   relevant
-  //! informations deduced from the intersections 2d.
+  //! information deduced from the intersections 2d.
   //!
   //! Shells containing an intersected face.
   //! Wires  containing an intersected edge.
index 9c2355e1d2c86d7b5cb9f24ae8a3130d5a7cef02..eb2dbe30eca68125000e2c4b9138c6e5761b8f24 100644 (file)
@@ -126,8 +126,8 @@ void TopOpeBRep_EdgesFiller::Insert(const TopoDS_Shape& E1,const TopoDS_Shape& E
     // xpu : 080498 : CTS20072 (e12,e3,p8) 
     //       edgesintersector called for tolerances = 0.
     //       facesintersector called for greater tolerances
-    //       we assume facesintersector's ouput data to be valid
-    //       and we use it for correcting edgesintersector's ouput data
+    //       we assume facesintersector's output data to be valid
+    //       and we use it for correcting edgesintersector's output data
     TopOpeBRepDS_ListIteratorOfListOfInterference itloI1( myPDS->ShapeInterferences(E1) );
     Standard_Integer G; TopOpeBRepDS_Kind K; 
     Standard_Boolean found = GetGeometry(itloI1,P2D,G,K);
index c9406b0a9724ff88c7b676696ca6b4ae841da069..acd3f3e34ebe617ad07709db4e4608b0617ec444 100644 (file)
@@ -132,7 +132,7 @@ public:
   //! of the 2 faces.
   Standard_EXPORT void GetESL (TopTools_ListOfShape& LES);
   
-  //! calling the followings ProcessVPIonR and ProcessVPonR.
+  //! calling the following ProcessVPIonR and ProcessVPonR.
   Standard_EXPORT void ProcessVPR (TopOpeBRep_FacesFiller& FF, const TopOpeBRep_VPointInter& VP);
   
   //! processing ProcessVPonR for VPI.
index 6cf18c66ac0b906e690abc8669447b2a7ad88fdb..103f34c2fc7c912793c9ab786f299a85eeff8ba6 100644 (file)
@@ -114,7 +114,7 @@ Standard_Boolean TopOpeBRep_FacesFiller::KeepRLine
   // look for a vpoint with transition IN/OUT or OUT/IN
   TopOpeBRep_VPointInterIterator VPI; VPI.Init(L,checkkeep);
   
-  // With LineContructor, each RLine restricted by its vpbounds
+  // With LineConstructor, each RLine restricted by its vpbounds
   // has its restrictions IN or ON the two faces
   Standard_Boolean keeprline;
   Standard_Boolean isedge1 = L.ArcIsEdge(1);
index d0911d44895dc2c61ff346e2a3e1d1360f9c0d0d..0a8bac0e65f2c58105ab5569a54e67d418411184 100644 (file)
@@ -1095,10 +1095,10 @@ static Standard_Integer OneShapeIsHalfSpace(const TopoDS_Shape& S1,const TopoDS_
        {
          // if one solid has shell consisted of only a face but other one has valid closed
          // shell we can detect current boolean operation as operation with half space object.
-         // if shell of second solid is not valid too we cann't detect what kind of objects
+         // if shell of second solid is not valid too we can't detect what kind of objects
          // we try to perform. in this case we do nothing and just return. 
 
-         // but before we must avoid shperes, toruses and solids with a face biult on spherical surfaces
+         // but before we must avoid spheres, toruses and solids with a face built on spherical surfaces
          // of revolution (SSRFS) - solids with shell of one face:
          // sphere (U: 0, 2PI) (V: -PI/2, PI/2),
          // torus  (U: 0, 2PI) (V: 0, 2PI).
@@ -1205,7 +1205,7 @@ static TopoDS_Solid GetNewSolid(const TopoDS_Shape& S, TopoDS_Face& F)
 {
   // "new solid" is a new halfspace solid consists of two faces now: the first face is a face
   // used to build halfspace solid and the second face is a new "face on infinity" specially
-  // created to constuct correct bounding box around halfspace solid with bounds more wide than
+  // created to construct correct bounding box around halfspace solid with bounds more wide than
   // previous one.
 
   // the following algorithm is used:
index f22f171264afcd6959969a14450537f173109f60..7a2ea2e715dde088e765452f59734b77ff96784e 100644 (file)
@@ -1030,7 +1030,7 @@ void TopOpeBRep_FacesFiller::ProcessVPonR
     // alors qu'il est dessus)
     
     TopOpeBRepDS_Transition tOOedge;
-    // distinguish wether OOedge is the edge on which geometric line lies.
+    // distinguish whether OOedge is the edge on which geometric line lies.
     // OOedge == edge(line) ==> tOOedge = f(orientation of <edge> in <Face> FORWARD)
     // OOedge != edge(line) ==> tOOedge = f(orientation of <Face>)    
     Standard_Real OOpar1,OOpar2; Standard_Boolean isonper; FDS_LOIinfsup((*myDS),OOedge,OOparedge,PVKind,PVIndex,
index 6b7fe30f92f51ad5c027f8752fae5294947dbf07..c9807ee38e48ff2a4f8234f52751176366a2588e 100644 (file)
@@ -113,7 +113,7 @@ public:
   
   //! Merges  the two edges <S1> and <S2> keeping the
   //! parts in each edge of states <TB1> and <TB2>.
-  //! Booleans onA, onB, onAB indicate wheter parts of edges
+  //! Booleans onA, onB, onAB indicate whether parts of edges
   //! found as state ON respectively on first, second, and both
   //! shapes must be (or not) built.
   Standard_EXPORT void MergeEdges (const TopTools_ListOfShape& L1, const TopAbs_State TB1, const TopTools_ListOfShape& L2, const TopAbs_State TB2, const Standard_Boolean onA = Standard_False, const Standard_Boolean onB = Standard_False, const Standard_Boolean onAB = Standard_False);
index 239b136fd8d31b72c58044a727708d1f3c938150..bc1b16c7d76b3f00bc833b047a7f6b1b8e433648 100644 (file)
@@ -516,7 +516,7 @@ void TopOpeBRepBuild_Builder1::GFillFaceSameDomSFS(const TopoDS_Shape& FOR,
   mySDEdgeMap.Clear();
   mySourceShapes.Clear();
 
-  //we process all same domain faces during cycling throught the Shape1
+  //we process all same domain faces during cycling through the Shape1
   if(myDataStructure -> DS().AncestorRank(FOR) != 1)
     return;
 
@@ -1214,7 +1214,7 @@ void TopOpeBRepBuild_Builder1::GWESMakeFaces(const TopoDS_Shape& FF,
 
   LOF.Clear(); LOF.Assign(corrLOF);
 
-  //corect face2d
+  //correct face2d
   aLOFit.Initialize(corrLOF);
   TopTools_ListOfShape corrLOF1;
   for(; aLOFit.More(); aLOFit.Next()) {
index f30f19fc362ab0c6280f08c9989fd627382e34de..f667366ca9886b19bc3a4c01609e97b60dd8deb8 100644 (file)
@@ -164,7 +164,7 @@ void DumpMapOfShapeWithState (const Standard_Integer iP,
        
        TCollection_AsciiString an;//=postfix+prefix+cn;
        an+=postfix; an+=prefix; an+=cn;
-       printf("  -> Splitted Part IN : %s\n",  an.ToCString());
+       printf("  -> Split Part IN : %s\n",  an.ToCString());
        cnt++;
       }
 
@@ -179,7 +179,7 @@ void DumpMapOfShapeWithState (const Standard_Integer iP,
        
        TCollection_AsciiString an;//=postfix+prefix+cn;
        an+=postfix; an+=prefix; an+=cn;
-       printf("  -> Splitted Part OUT: %-s\n",  an.ToCString());
+       printf("  -> Split Part OUT: %-s\n",  an.ToCString());
        cnt++;
       }
 
@@ -194,7 +194,7 @@ void DumpMapOfShapeWithState (const Standard_Integer iP,
 
        TCollection_AsciiString an;//=postfix+prefix+cn;
        an+=postfix; an+=prefix; an+=cn;
-       printf("  -> Splitted Part ON : %s\n",  an.ToCString());
+       printf("  -> Split Part ON : %s\n",  an.ToCString());
        cnt++;
       } 
     }
@@ -708,13 +708,13 @@ void DumpMapOfShapeWithState (const Standard_Integer iP,
       }
     }
     else {
-      // Usual case. The Edge was splitted onto several parts: 
+      // Usual case. The Edge was split onto several parts:
       TopTools_ListIteratorOfListOfShape aLIt(aLNew);
       for (; aLIt.More(); aLIt.Next()) {
        const TopoDS_Shape& aS = aLIt.Value();
        aState = aDataMapOfShapeState(aS);
        ////////////////////////////////////////////////////////////////////////////
-       // **  When aState==TopAbs_IN it is not evidence that it is realy so.
+       // **  When aState==TopAbs_IN it is not evidence that it is really so.
        // There are some cases when JYL does not define ON parts completely.
        // So,  as we want to have right states,  we have to do it ourselves.  
        // PKV Mon 25 Oct 1999
index 4be9fc562a85f8533dfb483780f658635223ca01..d02bc73760263f2f7232ed3ca5f32fcb9c649dd3 100644 (file)
@@ -639,11 +639,11 @@ void TopOpeBRepBuild_BuilderON::GFillONPartsWES2(const Handle(TopOpeBRepDS_Inter
     if (!ok) return;
     // ngFS, ngFOR, xxFOR :
     Standard_Real tolON = Max(tolFS,tolEG);
-    tolON *= 1.e2;//*****CAREFULL***** : xpu040998, cto 904 A3 
+    tolON *= 1.e2;//*****CAREFUL***** : xpu040998, cto 904 A3
     gp_Vec ngFS;  ok = FUN_tool_nggeomF(parEG,EG,FS,ngFS,tolON);
     if (!ok) return;
     tolON = Max(tolFOR,tolEG);
-    tolON *= 1.e2;//*****CAREFULL***** : xpu040998, cto 904 A3 
+    tolON *= 1.e2;//*****CAREFUL***** : xpu040998, cto 904 A3
     gp_Vec ngFOR; ok = FUN_tool_nggeomF(parEG,EG,FOR,ngFOR,tolON);
     if (!ok) return;
     gp_Dir xxFOR; ok = FUN_tool_getxx(FOR,EG,parEG,ngFOR,xxFOR);
@@ -1057,7 +1057,7 @@ void TopOpeBRepBuild_BuilderON::GFillONPartsWES2(const Handle(TopOpeBRepDS_Inter
     if (!ok) return; //nyiRAISE
     Standard_Real tolON = Max(tolEG,tolFOR);//xpu291098 cto900L7(f7,e7on)
                                   //xpu051198 PRO12953(f6,e4on)
-    tolON *= 1.e2;//*****CAREFULL***** : xpu040998, cto 904 A3 
+    tolON *= 1.e2;//*****CAREFUL***** : xpu040998, cto 904 A3
     Standard_Boolean eONFOR = (d < tolON);
     if (!eONFOR) return; 
   }
index 3b00d39d9fa7706fe1320caa0211ee431b2e5238..560cf1607377c808fb7404070bd2b81dd9ca855e 100644 (file)
@@ -291,7 +291,7 @@ TopOpeBRepBuild_CorrectFace2d::TopOpeBRepBuild_CorrectFace2d()
     myCurrentWire = TopoDS::Wire(aFExp.Current());
     priz=MakeRightWire ();
     if (priz) {
-      // This myFace contais a wire (myCurrentWire) that is not closed.
+      // This myFace contains a wire (myCurrentWire) that is not closed.
       myIsDone=Standard_True;
       myErrorStatus=3; 
       return;
@@ -564,7 +564,7 @@ TopOpeBRepBuild_CorrectFace2d::TopOpeBRepBuild_CorrectFace2d()
     if (!myCopyAvoidMap.Contains(myCurrentWire)) {  
       priz=ConnectWire (myCopyFace, myCopyAvoidMap, Standard_False);
       if (priz) {
-       // This myFace contais a wire (myCurrentWire) that is not closed.
+       // This myFace contains a wire (myCurrentWire) that is not closed.
        myIsDone=Standard_False;
        myErrorStatus=3; 
        return;
index 1aa64ab2c97259bb12ea2246ebbdbe5946b282b7..4410ce08f176b201141e96195ff7503c0a846c20 100644 (file)
@@ -336,10 +336,10 @@ void TopOpeBRepBuild_Builder::UpdateSplitAndMerged(const  TopTools_DataMapOfInte
     // For each edge of the MapSplit
     if ( e.ShapeType() == TopAbs_EDGE ) {
    
-      // get the list of splitted edges.
+      // get the list of split edges.
       TopTools_ListOfShape& LstSplit = ChangeSplit(e,state);
    
-      // for each edge of the list of splitted edges
+      // for each edge of the list of split edges
       TopTools_ListIteratorOfListOfShape itSplitEdg;
       itSplitEdg.Initialize(LstSplit);
       while ( itSplitEdg.More()) {
@@ -391,10 +391,10 @@ void TopOpeBRepBuild_Builder::UpdateSplitAndMerged(const  TopTools_DataMapOfInte
     }
     // For each face of the MapSplit
     else if ( e.ShapeType() == TopAbs_FACE ) {
-      // get the list of splitted faces.
+      // get the list of split faces.
       TopTools_ListOfShape& LstSplit = ChangeSplit(e,state);
    
-      // for each face of the list of splitted faces
+      // for each face of the list of split faces
       TopTools_ListIteratorOfListOfShape itSplitFac;
       itSplitFac.Initialize(LstSplit);
       while ( itSplitFac.More()) {
index 2d812395540bd55024ad6b53ee759e69fda288e6..5442620774c8dfe3af8ffc6747a9497dcdab9f33 100644 (file)
@@ -1027,7 +1027,7 @@ static Standard_Boolean FUN_SplitEvisoONperiodicF(const Handle(TopOpeBRepDS_HDat
 // modifies : myDataStructure
 //            Scans among the interferences attached to faces for FEI with
 //            support <FS> = cylinder, geometry <EG>; adds pcurve on <FS> 
-//            for edge <EG> if necessay.
+//            for edge <EG> if necessary.
 //=======================================================================
 void TopOpeBRepBuild_Builder::SplitEvisoONperiodicF()
 {
index 680a93a12ede8c11ae55be8a847937f65a03ad69..496ac26ab0ef687f9735d83ab1f1f364e9cca879 100644 (file)
@@ -309,7 +309,7 @@ void TopOpeBRepBuild_ShapeSet::FindNeighbours()
 {
   while (mySubShapeExplorer.More()) {
     
-    // l = list of edges neighbour of edge myCurrentShape trough
+    // l = list of edges neighbour of edge myCurrentShape through
     // the vertex mySubShapeExplorer.Current(), which is a vertex of the
     // edge myCurrentShape.
     const TopoDS_Shape& V = mySubShapeExplorer.Current();
index 649ec04749e74fcd63c3631a7d6583249975db07..4bad75db04e96de1a136faff5033a88935c4aefa 100644 (file)
@@ -184,7 +184,7 @@ void TopOpeBRepBuild_WireEdgeSet::FindNeighbours()
 {
   while (mySubShapeExplorer.More()) {
     
-    // l = list of edges neighbour of edge myCurrentShape trough
+    // l = list of edges neighbour of edge myCurrentShape through
     // the vertex mySubShapeExplorer.Current(), which is a vertex of the
     // edge myCurrentShape.
     const TopoDS_Shape& V = mySubShapeExplorer.Current();
index 79474f6f68a94dfe6f94738825209a4033ddeb6d..2385817aec4ba9eca071bcb28a316e7b985a57ac 100644 (file)
@@ -461,13 +461,13 @@ Standard_EXPORT void FUN_purgeDSonSE(const Handle(TopOpeBRepDS_HDataStructure)&
 {
   // recall  : (I1,I2) / I1=(T(F),G,S=edge), I2=(T(F),G,S=F) describes a 3d interference  
   //   
-  // purpose : attached to EIX (section egde SE), I=(T(Fsdm),G,S) /
+  // purpose : attached to EIX (section edge SE), I=(T(Fsdm),G,S) /
   //           Fsdm shares same domain with Fanc ancestor face of SE
   //            => SE has split ON near G =>
   //           I'=(T(Fsdm),G,S=Fsdm) gives bad information (3d information whereas
   //           we should only have 2d information)
   // - PRO12660 for spON(e48) - 
-  
+
   TopOpeBRepDS_DataStructure& BDS = HDS->ChangeDS();
   const TopoDS_Edge& SE = TopoDS::Edge(BDS.Shape(EIX));
   Standard_Integer rkSE = BDS.AncestorRank(SE);
index 337066797baa096a926ae30347e19176bc65f0ad..04887f67265218bc975bc941afcd963a512fe50f 100644 (file)
@@ -71,7 +71,7 @@ public:
   //! the faulty shapes (edge,wire,face) to <MshNOK>.
   //! <FF> is a face descendant of <F>.
   //! <MWisOld>(wire) = 1 if wire is wire of <F>
-  //! 0    wire results from <F>'s wire splitted.
+  //! 0    wire results from <F>'s wire split.
   //! returns false if purge fails
   Standard_EXPORT static Standard_Boolean PurgeClosingEdges (const TopoDS_Face& F, const TopoDS_Face& FF, const TopTools_DataMapOfShapeInteger& MWisOld, TopTools_IndexedMapOfOrientedShape& MshNOK);
   
index d5d5c46f487b17b191c3f1167e0f467555b9fcd7..abd41708b306003af40336dc763dd5a2803be688 100644 (file)
@@ -155,7 +155,7 @@ Standard_Integer TopOpeBRepTool_CLASSI::ClassiBnd2d(const TopoDS_Shape& S1,const
       //  diff = Umin<ii> - Umax<jj> : k = 1
       //  diff = Vmin<ii> - Vmax<jj> : k = 3
       Standard_Real diff = UV(ii,k) - UV(jj,k+1);
-      // IMPORTANT : for splitted faces sharing same edge, use
+      // IMPORTANT : for split faces sharing same edge, use
       // chklarge = True.
       Standard_Boolean disjoint = chklarge ? (diff >= -tol) : (diff > 0.);
       if (disjoint) return DIFF;
index 69723ec46a7352536e639782c6e1fa3e9c94e975..dc37d527f1694bd305e7a6a078fdc027916252a4 100644 (file)
@@ -455,9 +455,9 @@ void TopOpeBRepTool_FuseEdges::Perform()
 //=======================================================================
 //function : BuildListConnexEdge
 //purpose  : giving one edge, build the list of connex edges which have
-// vertices that have only two connex edges. All the edges that are addes
+// vertices that have only two connex edges. All the edges that are added
 // to the list must be added also to the mapUniq, in order for the caller
-// to not treat again theses edges.
+// to not treat again these edges.
 // This list is always oriented in the "Forward" direction.
 //=======================================================================
 
@@ -569,7 +569,7 @@ Standard_Boolean TopOpeBRepTool_FuseEdges::NextConnexEdge(const TopoDS_Vertex& t
          itFac1.Next();
        }
        
-       // 3rd condition : same suport
+       // 3rd condition : same support
        if (HasConnex) {
          HasConnex = SameSupport(TopoDS::Edge(theEdge),TopoDS::Edge(theEdgeConnex));
        }
index 0e7f64393516f98d9542a17c4c01e305b7470dd9..8ccd846e1152e09f9e24ddf7e684a692ef335300 100644 (file)
@@ -206,9 +206,9 @@ Standard_Boolean TopOpeBRepTool::PurgeClosingEdges(const TopoDS_Face& Fin, const
                                      TopTools_IndexedMapOfOrientedShape& MshNOK)
 {
   // Fin is the original face
-  // FF  is the splitted face
+  // FF  is the split face
 
-  // prequesitory : splitted edges, of edge ancestor a closing edge
+  // prequesitory : split edges, of edge ancestor a closing edge
   //                keep in memory the geometry of the ancestor edge,
   //                they answer True to BRep_Tool::IsClosed.
   // elsewhere : we have to get this information using geometric 
index 30a8af47548d7deb2d0fbee93f81654355c2ef78..89d7df552551922c55bd07090c72bbf24cdb1dca 100644 (file)
@@ -111,7 +111,7 @@ TopoDS_Shape& TopOpeBRepTool_PurgeInternalEdges::Shape()
 
 //=======================================================================
 //function : BuildList
-//purpose  : Build the map of faces with the list of inernal edges.
+//purpose  : Build the map of faces with the list of internal edges.
 //=======================================================================
 
 void TopOpeBRepTool_PurgeInternalEdges::BuildList()
index ca0c9d201358d027c9fff765f7064e2e25504abb..fb0581e26f06e9551fa0e365979e621723e26241 100644 (file)
@@ -252,7 +252,7 @@ Standard_Boolean TopOpeBRepTool_REGUS::WireToFace(const TopoDS_Face& Fanc, const
 
 Standard_Boolean TopOpeBRepTool_REGUS::SplitF(const TopoDS_Face& Fanc, TopTools_ListOfShape& FSplits) 
 {
-  // prequesitory : All edges have already been splitted, there is no 
+  // prequesitory : All edges have already been split, there is no 
   //                internal vertex on edge, except for internal edge.
   TopAbs_Orientation oAnc = Fanc.Orientation();
   TopoDS_Shape aLocalShapeFromFace = Fanc.Oriented(TopAbs_FORWARD);
@@ -699,12 +699,12 @@ Standard_Boolean TopOpeBRepTool_REGUS::NearestF(const TopoDS_Edge& e, const TopT
   ffound.Nullify();
   TopoDS_Face fref = TopoDS::Face(myf);
 
-  // Give us egde <e>, and a reference face <fref> (= <myf>)
+  // Give us edge <e>, and a reference face <fref> (= <myf>)
   // - parameter on <e> = <pare>.
   // - xxi = tangent fo face fi at pnt(e,pare) oriented INSIDE 2d(fi)
   //        normal to tge = tg(e,pare).
   // purpose : looking for ffound / 
-  //  MatterAng(xxref, xxfound) = Min{ MatterAng(xxref, xxi), xxi for fi in <lof> 
+  //  MatterAng(xxref, xxfound) = Min{ MatterAng(xxref, xxi), xxi for fi in <lof>
   //                                 providing fi reduces 3d(fref) }
   
   // <parone> :
index 38bd6ba383d9efdbb1a42ce52a846caef72da0c8..7472c6b764d5dac94512ef21c8922b5de82da3e1 100644 (file)
@@ -285,13 +285,13 @@ Standard_Boolean TopOpeBRepTool_REGUW::MapS()
   
   // Prequesitories :
   //        0) an edge with an INTERNAL vertex binded in <mapVedges> must be
-  //           splitted 
+  //           split 
   //           After splitting such edges, we deal only with FORWARD and       
   //           REVERSED vertices.
   //        1) a vertex belonging to a CLOSING edge is represented by 2 distinct
   //          2d points in the UV space.
   //        2) a vertex belonging to a  DEGENERATED edge has at least 2 UV rep.
-  //          (if the original degenerated edge has been splitted).
+  //          (if the original degenerated edge has been split).
   //          the bounds of the degenerated edge share the same TShape.
   //        3) a CLOSED edge binds the same vertex oriented FORWARD and REVERSED. 
   
@@ -789,7 +789,7 @@ Standard_Boolean TopOpeBRepTool_REGUW::REGU(const Standard_Integer istep,
       }//ite(loEcur)
       FINI = (nite == nE);
             
-      // if Scur = <currentW> gives only one new wire, and has no new splitted edges, <currentW>
+      // if Scur = <currentW> gives only one new wire, and has no new split edges, <currentW>
       // is valid and unchanged.
       Standard_Boolean onewok = FINI && loW.IsEmpty() && !hasnewsplits;
       if (onewok){
index c61b52d0b0ccb708ea89615135c8feadc4d2fc2e..879aa3ed201979ce6a794e34899fddc5065f33ce 100644 (file)
@@ -211,7 +211,7 @@ Standard_Boolean TopOpeBRepTool::Regularize(const TopoDS_Face& theFace,
       //  diff = Umin<ii> - Umax<jj> : k = 1
       //  diff = Vmin<ii> - Vmax<jj> : k = 3
       Standard_Real diff = UV(ii,k) - UV(jj,k+1);
-      // IMPORTANT : for splitted faces sharing same edge, use
+      // IMPORTANT : for split faces sharing same edge, use
       // chklarge = True.
       disjoint = chklarge ? (diff >= -tol) : (diff > 0.);
       if (disjoint) {ismaller = 1; return TopAbs_OUT;}
@@ -348,13 +348,13 @@ Standard_EXPORT Standard_Boolean FUN_tool_ClassifW(const TopoDS_Face& F,
   // Filling the map <mapWlow> : with (key + item) = new face,
   //  item = (newface has holes) ? list of wires IN the wire key: empty list
 
-  // prequesitory : <mapoldWnewW> binds (non splitted wire of <F>, emptylos)
-  //                                    (splitted wire of <F>, splits of the wire)
+  // prequesitory : <mapoldWnewW> binds (non split wire of <F>, emptylos)
+  //                                    (split wire of <F>, splits of the wire)
 
   // Mapping :
   // --------
   // Filling <oldW> : list of wires of <F>
-  // Filling <mapWlow> : with (non-splitted old wire, emptylos),
+  // Filling <mapWlow> : with (non-split old wire, emptylos),
   //                          (split of old wire, emptylos)
   TopTools_ListOfShape oldW;
   Standard_Integer noldW = mapoldWnewW.Extent();
index 7621ca7103433daa0d0735a2ce4e27b080620876..4dd062a4a813beac387961d9221d37025a8fe2da 100644 (file)
@@ -85,26 +85,26 @@ public:
 
   //! classify shape S compared with shape SRef.
   //! AvoidS is not used in classification; AvoidS may be IsNull().
-  //! (usefull to avoid ON or UNKNOWN state in special cases)
+  //! (useful to avoid ON or UNKNOWN state in special cases)
   Standard_EXPORT TopAbs_State StateShapeShape (const TopoDS_Shape& S, const TopoDS_Shape& AvoidS, const TopoDS_Shape& SRef);
   
 
   //! classify shape S compared with shape SRef.
   //! LAvoidS is list of S subshapes to avoid in classification
   //! AvoidS is not used in classification; AvoidS may be IsNull().
-  //! (usefull to avoid ON or UNKNOWN state in special cases)
+  //! (useful to avoid ON or UNKNOWN state in special cases)
   Standard_EXPORT TopAbs_State StateShapeShape (const TopoDS_Shape& S, const TopTools_ListOfShape& LAvoidS, const TopoDS_Shape& SRef);
   
 
   //! classify shape S compared with reference shape.
   //! AvoidS is not used in classification; AvoidS may be IsNull().
-  //! (usefull to avoid ON or UNKNOWN state in special cases)
+  //! (useful to avoid ON or UNKNOWN state in special cases)
   Standard_EXPORT TopAbs_State StateShapeReference (const TopoDS_Shape& S, const TopoDS_Shape& AvoidS);
   
 
   //! classify shape S compared with reference shape.
   //! LAvoidS is list of S subshapes to avoid in classification
-  //! (usefull to avoid ON or UNKNOWN state in special cases)
+  //! (useful to avoid ON or UNKNOWN state in special cases)
   Standard_EXPORT TopAbs_State StateShapeReference (const TopoDS_Shape& S, const TopTools_ListOfShape& LAvoidS);
   
   Standard_EXPORT TopOpeBRepTool_SolidClassifier& ChangeSolidClassifier();
index 2c6e95028dda55d65e84405ae00726dd03fdd9b9..273abbd5cf22cf719e8d971e7c6d9b17329010e0 100644 (file)
@@ -27,7 +27,7 @@ class TopOpeBRepTool_ShapeExplorer : public TopExp_Explorer
 {
 public:
 
-  //! Creates an empty explorer, becomes usefull after Init.
+  //! Creates an empty explorer, becomes useful after Init.
   TopOpeBRepTool_ShapeExplorer() : myIndex(0) 
   {
   }
index 87444074f792dcdd40bfba8fb0db3c501a57c763..776a3b950d7aac0c87d2d755bebaf6139ef7caa9 100644 (file)
@@ -61,7 +61,7 @@ public:
   
   Standard_EXPORT static void UVBOUNDS (const TopoDS_Face& F, Standard_Boolean& UPeri, Standard_Boolean& VPeri, Standard_Real& Umin, Standard_Real& Umax, Standard_Real& Vmin, Standard_Real& Vmax);
   
-  //! ajust u,v values in UVBounds of the domain of the
+  //! adjust u,v values in UVBounds of the domain of the
   //! geometric shape <S>, according to Uperiodicity and
   //! VPeriodicity of the domain.
   //! <S> is assumed to be a face.
@@ -69,7 +69,7 @@ public:
   //! not periodic in U and/or V .
   Standard_EXPORT static void AdjustOnPeriodic (const TopoDS_Shape& S, Standard_Real& u, Standard_Real& v);
   
-  //! indicates wheter shape S1 is a closing shape on S2 or not.
+  //! indicates whether shape S1 is a closing shape on S2 or not.
   Standard_EXPORT static Standard_Boolean Closed (const TopoDS_Shape& S1, const TopoDS_Shape& S2);
   
   Standard_EXPORT static Standard_Real PeriodizeParameter (const Standard_Real par, const TopoDS_Shape& EE, const TopoDS_Shape& FF);
index 9b8e0457b5c8a4c699c006e97d63530006415cf6..10e1c5c1c66f3c78aef07ac74ef6a812d2792cbe 100644 (file)
@@ -35,7 +35,7 @@
 // ----------------------------------------------------------------------
 Standard_EXPORT gp_Dir FUN_tool_nCinsideS(const gp_Dir& tgC,const gp_Dir& ngS)
 {
-  // Give us a curve C on suface S,<parOnC>,a parameter
+  // Give us a curve C on surface S,<parOnC>,a parameter
   // Purpose : compute normal vector to C,tangent to S at
   //           given point,oriented INSIDE S  
   // <tgC> : geometric tangent at point of <parOnC>
index 7733994bcc4f483b5ccf0335f16e32fdbe53a578..be91dcf7124d6ca75fb2408afcbbd216d92a5a07 100644 (file)
@@ -19,7 +19,7 @@
 //              On Unix platforms:
 //              ------------------
 //                In method Read(Standard_IStream &IS), during the version 
-//                authentification we cut last '\r' in the line (which will
+//                authentication we cut last '\r' in the line (which will
 //                be present if file is in DOS coding)
 
 #include <Message_ProgressScope.hxx>
index 8584168d369fade0097691121ed0be7921e9a7c0..f560df1b0313d188a5bd63ca762020ea2e78305e 100644 (file)
@@ -86,7 +86,7 @@ void TopTrans_CurveTransition::Compare (const Standard_Real Tole,
       S = O;
   }
 
-  // It is the first comparaison for this complex transition 
+  // It is the first comparison for this complex transition
   if (Init) {
     Init=Standard_False;
     TgtFirst =T;
index 0edbf2c9fd5589b75ff536abc33e775ef1b8232f..39d62a93a7058bc3dedecc2c610df08826864dcb 100644 (file)
@@ -62,8 +62,7 @@ public:
   //! of a Curve.
   Standard_EXPORT void Reset (const gp_Dir& Tgt, const gp_Dir& Norm, const Standard_Real Curv);
   
-  //! Initialize a Transition with the local description
-  //! of a straigth line.
+  //! Initialize a Transition with the local description of a straight line.
   Standard_EXPORT void Reset (const gp_Dir& Tgt);
   
   //! Add  a curve element to the  boundary.    If Or is
index adbfec759526fe4b123da3052009f6697b4db985..c5b5009743a31845498d363cdb78ff79ab1e47c8 100644 (file)
@@ -27,7 +27,7 @@ static Standard_Boolean STATIC_DEFINED = Standard_False;
 
 static gp_Dir FUN_nCinsideS(const gp_Dir& tgC, const gp_Dir& ngS)
 {
-  // Give us a curve C on suface S, <parOnC>, a parameter
+  // Give us a curve C on surface S, <parOnC>, a parameter
   // Purpose : compute normal vector to C, tangent to S at
   //           given point , oriented INSIDE S  
   // <tgC> : geometric tangent at point of <parOnC>
@@ -111,7 +111,7 @@ static Standard_Integer FUN_refnearest(const Standard_Real Angref, const TopAbs_
     // Analysis for tangent cases : if two boundary faces are same sided
     // and have tangent normals, if they have opposite orientations
     // we choose INTERNAL as resulting complex transition (case EXTERNAL
-    // refering to no logical case)
+    // referring to no logical case)
     if (TopAbs::Complement(Ori) == Oriref) return M_Ointernal;
     else return (Standard_Integer ) M_Unknown; // nyi FUN_RAISE
   }
index 83cb044402b5499f469716cda3ea3fdd16a94a9c..cfd41589c5bdd200b8e3845751efb8a106ba0096 100644 (file)
@@ -61,7 +61,7 @@ class TopoDSToStep_MakeStepVertex;
 //! MakeFacetedBrepAndBrepWithVoids
 //! MakeShellBasedSurfaceModel
 //! Each of these classes call the Builder
-//! The class tool centralizes some common informations.
+//! The class tool centralizes some common information.
 class TopoDSToStep 
 {
 public:
index c46ad6fb4863efdc07f5ded59bd2711442148553..ed6f7353371c44e1f9fafe5a618d75db58bde572 100644 (file)
@@ -259,7 +259,7 @@ Standard_Boolean TopoDSToStep_WireframeBuilder::
          C2d->IsKind(STANDARD_TYPE(Geom2d_Line))) iaplan = Standard_True;
     }
 
-    // to be modified : cf and cl are the topological trimming prameter
+    // to be modified : cf and cl are the topological trimming parameter
     // these are computed after ! (U1 and U2) -> cf and cl instead
     if (iaplan) {
       gp_Pnt Pnt1 = CA.Value(CA.FirstParameter()), Pnt2 = CA.Value(CA.LastParameter());
index 018ab96b31fb6c7bd1e58058842216c0154ac3fd..b90798319075b6fa321ee7fbfa004215f7474986 100644 (file)
@@ -1635,7 +1635,7 @@ static Standard_Integer VPlaneBuilder (Draw_Interpretor& /*di*/,
       }
       else
       {
-        Message::SendFail ("Error: Builded surface is not a plane.");
+        Message::SendFail ("Error: Built surface is not a plane.");
         return 1;
       }
     }
index 161d1f41f509cb9282e5270f40b5eb5ad0173138..54d449c1a44704f96b100c2335c5eef501af0eb4 100644 (file)
@@ -242,7 +242,7 @@ void XCAFPrs::CollectStyleSettings (const TDF_Label& theLabel,
 
         // set style for all component from Next Usage Occurrence.
       #ifdef OCCT_DEBUG
-        std::cout << "Set the style for SHUO next_usage-occurrance" << std::endl;
+        std::cout << "Set the style for SHUO next_usage-occurrence" << std::endl;
       #endif
         /* 
         // may be work, but static it returns excess shapes. It is more faster to use OLD version.
index 4d144eb4a2ca1dd0300eb84d8e4101a2d46bd07b..7f3fb12fbb03e6944c6af2d7d818a4b65018f819 100644 (file)
@@ -20,6 +20,6 @@ foreach e [explode r] {
   if {[validrange $e] == "edge has no valid range"} {
     regexp {Mass : *([0-9\-+.eE]+)} [lprops $e] dummy len
     regexp {Tolerance MAX=([0-9\-+.eE]+)} [tolerance $e] dummy tol
-    puts "Error: edge $e (lenth=$len, tolerance=$tol) is too small"
+    puts "Error: edge $e (length=$len, tolerance=$tol) is too small"
   }
 }
index dd524b4f126ce9b830cf5bd9dd0e884e767009de..7ab7b3b67ec91c2e6e18e6187a4b555bf6136b35 100644 (file)
@@ -19,6 +19,6 @@ foreach e [explode r] {
   if {[validrange $e] == "edge has no valid range"} {
     regexp {Mass : *([0-9\-+.eE]+)} [lprops $e] dummy len
     regexp {Tolerance MAX=([0-9\-+.eE]+)} [tolerance $e] dummy tol
-    puts "Error: edge $e (lenth=$len, tolerance=$tol) is too small"
+    puts "Error: edge $e (length=$len, tolerance=$tol) is too small"
   }
 }