]> OCCT Git - occt.git/commitdiff
0031939: Coding - correction of spelling errors in comments [part 8]
authorluz paz <luzpaz@users.noreply.github.com>
Mon, 1 Feb 2021 09:52:47 +0000 (12:52 +0300)
committerbugmaster <bugmaster@opencascade.com>
Wed, 3 Feb 2021 15:31:42 +0000 (18:31 +0300)
Fix various typos

Fixed via codespell v2.1.dev

110 files changed:
src/BOPAlgo/BOPAlgo_PaveFiller_8.cxx
src/BRepAlgo/BRepAlgo.cxx
src/BRepCheck/BRepCheck_Shell.cxx
src/BRepFeat/BRepFeat_Form.cxx
src/BRepFeat/BRepFeat_MakeRevolutionForm.cxx
src/BRepFeat/BRepFeat_StatusError.hxx
src/BRepFill/BRepFill_LocationLaw.cxx
src/BRepGProp/BRepGProp_MeshProps.cxx
src/BRepLib/BRepLib.cxx
src/BRepLib/BRepLib.hxx
src/BRepLib/BRepLib_FindSurface.hxx
src/BRepLib/BRepLib_FuseEdges.cxx
src/BRepLib/BRepLib_MakeShell.hxx
src/BRepLib/BRepLib_MakeWire.hxx
src/BRepLib/BRepLib_MakeWire_1.cxx
src/BRepMAT2d/BRepMAT2d_LinkTopoBilo.hxx
src/BRepMesh/BRepMesh_Delaun.cxx
src/BRepMeshData/BRepMeshData_Edge.hxx
src/BRepOffset/BRepOffset_Tool.cxx
src/BRepOffsetAPI/BRepOffsetAPI_MakePipeShell.hxx
src/BRepTest/BRepTest_CheckCommands.cxx
src/BRepTools/BRepTools_Quilt.hxx
src/BSplCLib/BSplCLib.cxx
src/BSplCLib/BSplCLib.hxx
src/BSplCLib/BSplCLib_2.cxx
src/BiTgte/BiTgte_Blend.cxx
src/BinTObjDrivers/BinTObjDrivers_ReferenceDriver.cxx
src/Bnd/Bnd_Box.hxx
src/BndLib/BndLib_Add2dCurve.hxx
src/DDocStd/DDocStd_ApplicationCommands.cxx
src/Draw/Draw_View.hxx
src/Extrema/Extrema_GenExtPS.cxx
src/UnitsMethods/UnitsMethods.cxx
src/V3d/V3d_Plane.hxx
src/V3d/V3d_View.hxx
src/ViewerTest/ViewerTest.cxx
src/ViewerTest/ViewerTest_ObjectCommands.cxx
src/ViewerTest/ViewerTest_RelationCommands.cxx
src/ViewerTest/ViewerTest_ViewerCommands.cxx
src/Vrml/Vrml_DirectionalLight.hxx
src/VrmlData/VrmlData_ShapeConvert.cxx
src/VrmlData/VrmlData_ShapeConvert.hxx
src/XCAFDoc/XCAFDoc_Area.hxx
src/XCAFDoc/XCAFDoc_ColorTool.cxx
src/XCAFDoc/XCAFDoc_DimTolTool.hxx
src/XCAFDoc/XCAFDoc_GraphNode.hxx
src/XCAFDoc/XCAFDoc_LayerTool.hxx
src/XCAFDoc/XCAFDoc_MaterialTool.cxx
src/XCAFDoc/XCAFDoc_ShapeMapTool.cxx
src/XCAFDoc/XCAFDoc_ShapeTool.cxx
src/XCAFDoc/XCAFDoc_ShapeTool.hxx
src/XCAFNoteObjects/XCAFNoteObjects_NoteObject.hxx
src/XCAFPrs/XCAFPrs_AISObject.cxx
src/XDEDRAW/XDEDRAW.cxx
src/XDEDRAW/XDEDRAW_Common.cxx
src/XDEDRAW/XDEDRAW_Props.cxx
src/XDEDRAW/XDEDRAW_Shapes.cxx
src/XSAlgo/XSAlgo_AlgoContainer.cxx
src/XSControl/XSControl_Controller.hxx
src/XSControl/XSControl_FuncShape.cxx
src/XSControl/XSControl_FuncShape.hxx
src/XSControl/XSControl_Reader.hxx
src/XSControl/XSControl_WorkSession.hxx
src/XSDRAW/XSDRAW.hxx
src/XSDRAW/XSDRAW_Functions.hxx
src/XSDRAWIGES/XSDRAWIGES.cxx
src/XSDRAWSTEP/XSDRAWSTEP.cxx
src/XSDRAWSTLVRML/XSDRAWSTLVRML_DataSource.hxx
src/XSDRAWSTLVRML/XSDRAWSTLVRML_DataSource3D.hxx
src/XSMessage/XSMessage_XSTEP_us.pxx
src/XSMessage/XSTEP.us
src/XmlLDrivers/XmlLDrivers_DocumentRetrievalDriver.cxx
src/XmlLDrivers/XmlLDrivers_DocumentStorageDriver.cxx
src/XmlMDataStd/XmlMDataStd_ByteArrayDriver.cxx
src/XmlMDataStd/XmlMDataStd_ExtStringArrayDriver.cxx
src/XmlObjMgt/XmlObjMgt.cxx
src/XmlObjMgt/XmlObjMgt_Array1.hxx
src/XmlOcafResource/XmlOcaf.xsd
src/XmlTObjDrivers/XmlTObjDrivers_XYZDriver.cxx
tests/bugs/modalg_2/bug22770_1
tests/bugs/modalg_2/bug22770_10
tests/bugs/modalg_2/bug22770_11
tests/bugs/modalg_2/bug22770_12
tests/bugs/modalg_2/bug22770_13
tests/bugs/modalg_2/bug22770_14
tests/bugs/modalg_2/bug22770_15
tests/bugs/modalg_2/bug22770_16
tests/bugs/modalg_2/bug22770_17
tests/bugs/modalg_2/bug22770_18
tests/bugs/modalg_2/bug22770_19
tests/bugs/modalg_2/bug22770_2
tests/bugs/modalg_2/bug22770_20
tests/bugs/modalg_2/bug22770_21
tests/bugs/modalg_2/bug22770_22
tests/bugs/modalg_2/bug22770_23
tests/bugs/modalg_2/bug22770_24
tests/bugs/modalg_2/bug22770_25
tests/bugs/modalg_2/bug22770_26
tests/bugs/modalg_2/bug22770_27
tests/bugs/modalg_2/bug22770_28
tests/bugs/modalg_2/bug22770_29
tests/bugs/modalg_2/bug22770_3
tests/bugs/modalg_2/bug22770_30
tests/bugs/modalg_2/bug22770_4
tests/bugs/modalg_2/bug22770_5
tests/bugs/modalg_2/bug22770_6
tests/bugs/modalg_2/bug22770_7
tests/bugs/modalg_2/bug22770_8
tests/bugs/modalg_2/bug22770_9
tests/bugs/modalg_6/bug28690

index 0682b09f254ef4abb88776508481fa1d87251607..69619a00439161438f16f5deff1bbf27c32ea801 100644 (file)
@@ -69,7 +69,7 @@ void BOPAlgo_PaveFiller::ProcessDE()
   Handle(BOPDS_PaveBlock) aPBD;
   TColStd_ListIteratorOfListOfInteger aItLI;
   //
-  // 1. Find degnerated edges
+  // 1. Find degenerated edges
   //-----------------------------------------------------scope f
   //
   aAllocator=
index 46cbe8f2822161e4d0a8c42acbfd5df53bf46aad..75574ac1911da24f5f1495eb7e36ef94633113f4 100644 (file)
@@ -145,7 +145,7 @@ TopoDS_Wire  BRepAlgo::ConcatenateWire(const TopoDS_Wire& W,
       closed_flag = Standard_True ;
     }                                                        //with the toler value
     Handle(TColGeom_HArray1OfBSplineCurve)  concatcurve;     //array of the concatenated curves
-    Handle(TColStd_HArray1OfInteger)        ArrayOfIndices;  //array of the remining Vertex
+    Handle(TColStd_HArray1OfInteger)        ArrayOfIndices;  //array of the remaining Vertex
     if (Option==GeomAbs_G1)
       GeomConvert::ConcatG1(tab,
       tabtolvertex,
@@ -482,7 +482,7 @@ TopoDS_Edge  BRepAlgo::ConcatenateWireC0(const TopoDS_Wire& aWire)
     }
 
     Handle(TColGeom_HArray1OfBSplineCurve)  concatcurve;     //array of the concatenated curves
-    Handle(TColStd_HArray1OfInteger)        ArrayOfIndices;  //array of the remining Vertex
+    Handle(TColStd_HArray1OfInteger)        ArrayOfIndices;  //array of the remaining Vertex
     GeomConvert::ConcatC1(tab,
       tabtolvertex,
       ArrayOfIndices,
index 0da1b61d18598d6c6feec5de65d31a6743c5f563..d15b330b3282a16e1db5bf6de732675d6efab2a1 100644 (file)
@@ -737,7 +737,7 @@ BRepCheck_Status BRepCheck_Shell::Orientation(const Standard_Boolean Update)
     orf = (TopAbs_Orientation)MapOfShapeOrientation.Find(Fcur);
     Fcur.Orientation(orf);
     std::cout << "    Error : this face has been already examined " << std::endl;
-    std::cout << "    Imposible to return it ";
+    std::cout << "    Impossible to return it ";
     PrintShape(Fcur, MapOfShapeOrientation.NbBuckets());
   }
 #endif
index e7496701646c6057fbc6d97ea26915c8138b7c0b..e04e2ce91947201be1d812f60fbf7d4e88625746 100644 (file)
@@ -250,7 +250,7 @@ static void Descendants(const TopoDS_Shape&,
           continue;
 
 // for base case prism on mySUntil -> ambivalent direction
-//      ->  preferrable direction = 1
+//      ->  preferable direction = 1
         if(sens != 1) {
           if (ASI2.Point(jj,1).Parameter()*
               ASI2.Point(jj,ASI2.NbPoints(jj)).Parameter()<=0) 
index 9cefa8221bb11c826da240857f47d073ec9d49cc..a2525e7583a70b0f34c15934cac0885a34464369 100644 (file)
@@ -468,7 +468,7 @@ void BRepFeat_MakeRevolutionForm::Init(const TopoDS_Shape& Sbase,
 // Construct a great profile that goes till the bounding box
 // -> by tangency with first and last edge of the Wire
 // -> by normals to base faces : statistically better
-// Intersect everythin to find the final profile
+// Intersect everything to find the final profile
 
 
 // ---case of sliding : construction of the face profile
index 4ef6a67149e2914e6f93fc4bb81126ce129101aa..590613301680f8834cb4e375d7cce2591627d3be 100644 (file)
@@ -17,7 +17,7 @@
 #ifndef _BRepFeat_StatusError_HeaderFile
 #define _BRepFeat_StatusError_HeaderFile
 
-//! Discribes the error.
+//! Describes the error.
 enum BRepFeat_StatusError
 {
 BRepFeat_OK,
index cb7b44e7285531f6c7e1595fd624e93d2dc7f761..88fb76449ebb58a28c041a16bd28ae5d36020dc9 100644 (file)
@@ -65,7 +65,7 @@ static Standard_Real Norm(const gp_Mat& M) {
 
 //=======================================================================
 //function : ToG0
-//purpose  : Calculate tranformation T such as T.M2 = M1
+//purpose  : Calculate transformation T such as T.M2 = M1
 //=======================================================================
 
 static void ToG0(const gp_Mat& M1, const gp_Mat& M2, gp_Mat& T) {
index 408208a6017efebf8ccec225da87684d5f7e8337..24b14885d0b6b61402a342573d472ef881f7f682 100644 (file)
@@ -257,7 +257,7 @@ void BRepGProp_MeshProps::Perform(const TColgp_Array1OfPnt& theNodes,
 
   Standard_Boolean isVolume = myType == Vinert;
   Standard_Integer i;
-  Standard_Integer n1, n2, n3; //node indeces
+  Standard_Integer n1, n2, n3; //node indices
   for (i = theTriangles.Lower(); i <= theTriangles.Upper(); ++i)
   {
     const Poly_Triangle& aTri = theTriangles(i);
index 62363c085f5bd35f512cee6e48171ed68728268b..a76be168ab4801cbf1d6473008c84dc8b0a839fe 100644 (file)
@@ -2129,7 +2129,7 @@ static GeomAbs_Shape tgtfaces(const TopoDS_Edge& Ed,
 
     // Check conditions for G2 and C2 continuity:
     // * calculate principal curvatures on each surface
-    // * continuity is C2 if directions of principal curvatures are equal on differenct surfaces
+    // * continuity is C2 if directions of principal curvatures are equal on different surfaces
     // * continuity is G2 if directions of principal curvatures are just parallel
     //   and values of curvatures are the same
     aSP1.Curvature(aCrvDir1[0], aCrvLen1[0], aCrvDir1[1], aCrvLen1[1]);
index fe78457b91af393105dad723d9fdff67cb0f47f8..3f585a89b22a51650601171766a76709a1d91b53 100644 (file)
@@ -138,7 +138,7 @@ public:
   //! radius    of  -- the   cylindrical  pipe  surface that
   //! MinToleranceRequest is the minimum tolerance before it
   //! is useful to start testing.
-  //! Usually it should be arround 10e-5
+  //! Usually it should be around 10e-5
   //! contains all -- the curve representation of the edge
   //! returns True if the Edge tolerance had to be updated
   Standard_EXPORT static Standard_Boolean UpdateEdgeTol (const TopoDS_Edge& E, const Standard_Real MinToleranceRequest, const Standard_Real MaxToleranceToCheck);
@@ -148,7 +148,7 @@ public:
   //! Returns True if at  least  one edge was updated --
   //! MinToleranceRequest is the minimum tolerance before
   //! --  it -- is  useful to start  testing.
-  //! Usually it should be arround -- 10e-5--
+  //! Usually it should be around -- 10e-5--
   //!
   //! Warning :The  method is  very  slow  as it  checks all.
   //! Use  only  in interfaces or  processing assimilate batch
index 047182507a73d2526bccfd457c41b66aa0e31d33..0b89a67d91be84119971a178791d7f9fb2bd62be 100644 (file)
@@ -64,7 +64,7 @@ public:
   //! if <OnlyPlane> is true, the computed surface will be
   //! a plane. If it is not possible to find a plane, the
   //! flag NotDone will be set.
-  //! If <OnlyClosed> is true,  then  S  sould be a wire
+  //! If <OnlyClosed> is true,  then  S  should be a wire
   //! and the existing surface,  on  which wire S is not
   //! closed in 2D, will be ignored.
   Standard_EXPORT BRepLib_FindSurface(const TopoDS_Shape& S, const Standard_Real Tol = -1, const Standard_Boolean OnlyPlane = Standard_False, const Standard_Boolean OnlyClosed = Standard_False);
@@ -74,7 +74,7 @@ public:
   //! if <OnlyPlane> is true, the computed surface will be
   //! a plane. If it is not possible to find a plane, the
   //! flag NotDone will be set.
-  //! If <OnlyClosed> is true,  then  S  sould be a wire
+  //! If <OnlyClosed> is true,  then  S  should be a wire
   //! and the existing surface,  on  which wire S is not
   //! closed in 2D, will be ignored.
   Standard_EXPORT void Init (const TopoDS_Shape& S, const Standard_Real Tol = -1, const Standard_Boolean OnlyPlane = Standard_False, const Standard_Boolean OnlyClosed = Standard_False);
index ac1e37be13759e3e511953df40288e477b72db5e..cdf173c5076a462893baa3346fb82a954a2c603f 100644 (file)
@@ -708,7 +708,7 @@ Standard_Boolean BRepLib_FuseEdges::NextConnexEdge(const TopoDS_Vertex& theVerte
          itFac1.Next();
        }
        
-       // 3rd condition : same suport
+       // 3rd condition : same support
        if (HasConnex) {
          HasConnex = SameSupport(TopoDS::Edge(theEdge),TopoDS::Edge(theEdgeConnex));
        }
index 647ecae5029d82baf8cd601dff8be8cf9438b655..0983b99e42a5c44915e6f7847266b751bfcafd41 100644 (file)
@@ -30,7 +30,7 @@ class Geom_Surface;
 class TopoDS_Shell;
 
 
-//! Provides methos to build shells.
+//! Provides methods to build shells.
 //!
 //! Build a shell from a set of faces.
 //! Build untied shell from a non C2 surface
index 6822d76e3d810de1b98a6efcf2ad1fba595dd444..d047d1ab4d208af8f89318109bedc7b049005b0c 100644 (file)
@@ -47,7 +47,7 @@ class TopoDS_Vertex;
 //! - A new wire  is created with the edges  of  the
 //! wire + the edge.
 //!
-//! - If the edge is not connnected  to the wire the
+//! - If the edge is not connected  to the wire the
 //! flag NotDone   is set and  the  method Wire will
 //! raise an error.
 //!
index ab8172473730c0e1124563e5339a725584487434..7dde7a53bb5c249883a0e3ef659242025c28db3b 100644 (file)
@@ -306,7 +306,7 @@ void BRepLib_MakeWire::CreateNewVertices(const NCollection_List<NCollection_List
 {
   //map [old vertex => new vertex]
   //note that already existing shape (i.e. the original ones)
-  //shouldnt be modified on the topological level
+  //shouldn't be modified on the topological level
   NCollection_List<NCollection_List<TopoDS_Vertex>>::Iterator itLLV;
   NCollection_List<TopoDS_Vertex>::Iterator itLV;
   BRep_Builder aBB;
@@ -330,7 +330,7 @@ void BRepLib_MakeWire::CreateNewVertices(const NCollection_List<NCollection_List
 
     if (aNewV.IsNull())
     {
-      //vertices from the original shape isnt found in this group 
+      //vertices from the original shape isn't found in this group 
       //create the new vertex
       aNewV = BRepLib_MakeVertex(aNewC);
       aBB.UpdateVertex(aNewV, aNewTol);
index d8a4424907c60f97aac6fc72b4f0d665f1ba4d98..0c935956a1f568c4c884424ff0de63a4c3bbb5c1 100644 (file)
@@ -34,7 +34,7 @@ class MAT_BasicElt;
 class TopoDS_Wire;
 
 
-//! Constucts links between the Wire or the Face of the explorer and
+//! Constructs links between the Wire or the Face of the explorer and
 //! the BasicElts contained in the bisecting locus.
 class BRepMAT2d_LinkTopoBilo 
 {
index 0df76a7538365f574b84480a73374608073bb842..799d0367c68a40745e02226adaf7c61dff2af924 100644 (file)
@@ -644,7 +644,7 @@ void BRepMesh_Delaun::insertInternalEdges()
 {
   Handle(IMeshData::MapOfInteger) anInternalEdges = InternalEdges();
 
-  // Destruction of triancles intersecting internal edges 
+  // Destruction of triangles intersecting internal edges
   // and their replacement by makeshift triangles
   IMeshData::IteratorOfMapOfInteger anInernalEdgesIt( *anInternalEdges );
   for ( ; anInernalEdgesIt.More(); anInernalEdgesIt.Next() )
index 74a5a57f1995622a6e381fde2640ac20d4fdc7b5..432d4582b19e8cb06ed65780b51ece45793450d4 100644 (file)
@@ -39,7 +39,7 @@ public:
   //! Returns number of pcurves assigned to current edge.
   Standard_EXPORT virtual Standard_Integer PCurvesNb () const Standard_OVERRIDE;
 
-  //! Adds disrete pcurve for the specifed discrete face.
+  //! Adds discrete pcurve for the specified discrete face.
   Standard_EXPORT virtual const IMeshData::IPCurveHandle& AddPCurve (
     const IMeshData::IFacePtr& theDFace,
     const TopAbs_Orientation   theOrientation) Standard_OVERRIDE;
index e3e1b2360a67d5513326eabc488d558f4c201799..93719846c1ed4bbb44903e11084ccbc7bc06cf1c 100644 (file)
@@ -3547,8 +3547,8 @@ void BRepOffset_Tool::ExtentFace (const TopoDS_Face&            F,
         EnLargeFace(TopoDS::Face(ToBuild(E)),StopFace,Standard_False);
         TopoDS_Face NullFace;
         BRepOffset_Tool::Inter3D (EF,StopFace,LInt1,LInt2,Side,E,NullFace,NullFace);
-        // No intersection, it may happen for example for a chosen (non-offseted) planar face and 
-        // its neighbour offseted cylindrical face, if the offset is directed so that 
+        // No intersection, it may happen for example for a chosen (non-offsetted) planar face and
+        // its neighbour offseted cylindrical face, if the offset is directed so that
         // the radius of the cylinder becomes smaller.
         if (LInt1.IsEmpty())
           continue;  
index c3a56e41033454776137ff5dcc6399024a1f097b..a10a9d4f31eb1be7d289cdd65dd7ac731a81282a 100644 (file)
@@ -56,8 +56,8 @@ class Law_Function;
 //! The two global approaches can also be combined.
 //! You can also close the surface later in order to form a solid.
 //! Warning: some limitations exist
-//! -- Mode with auxilary spine is incompatible with hometetic laws
-//! -- Mode with auxilary spine and keep contact produce only CO surface.
+//! -- Mode with auxiliary spine is incompatible with hometetic laws
+//! -- Mode with auxiliary spine and keep contact produce only CO surface.
 class BRepOffsetAPI_MakePipeShell  : public BRepPrimAPI_MakeSweep
 {
 public:
index 489a1b734490e9650f62f9943e9f90d7ae7f487d..deb880998b94624240d0b66a2d5f111145afe700 100644 (file)
@@ -511,7 +511,7 @@ void ContextualDump(Draw_Interpretor& theCommands,
 
 //=======================================================================
 //function : FillProblems
-// purpose : auxilary for StructuralDump
+// purpose : auxiliary for StructuralDump
 //=======================================================================
 static void FillProblems(const BRepCheck_Status stat,
                          Handle(TColStd_HArray1OfInteger)& NbProblems)
@@ -529,7 +529,7 @@ static void FillProblems(const BRepCheck_Status stat,
 
 //=======================================================================
 //function : GetProblemSub
-// purpose : auxilary for StructuralDump
+// purpose : auxiliary for StructuralDump
 //=======================================================================
 static void GetProblemSub(const BRepCheck_Analyzer& Ana,
                           const TopoDS_Shape& Shape,
@@ -577,7 +577,7 @@ static void GetProblemSub(const BRepCheck_Analyzer& Ana,
 
 //=======================================================================
 //function : GetProblemShapes
-// purpose : auxilary for StructuralDump
+// purpose : auxiliary for StructuralDump
 //=======================================================================
 static void GetProblemShapes(const BRepCheck_Analyzer& Ana,
                              const TopoDS_Shape& Shape,
@@ -1745,7 +1745,7 @@ void BRepTest::CheckCommands(Draw_Interpretor& theCommands)
 
   theCommands.Add("checksection", 
                  "checks the closure of a section : checksection name [-r <RefVal>]\n"
-                  "\"-r\" - allowed number of allone vertices.",
+                  "\"-r\" - allowed number of alone vertices.",
                  __FILE__,
                  checksection,
                  g);
index 871ea7c23c5093209daca77949e927f023784074..8bbf15b7cc17079f16a93f44c13683f713715e39 100644 (file)
@@ -29,25 +29,19 @@ class TopoDS_Vertex;
 class TopoDS_Shape;
 
 
-//! A  Tool    to  glue faces  at  common    edges and
-//! reconstruct shells.
+//! A Tool to glue faces at common edges and reconstruct shells.
 //!
-//! The user designate pairs of common edges using the
-//! method Bind. One edge is designated as the edge to
-//! use  in place of the  other one (they are supposed
-//! to   be    geometrically confused,  but  this  not
-//! checked). They can be of opposite directions, this
-//! is specified by the orientations.
+//! The user designate pairs of common edges using the method Bind.
+//! One edge is designated as the edge to use in place of the other one
+//! (they are supposed to be geometrically confused, but this not checked).
+//! They can be of opposite directions, this is specified by the orientations.
 //!
-//! The user can add  shapes with the Add method,  all
-//! the faces are  registred and  copies of faces  and
-//! edges are made to glue at the bound edges.
+//! The user can add shapes with the Add method, all the faces are registered and copies of faces
+//! and edges are made to glue at the bound edges.
 //!
-//! The user can call the Shells  methods to compute a
-//! compound of shells from the current set of faces.
+//! The user can call the Shells methods to compute a compound of shells from the current set of faces.
 //!
-//! If no  binding is made  this class can  be used to
-//! make shell from faces already sharing their edges.
+//! If no binding is made this class can be used to make shell from faces already sharing their edges.
 class BRepTools_Quilt 
 {
 public:
index c35d1934137d3e08af8f9a49b96a7a096daa54a2..2c57202c7d845e8d2094fc91efb4cc197e7f36c8 100644 (file)
@@ -230,7 +230,7 @@ void BSplCLib::LocateParameter
 //function : LocateParameter
 //purpose  : Effective computation
 // pmn 28-01-97 : Add limits of the period as input argument,  
-//                as it is imposible to produce them at this level.
+//                as it is impossible to produce them at this level.
 //=======================================================================
 
 void BSplCLib::LocateParameter 
index d3947e1dd7fe11ac6114850d7fd4b67b067e5d67..1d6dade1ac870f20d1f798f6d734935d0f209e12 100644 (file)
@@ -595,8 +595,8 @@ public:
   Standard_EXPORT static void Unperiodize (const Standard_Integer Degree, const TColStd_Array1OfInteger& Mults, const TColStd_Array1OfReal& Knots, const TColgp_Array1OfPnt2d& Poles, const TColStd_Array1OfReal* Weights, TColStd_Array1OfInteger& NewMults, TColStd_Array1OfReal& NewKnots, TColgp_Array1OfPnt2d& NewPoles, TColStd_Array1OfReal* NewWeights);
   
   //! Set in <NbKnots> and <NbPoles> the number of Knots and
-  //! Poles of the  curve resulting  of  the trimming of the
-  //! BSplinecurve definded with <degree>, <knots>, <mults>
+  //! Poles of the curve resulting from  the trimming of the
+  //! BSplinecurve defined with <degree>, <knots>, <mults>
   Standard_EXPORT static void PrepareTrimming (const Standard_Integer Degree, const Standard_Boolean Periodic, const TColStd_Array1OfReal& Knots, const TColStd_Array1OfInteger& Mults, const Standard_Real U1, const Standard_Real U2, Standard_Integer& NbKnots, Standard_Integer& NbPoles);
   
   Standard_EXPORT static void Trimming (const Standard_Integer Degree, const Standard_Boolean Periodic, const Standard_Integer Dimension, const TColStd_Array1OfReal& Knots, const TColStd_Array1OfInteger& Mults, const TColStd_Array1OfReal& Poles, const Standard_Real U1, const Standard_Real U2, TColStd_Array1OfReal& NewKnots, TColStd_Array1OfInteger& NewMults, TColStd_Array1OfReal& NewPoles);
@@ -766,12 +766,12 @@ public:
   //! Array[i][p]       for     each  p    in
   //! 1..ArrayDimension. If  HomogeneousFlag ==
   //! 0  the  Poles  are  multiplied by   the
-  //! Weights   uppon   Entry   and      once
+  //! Weights   upon   Entry   and      once
   //! interpolation   is    carried  over the
   //! result of the  poles are divided by the
   //! result of   the   interpolation of  the
   //! weights. Otherwise if HomogenousFlag == 1
-  //! the Poles and Weigths are treated homogenously
+  //! the Poles and Weigths are treated homogeneously
   //! that is that those are interpolated as they
   //! are and result is returned without division
   //! by the interpolated weigths.
@@ -788,12 +788,12 @@ public:
   //! B[i] = Array[i][p] for each p in 1..ArrayDimension
   //! If  HomogeneousFlag ==
   //! 0  the  Poles  are  multiplied by   the
-  //! Weights   uppon   Entry   and      once
+  //! Weights   upon   Entry   and      once
   //! interpolation   is    carried  over the
   //! result of the  poles are divided by the
   //! result of   the   interpolation of  the
   //! weights. Otherwise if HomogenousFlag == 1
-  //! the Poles and Weigths are treated homogenously
+  //! the Poles and Weigths are treated homogeneously
   //! that is that those are interpolated as they
   //! are and result is returned without division
   //! by the interpolated weigths.
@@ -1221,7 +1221,7 @@ public:
   //! the Poles  array  according  to the  requests in
   //! ContactOrderArray    that is      :           if
   //! ContactOrderArray(i) has value  d it means  that
-  //! Poles(i)   containes the dth  derivative of  the
+  //! Poles(i)   contains the dth  derivative of  the
   //! function to be interpolated. The length L of the
   //! following arrays must be the same :
   //! Parameters, ContactOrderArray, Poles,
@@ -1242,7 +1242,7 @@ public:
   //! the Poles  array  according  to the  requests in
   //! ContactOrderArray    that is      :           if
   //! ContactOrderArray(i) has value  d it means  that
-  //! Poles(i)   containes the dth  derivative of  the
+  //! Poles(i)   contains the dth  derivative of  the
   //! function to be interpolated. The length L of the
   //! following arrays must be the same :
   //! Parameters, ContactOrderArray, Poles,
@@ -1264,7 +1264,7 @@ public:
   //! the Poles  array  according  to the  requests in
   //! ContactOrderArray    that is      :           if
   //! ContactOrderArray(i) has value  d it means  that
-  //! Poles(i)   containes the dth  derivative of  the
+  //! Poles(i)   contains the dth  derivative of  the
   //! function to be interpolated. The length L of the
   //! following arrays must be the same :
   //! Parameters, ContactOrderArray, Poles,
@@ -1285,7 +1285,7 @@ public:
   //! the Poles  array  according  to the  requests in
   //! ContactOrderArray    that is      :           if
   //! ContactOrderArray(i) has value  d it means  that
-  //! Poles(i)   containes the dth  derivative of  the
+  //! Poles(i)   contains the dth  derivative of  the
   //! function to be interpolated. The length L of the
   //! following arrays must be the same :
   //! Parameters, ContactOrderArray, Poles,
@@ -1306,7 +1306,7 @@ public:
   //! the Poles  array  according  to the  requests in
   //! ContactOrderArray    that is      :           if
   //! ContactOrderArray(i) has value  d it means  that
-  //! Poles(i)   containes the dth  derivative of  the
+  //! Poles(i)   contains the dth  derivative of  the
   //! function to be interpolated. The length L of the
   //! following arrays must be the same :
   //! Parameters, ContactOrderArray
index 54e114d92f761b4c15a65948626870d24be25478..acef2d983ab5541ed634e07abb1a62cc67447f8e 100644 (file)
@@ -646,7 +646,7 @@ void BSplCLib::MovePointAndTangent(const Standard_Real    U,
     
     if (conditions) {
       //
-      // build 2 auxialiary functions 
+      // build 2 auxiliary functions
       // 
       TColStd_Array1OfReal schoenberg_points(1,num_poles) ;
       TColStd_Array1OfReal first_function  (1,num_poles) ;
index a144269c28a06d5f236fdddbcf60dbf3dce84f4d..dae680ea9e9171338dacb59b1eba53ee24eb9134 100644 (file)
@@ -2310,7 +2310,7 @@ void BiTgte_Blend::ComputeShape()
   // Find in the initial Shapel:
   //  - untouched Faces
   //  - generated tubes
-  //  - the faces neighbors of tubes that sould be reconstucted preserving sharing.
+  //  - the faces neighbors of tubes that should be reconstructed preserving sharing.
 
   // For Debug : Visualize edges of the initial shape that should be reconstructed.
 #ifdef DRAW
index 89301a27ff75b2ac28ae0dfec0ce5f380452d845..d6f121ef1b73ce5905e320dd4102f0daeeefa824 100644 (file)
@@ -87,7 +87,7 @@ Standard_Boolean BinTObjDrivers_ReferenceDriver::Paste
     }
     aDS = aModel->GetLabel().Data();
   }
-  // reffered label
+  // referred label
   TDF_Label aLabel;
   if (! theSource.GetLabel (aDS, aLabel)) return Standard_False;
 
index 3d3656373d5a07ee7594f3bab21eddcc5443f241..1cfb7c0fce93d5f4299dc5f670c26349602bdd6c 100644 (file)
@@ -71,12 +71,12 @@ public:
   Standard_EXPORT Bnd_Box();
 
   //! Creates a bounding box, it contains:
-  //! -   minimum/maximum point of bouning box,
+  //! -   minimum/maximum point of bounding box,
   //! The constructed box is qualified Void. Its gap is null.
   Standard_EXPORT Bnd_Box (const gp_Pnt theMin, const gp_Pnt theMax);
 
-  //! Sets this bounding box so that it  covers the whole of 3D space.
-  //! It is infinitely  long in all directions.
+  //! Sets this bounding box so that it covers the whole of 3D space.
+  //! It is infinitely long in all directions.
   void SetWhole() { Flags = WholeMask; }
 
   //! Sets this bounding box so that it is empty. All points are outside a void box.
index 13c375703dbbd29b682bc0f8966764f2a1f9feae..f0554be8979f71fd4888c40bf9243119b6de3565 100644 (file)
@@ -107,7 +107,7 @@ public:
   
   //! Adds to the bounding box B the part of curve C
   //! B is then enlarged by the tolerance value Tol.
-  //! U1, U2 - the parametric range to comute the bounding box;
+  //! U1, U2 - the parametric range to compute the bounding box;
   //! Note: depending on the type of curve, one of the following
   //! representations of the curve C is used to include it in the bounding box B:
   //! -   an exact representation if C is built from a line, a circle or a conic curve,
@@ -117,7 +117,7 @@ public:
 
   //! Adds to the bounding box B the part of curve C
   //! B is then enlarged by the tolerance value Tol.
-  //! U1, U2 - the parametric range to comute the bounding box;
+  //! U1, U2 - the parametric range to compute the bounding box;
   //! Note: depending on the type of curve, one of the following
   //! algorithms  is used to include it in the bounding box B:
   //! -   an exact analytical if C is built from a line, a circle or a conic curve,
index 04bab120a90bccc60315800faaf535c51fd8d1f8..25832eb6bc11060a79cb931794c4f7389e8e9116 100644 (file)
@@ -482,7 +482,7 @@ static Standard_Integer DDocStd_PrintComments (Draw_Interpretor& di,
 }
 
 //=======================================================================
-//function : SetStorageFormatVerison
+//function : SetStorageFormatVersion
 //purpose  : 
 //=======================================================================
 static Standard_Integer DDocStd_SetStorageFormatVersion (Draw_Interpretor& ,
@@ -501,7 +501,7 @@ static Standard_Integer DDocStd_SetStorageFormatVersion (Draw_Interpretor& ,
 }
 
 //=======================================================================
-//function : GetStorageFormatVerison
+//function : GetStorageFormatVersion
 //purpose  : 
 //=======================================================================
 static Standard_Integer DDocStd_GetStorageFormatVersion (Draw_Interpretor& di,
index 347e278b1734a23fd2b6a5f7b1be12b6c24749a4..97eea16fb77197a15e4448265a122928a810729f 100644 (file)
@@ -144,7 +144,7 @@ public: //! @name view API
   //! Initialize view by the type.
   Standard_Boolean Init(const char* theType);
 
-  //! Transformates view matrix.
+  //! Transform view matrix.
   void Transform(const gp_Trsf& theTransformation);
 
   //! Resets frame of current view.
index df2f888e17d8e95102daf6b1ea9d24d877bff1ac..0c904465705fb12565b9e6816503a5dcbfbf2bfb 100644 (file)
@@ -207,7 +207,7 @@ Processing:
         and  RealLast() in case of maximums),
       - table TbSel(0,NbU+1,0,NbV+1) of selection of points for 
         calculation of local extremum (0). When a point will selected,
-       it will not be selectable, as well as the ajacent points 
+       it will not be selectable, as well as the adjacent points
        (8 at least). The corresponding addresses will be set to 1.
   b.b- Calculation of minimums (or maximums):
        All distances from table TbDist are parsed in a loop:
index 953d0b09eaf6591f0f33187abbf5098a61137c6b..6de4275da1aac33afdac3d346dbefbc5d6b476de 100644 (file)
@@ -306,14 +306,14 @@ Handle(Geom2d_Curve) UnitsMethods::DegreeToRadian
     else if (aPcurve->IsKind(STANDARD_TYPE(Geom2d_Parabola))) {
 #ifdef OCCT_DEBUG
       std::cout << "PCURVE of Parabola type" << std::endl;
-      std::cout << "Parameters Not Yet transformed according to LenghtUnit" << std::endl;
+      std::cout << "Parameters Not Yet transformed according to LengthUnit" << std::endl;
 #endif
       return aPcurve;
     }
     else if (aPcurve->IsKind(STANDARD_TYPE(Geom2d_Hyperbola))) {
 #ifdef OCCT_DEBUG
       std::cout << "PCURVE of Hyperbola type" << std::endl;
-      std::cout << "Parameters Not Yet transformed according to LenghtUnit" << std::endl;
+      std::cout << "Parameters Not Yet transformed according to LengthUnit" << std::endl;
 #endif
       return aPcurve;
     }
index 7622239c284929bd1828fe7ec310298335fd3f26..13739ef917fd23971c9a3d0aa392763399ea1ef1 100755 (executable)
@@ -57,7 +57,7 @@ public:
                                  const Standard_Real theC,
                                  const Standard_Real theD);
 
-  //! Display the plane representation in the choosen view.
+  //! Display the plane representation in the chosen view.
   Standard_EXPORT virtual void Display (const Handle(V3d_View)& theView,
                                         const Quantity_Color& theColor = Quantity_NOC_GRAY);
 
@@ -83,7 +83,7 @@ public:
 
 private:
 
-  //! Updates the the plane representation.
+  //! Updates the plane representation.
   Standard_EXPORT void Update();
 
 protected:
index b8fc75e17c325b0e2989b3c250ac9701b1c25ee5..3b4fb6cce29f2b1822c28ddbcaeb213ea69b1321 100644 (file)
@@ -494,7 +494,7 @@ public:
   Standard_EXPORT void SetCenter (const Standard_Integer theXp, const Standard_Integer theYp);
 
   //! Defines the view projection size in its maximum dimension,
-  //! keeping the inital height/width ratio unchanged.
+  //! keeping the initial height/width ratio unchanged.
   Standard_EXPORT void SetSize (const Standard_Real theSize);
 
   //! Defines the Depth size of the view
index 960a5e92df9309f9b422b859da3b4e9b5f7fc6b5..adf3114777ae62300883fbacc1988b6a5f6a6c4a 100644 (file)
@@ -5355,7 +5355,7 @@ static void objInfo (const NCollection_Map<Handle(AIS_InteractiveObject)>& theDe
   }
   else if (theObj->Type() == AIS_KindOfInteractive_Relation)
   {
-    // PrsDim_Dimention and AIS_Relation
+    // PrsDim_Dimension and AIS_Relation
     Handle(PrsDim_Relation) aRelation = Handle(PrsDim_Relation)::DownCast (theObj);
     switch (aRelation->KindOfDimension())
     {
@@ -6870,7 +6870,7 @@ void ViewerTest::Commands(Draw_Interpretor& theCommands)
     "\nSets selection shape type filter in context or remove all filters."
     "\n    : Option -contextfilter : To define a selection filter for two or more types of entity,"
     "\n                              use value AND (OR by default)."
-    "\n    : Option -type set type of selection filter. Filters are applyed with Or combination."
+    "\n    : Option -type set type of selection filter. Filters are applied with Or combination."
     "\n    : Option -clear remove all filters in context",
                  __FILE__,VSelFilter,group);
 
index 5a981c7525b21a5caae7e1ca98605a3f517b320b..48b34dab211935e0abd9a40f8eee18599815fcb5 100644 (file)
@@ -6265,7 +6265,7 @@ static int VVertexMode (Draw_Interpretor& theDI,
 
 //=======================================================================
 //function : VPointCloud
-//purpose  : Create interactive object for arbitary set of points.
+//purpose  : Create interactive object for arbitrary set of points.
 //=======================================================================
 static Standard_Integer VPointCloud (Draw_Interpretor& theDI,
                                      Standard_Integer  theArgNum,
@@ -7161,7 +7161,7 @@ void ViewerTest::ObjectCommands(Draw_Interpretor& theCommands)
 
   theCommands.Add ("vpointcloud",
                    "vpointcloud name shape [-randColor] [-normals] [-noNormals] [-uv]"
-                   "\n\t\t: Create an interactive object for arbitary set of points"
+                   "\n\t\t: Create an interactive object for arbitrary set of points"
                    "\n\t\t: from triangulated shape."
                    "\n"
                    "vpointcloud name x y z r npts {surface|volume}\n"
index 21b73409e773e9ba0c1f70e8f7df40340bc35673..2c85248e1e7facdad69b87ad9cbb1961e902b51c 100644 (file)
@@ -203,7 +203,7 @@ static Standard_Boolean Get3DPointAtMousePosition (const gp_Pnt& theFirstPoint,
 //           -hideunits
 //
 // Warning! flyout is not an aspect value, it is for dimension parameter
-// likewise text position, but text position override other paramaters.
+// likewise text position, but text position override other parameters.
 // For text position changing use 'vmovedim'.
 //=======================================================================
 static int ParseDimensionParams (Standard_Integer  theArgNum,
@@ -382,7 +382,7 @@ static int ParseDimensionParams (Standard_Integer  theArgNum,
       TCollection_AsciiString aValue (theArgVec[++anIt]);
       if (!aValue.IsRealValue (Standard_True))
       {
-        Message::SendFail() << "Error: arrow lenght should be float degree value.";
+        Message::SendFail() << "Error: arrow length should be float degree value.";
         return 1;
       }
       theAspect->ArrowAspect()->SetLength (Draw::Atof (aValue.ToCString()));
index 04c285ffd32abf4d8b2c955c724711c21370cd70..338025686ec3f1a02f98f5e91c6ae570413df6c3 100644 (file)
@@ -2397,7 +2397,7 @@ void ViewerTest::RemoveView (const Handle(V3d_View)& theView,
 
 //==============================================================================
 //function : RemoveView
-//purpose  : Close and remove view from display, clear maps if neccessary
+//purpose  : Close and remove view from display, clear maps if necessary
 //==============================================================================
 void ViewerTest::RemoveView (const TCollection_AsciiString& theViewName, const Standard_Boolean isContextRemoved)
 {
@@ -12355,7 +12355,7 @@ static Standard_Integer VRenderParams (Draw_Interpretor& theDI,
       const Standard_Integer aPbrEnvBakingDiffNbSamples = Draw::Atoi (theArgVec[anArgIter]);
       if (aPbrEnvBakingDiffNbSamples < 1)
       {
-        Message::SendFail ("Syntax error: 'BakingDiffSamplesNumber' of PBR Environtment has to be greater or equal 1");
+        Message::SendFail ("Syntax error: 'BakingDiffSamplesNumber' of PBR Environment has to be greater or equal 1");
         return 1;
       }
       aParams.PbrEnvBakingDiffNbSamples = aPbrEnvBakingDiffNbSamples;
@@ -12373,7 +12373,7 @@ static Standard_Integer VRenderParams (Draw_Interpretor& theDI,
     const Standard_Integer aPbrEnvBakingSpecNbSamples = Draw::Atoi(theArgVec[anArgIter]);
     if (aPbrEnvBakingSpecNbSamples < 1)
     {
-      Message::SendFail ("Syntax error: 'BakingSpecSamplesNumber' of PBR Environtment has to be greater or equal 1");
+      Message::SendFail ("Syntax error: 'BakingSpecSamplesNumber' of PBR Environment has to be greater or equal 1");
       return 1;
     }
     aParams.PbrEnvBakingSpecNbSamples = aPbrEnvBakingSpecNbSamples;
@@ -12390,7 +12390,7 @@ static Standard_Integer VRenderParams (Draw_Interpretor& theDI,
       if (aPbrEnvBakingProbability < 0.f
        || aPbrEnvBakingProbability > 1.f)
       {
-        Message::SendFail ("Syntax error: 'BakingProbability' of PBR Environtment has to be in range of [0, 1]");
+        Message::SendFail ("Syntax error: 'BakingProbability' of PBR Environment has to be in range of [0, 1]");
         return 1;
       }
       aParams.PbrEnvBakingProbability = aPbrEnvBakingProbability;
@@ -14365,7 +14365,7 @@ static int VColorDiff (Draw_Interpretor& theDI, Standard_Integer  theNbArgs, con
 }
  
 //===============================================================================================
-//function : VBVHPrebuid
+//function : VSelBvhBuild
 //purpose  :
 //===============================================================================================
 static int VSelBvhBuild (Draw_Interpretor& /*theDI*/, Standard_Integer theNbArgs, const char** theArgVec)
@@ -14467,7 +14467,7 @@ void ViewerTest::ViewerCommands(Draw_Interpretor& theCommands)
     "\n\t\t: Display name will be used within creation of graphic driver, when specified."
 #endif
     "\n\t\t:  -left,  -top    pixel position of left top corner of the window."
-    "\n\t\t:  -width, -height width and heigth of window respectively."
+    "\n\t\t:  -width, -height width and height of window respectively."
     "\n\t\t:  -cloneActive floag to copy camera and dimensions of active view."
     "\n\t\t:  -exitOnClose when specified, closing the view will exit application."
     "\n\t\t:  -closeOnEscape when specified, view will be closed on pressing Escape."
@@ -14576,7 +14576,7 @@ void ViewerTest::ViewerCommands(Draw_Interpretor& theCommands)
     "  -imageMode    (-imgMode, -imageMd, -imgMd):         sets image fill type\n"
     "  -gradient     (-grad, -gr):                         sets background gradient starting and ending colors\n"
     "  -gradientMode (-gradMode, -gradMd, -grMode, -grMd): sets gradient fill method\n"
-    "  -cubemap      (-cmap, -cm):                         sets environmet cubemap as background\n"
+    "  -cubemap      (-cmap, -cm):                         sets environment cubemap as background\n"
     "  -invertedz    (-invz, -iz):                         sets inversion of Z axis for background cubemap rendering\n"
     "  -order        (-o):                                 defines order of tiles in one image cubemap\n"
     "                                                      (has no effect in case of multi image cubemaps)\n"
@@ -14772,7 +14772,7 @@ void ViewerTest::ViewerCommands(Draw_Interpretor& theCommands)
     "\n\t\t:   window - convert to window coordinates, pixels"
     "\n\t\t:   view   - convert to view projection plane"
     "\n\t\t:   grid   - convert to model coordinates, given on grid"
-    "\n\t\t:   ray    - convert projection ray to model coordiantes"
+    "\n\t\t:   ray    - convert projection ray to model coordinates"
     "\n\t\t: - vconvert v window : convert view to window;"
     "\n\t\t: - vconvert v view   : convert window to view;"
     "\n\t\t: - vconvert x y window : convert view to window;"
@@ -14995,7 +14995,7 @@ void ViewerTest::ViewerCommands(Draw_Interpretor& theCommands)
       "\n\t\t:         [-fov2d  [Angle]] [-lockZup {0|1}]"
       "\n\t\t:         [-xrPose base|head=base]"
       "\n\t\t: Manages camera parameters."
-      "\n\t\t: Displays frustum when presntation name PrsName is specified."
+      "\n\t\t: Displays frustum when presentation name PrsName is specified."
       "\n\t\t: Prints current value when option called without argument."
       "\n\t\t: Orthographic camera:"
       "\n\t\t:   -ortho      activate orthographic projection"
index f928058aa477505eb489890bce0920ddd49f7c3f..54f1b41eb240f0cae92d20c5aa483060ecebe2b9 100644 (file)
@@ -33,7 +33,7 @@ class gp_Vec;
 //! defines a directional  light node of VRML specifying
 //! properties of lights.
 //! This  node  defines  a  directional  light  source  that  illuminates
-//! along  rays  parallel  to  a  given  3-dimentional  vector
+//! along  rays  parallel  to  a  given  3-dimensional  vector
 //! Color is  written  as  an  RGB  triple.
 //! Light intensity must be in the range 0.0 to 1.0, inclusive.
 class Vrml_DirectionalLight 
index bf5d86f086674aa2aef84117a7d04d79929565d4..ae627986e608fdf071f67a2d9e32c0cdacf91bca 100644 (file)
@@ -100,7 +100,7 @@ void VrmlData_ShapeConvert::AddShape (const TopoDS_Shape& theShape,
 
 //=======================================================================
 //function : makeTShapeNode
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 Handle(VrmlData_Geometry) VrmlData_ShapeConvert::makeTShapeNode(const TopoDS_Shape& theShape,
                                                                 const TopAbs_ShapeEnum theShapeType,
index f07ec4561352757b94044658f3789b6f02b43c1b..f93861ee12c9fb129dc6bcc680bf4264aeba9623 100644 (file)
@@ -75,7 +75,7 @@ class VrmlData_ShapeConvert
 
   /**
    * Convert all accumulated shapes and store them in myScene.
-   * The internal data structures are cleared in the end of convertion.
+   * The internal data structures are cleared in the end of conversion.
    * @param theExtractFaces
    *   If True,  converter extracst faces from the shapes. 
    * @param theExtractEdges
index 41ea1f3153f9a51ac21e6eb91381eb8b74b25879..c97cea810bfe7763823dd6c0588c51042a5b96d6 100644 (file)
@@ -55,7 +55,7 @@ public:
   
   Standard_EXPORT Standard_Real Get() const;
   
-  //! Returns volume of area as argument and succes status
+  //! Returns volume of area as argument and success status
   //! returns false if no such attribute at the <label>
   Standard_EXPORT static Standard_Boolean Get (const TDF_Label& label, Standard_Real& area);
   
index b058b0e84ee60b3242616b4220943ec1dc36c0b2..1f32a97baa1bb6db6a32e383b8468bb6a9b6e10b 100644 (file)
@@ -723,7 +723,7 @@ Standard_Boolean XCAFDoc_ColorTool::IsInstanceVisible (const TopoDS_Shape& theSh
 
 //=======================================================================
 //function : ReverseTreeNodes
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 static void ReverseTreeNodes(Handle(TDataStd_TreeNode)& mainNode)
 {
index ae511ab318c8ae31159a6d23283ffccf22f7adad..e7a1f489f4b343050a1830ccc505b421c90821c3 100644 (file)
@@ -120,7 +120,7 @@ public:
   Standard_EXPORT void GetDimTolLabels (TDF_LabelSequence& Labels) const;
   
   //! Finds a dimension tolerance definition in the GD&T table 
-  //! sutisfying the specified kind, values, name and description
+  //! satisfying the specified kind, values, name and description
   //! and returns its label if found.
   //! Returns False if dimension tolerance is not found in DGTtable.
   Standard_EXPORT Standard_Boolean FindDimTol (const Standard_Integer theKind, 
@@ -130,14 +130,14 @@ public:
                                                TDF_Label& lab) const;
   
   //! Finds a dimension tolerance in the GD&T table 
-  //! sutisfying the specified kind, values, name and description
+  //! satisfying the specified kind, values, name and description
   //! and returns its label if found (or Null label else).
   Standard_EXPORT TDF_Label FindDimTol (const Standard_Integer theKind, 
                                         const Handle(TColStd_HArray1OfReal)& theVal, 
                                         const Handle(TCollection_HAsciiString)& theName, 
                                         const Handle(TCollection_HAsciiString)& theDescription) const;
   
-  //! Adds a dimension tolerance definition with the specified
+  //! Adds a dimension tolerance definition with the specified
   //! kind, value, name and description to the GD&T table and returns its label.
   Standard_EXPORT TDF_Label AddDimTol (const Standard_Integer theKind, 
                                        const Handle(TColStd_HArray1OfReal)& theVal, 
@@ -155,7 +155,7 @@ public:
                                        const Handle(TCollection_HAsciiString)& theName, 
                                        const Handle(TCollection_HAsciiString)& theDescription) const;
   
-  //! Gets all shape labels reffered by theL label of the GD&T table.
+  //! Gets all shape labels referred by theL label of the GD&T table.
   //! Returns False if there are no shape labels added to the sequences.
   Standard_EXPORT Standard_Boolean GetRefShapeLabel (const TDF_Label& theL, 
                                                      TDF_LabelSequence& theShapeLFirst, 
@@ -177,7 +177,7 @@ public:
   //! in the GD&T table.
   Standard_EXPORT void GetDatumLabels (TDF_LabelSequence& Labels) const;
   
-  //! Finds a datum sutisfying the specified name, description and
+  //! Finds a datum satisfying the specified name, description and
   //! identification and returns its label if found.
   Standard_EXPORT Standard_Boolean FindDatum (const Handle(TCollection_HAsciiString)& theName, 
                                               const Handle(TCollection_HAsciiString)& theDescription, 
index cf54212b7ab301161d3df0997afa674953ce0e1b..f0be0868e769aff31af774a9e5f6996c1f4abe09 100644 (file)
@@ -37,7 +37,7 @@ DEFINE_STANDARD_HANDLE(XCAFDoc_GraphNode, TDF_Attribute)
 
 //! This attribute allow user multirelation tree of labels.
 //! This GraphNode is experimental Graph that not control looping and redundance.
-//! Attribute containg sequence of father's and child's labels.
+//! Attribute containing sequence of father's and child's labels.
 //! Provide create and work with Graph in XCAFDocument.
 class XCAFDoc_GraphNode : public TDF_Attribute
 {
@@ -126,7 +126,7 @@ public:
   Standard_EXPORT Standard_Integer NbChildren() const;
   
   //! Returns the Graph ID (default or explicit one depending
-  //! onthe Set method used).
+  //! 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 65a1d63f409585425a45ce5f4d60ffb45bab19b5..32e868cab564faa0793fb39f8f237649ecd6dbab 100644 (file)
@@ -98,14 +98,14 @@ public:
   
   //! Sets a link from label <L> to Layer
   //! defined by <LayerL>
-  //! optional parametr <shapeInOneLayer> show could shape be
+  //! optional parameter <shapeInOneLayer> show could shape be
   //! in number of layers or only in one.
   Standard_EXPORT void SetLayer (const TDF_Label& L, const TDF_Label& LayerL, const Standard_Boolean shapeInOneLayer = Standard_False) const;
   
   //! Sets a link from label <L> to Layer <aLayer>
   //! in the Layertable
   //! Adds a Layer as necessary
-  //! optional parametr <shapeInOneLayer> show could shape be
+  //! optional parameter <shapeInOneLayer> show could shape be
   //! in number of layers or only in one.
   Standard_EXPORT void SetLayer (const TDF_Label& L, const TCollection_ExtendedString& aLayer, const Standard_Boolean shapeInOneLayer = Standard_False) const;
   
@@ -120,21 +120,21 @@ public:
   //! returns FALSE if <aLayerL> is not a layer label.
   Standard_EXPORT Standard_Boolean UnSetOneLayer (const TDF_Label& L, const TDF_Label& aLayerL) const;
   
-  //! Returns True if label <L> has a Layer assosiated
+  //! Returns True if label <L> has a Layer associated
   //! with the <aLayer>.
   Standard_EXPORT Standard_Boolean IsSet (const TDF_Label& L, const TCollection_ExtendedString& aLayer) const;
   
-  //! Returns True if label <L> has a Layer assosiated
+  //! Returns True if label <L> has a Layer associated
   //! with the <aLayerL> label.
   Standard_EXPORT Standard_Boolean IsSet (const TDF_Label& L, const TDF_Label& aLayerL) const;
   
-  //! Return sequence of strings <aLayerS> that assosiated with label <L>.
+  //! Return sequence of strings <aLayerS> that associated with label <L>.
   Standard_EXPORT Standard_Boolean GetLayers (const TDF_Label& L, Handle(TColStd_HSequenceOfExtendedString)& aLayerS);
   
-  //! Return sequence of labels <aLayerSL> that assosiated with label <L>.
+  //! Return sequence of labels <aLayerSL> that associated with label <L>.
   Standard_EXPORT Standard_Boolean GetLayers (const TDF_Label& L, TDF_LabelSequence& aLayerLS);
   
-  //! Return sequence of strings that assosiated with label <L>.
+  //! Return sequence of strings that associated with label <L>.
   Standard_EXPORT Handle(TColStd_HSequenceOfExtendedString) GetLayers (const TDF_Label& L);
   
   //! Return sequanese of shape labels that assigned with layers to <ShLabels>.
@@ -147,16 +147,16 @@ public:
   //! will set UAttribute with corresponding GUID.
   Standard_EXPORT void SetVisibility (const TDF_Label& layerL, const Standard_Boolean isvisible = Standard_True) const;
   
-  //! Sets a link from label that containig shape <Sh>
+  //! Sets a link from label that containing shape <Sh>
   //! with layer that situated at label <LayerL>.
-  //! optional parametr <shapeInOneLayer> show could shape be
+  //! optional parameter <shapeInOneLayer> show could shape be
   //! in number of layers or only in one.
   //! return FALSE if no such shape <Sh> or label <LayerL>
   Standard_EXPORT Standard_Boolean SetLayer (const TopoDS_Shape& Sh, const TDF_Label& LayerL, const Standard_Boolean shapeInOneLayer = Standard_False);
   
-  //! Sets a link from label that containig shape <Sh>
+  //! Sets a link from label that containing shape <Sh>
   //! with layer <aLayer>. Add <aLayer> to LayerTable if nessesery.
-  //! optional parametr <shapeInOneLayer> show could shape be
+  //! optional parameter <shapeInOneLayer> show could shape be
   //! in number of layers or only in one.
   //! return FALSE if no such shape <Sh>.
   Standard_EXPORT Standard_Boolean SetLayer (const TopoDS_Shape& Sh, const TCollection_ExtendedString& aLayer, const Standard_Boolean shapeInOneLayer = Standard_False);
@@ -173,21 +173,21 @@ public:
   //! returns FALSE if no such layer <aLayerL> or shape <Sh>.
   Standard_EXPORT Standard_Boolean UnSetOneLayer (const TopoDS_Shape& Sh, const TDF_Label& aLayerL);
   
-  //! Returns True if shape <Sh> has a Layer assosiated
+  //! Returns True if shape <Sh> has a Layer associated
   //! with the <aLayer>.
   Standard_EXPORT Standard_Boolean IsSet (const TopoDS_Shape& Sh, const TCollection_ExtendedString& aLayer);
   
-  //! Returns True if shape <Sh> has a Layer assosiated
+  //! Returns True if shape <Sh> has a Layer associated
   //! with the <aLayerL>.
   Standard_EXPORT Standard_Boolean IsSet (const TopoDS_Shape& Sh, const TDF_Label& aLayerL);
   
-  //! Return sequence of strings <aLayerS> that assosiated with shape <Sh>.
+  //! Return sequence of strings <aLayerS> that associated with shape <Sh>.
   Standard_EXPORT Standard_Boolean GetLayers (const TopoDS_Shape& Sh, Handle(TColStd_HSequenceOfExtendedString)& aLayerS);
   
-  //! Return sequence of labels <aLayerLS> that assosiated with shape <Sh>.
+  //! Return sequence of labels <aLayerLS> that associated with shape <Sh>.
   Standard_EXPORT Standard_Boolean GetLayers (const TopoDS_Shape& Sh, TDF_LabelSequence& aLayerLS);
   
-  //! Return sequence of strings that assosiated with shape <Sh>.
+  //! Return sequence of strings that associated with shape <Sh>.
   Standard_EXPORT Handle(TColStd_HSequenceOfExtendedString) GetLayers (const TopoDS_Shape& Sh);
   
   Standard_EXPORT const Standard_GUID& ID() const Standard_OVERRIDE;
index 8ec77e5fd1f5c0ee353da2181ee08d7080efa11e..8802d90bbff73792cb907faddb725c2194bd2b14 100644 (file)
@@ -218,7 +218,7 @@ Standard_Real XCAFDoc_MaterialTool::GetDensityForShape(const TDF_Label& ShapeL)
   if(!MatL.FindAttribute(XCAFDoc_Material::GetID(),MatAttr)) {
     return Dens;
   }
-  // defaul dimension fo density - gram/sm^3
+  // default dimension fo density - gram/sm^3
   // we transfer "sm" into "mm"
   Dens = MatAttr->GetDensity()*0.001; 
   return Dens;
index 552732b84b9a1c59eac9148ead729deb573b1c01..4d1235ac8955ddcb955c79ded93c711f5d29b0fe 100644 (file)
@@ -115,7 +115,7 @@ Standard_Boolean XCAFDoc_ShapeMapTool::IsSubShape(const TopoDS_Shape& sub) const
 
 //=======================================================================
 //function : SetShape
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 static void AddSubShape(const TopoDS_Shape& S,
                         TopTools_IndexedMapOfShape& myMap) 
index 5598c85f9f44e0425ce66ef350b764c8adf5a930..f7ebd963428ac780d99476201a6da87c09859f48 100644 (file)
@@ -508,7 +508,7 @@ TDF_Label XCAFDoc_ShapeTool::addShape (const TopoDS_Shape& S, const Standard_Boo
 
 //=======================================================================
 //function : prepareAssembly
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 static Standard_Boolean prepareAssembly (const TopoDS_Shape& theShape,
                                          TopoDS_Shape& theOUTShape)
@@ -1439,7 +1439,7 @@ void XCAFDoc_ShapeTool::GetExternRefs(const TDF_Label& L,
   }
 }
 
-// API: API work with SHUO (Specified Higher Usage Occurrance) structure
+// API: API work with SHUO (Specified Higher Usage Occurrence) structure
 
 //=======================================================================
 //function : GetSHUO
@@ -1569,7 +1569,7 @@ Standard_Boolean XCAFDoc_ShapeTool::RemoveSHUO (const TDF_Label& L) const
 
 //=======================================================================
 //function : checkForShape
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 
 static Standard_Boolean checkForShape (const TopoDS_Shape& theShape,
@@ -1590,7 +1590,7 @@ static Standard_Boolean checkForShape (const TopoDS_Shape& theShape,
     theLabels.Prepend( theUserL );
     return Standard_True;
   }
-  // try to search deeply (upper by assmebly structure)
+  // try to search deeply (upper by assembly structure)
   TDF_LabelSequence aNewLabels;
   for (Standard_Integer j = 1; j <= theLabels.Length(); j++)
     aNewLabels.Append( theLabels.Value( j ) );
@@ -1634,7 +1634,7 @@ Standard_Boolean XCAFDoc_ShapeTool::FindComponent (const TopoDS_Shape& theShape,
 
 //=======================================================================
 //function : getShapesOfSHUO
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 
 static Standard_Boolean getShapesOfSHUO (TopLoc_IndexedMapOfLocation& theaPrevLocMap,
@@ -1699,7 +1699,7 @@ TopoDS_Shape XCAFDoc_ShapeTool::GetSHUOInstance (const Handle(XCAFDoc_GraphNode)
   // get location of the component
   TopLoc_Location compLoc = XCAFDoc_ShapeTool::GetLocation ( aSHUOlab.Father() );
   TopLoc_IndexedMapOfLocation aPrevLocMap;
-  // get previous setted location 
+  // get previous set location
   if ( !loc.IsIdentity() )
     aPrevLocMap.Add( loc );
   aPrevLocMap.Add( compLoc );
@@ -1712,7 +1712,7 @@ TopoDS_Shape XCAFDoc_ShapeTool::GetSHUOInstance (const Handle(XCAFDoc_GraphNode)
 
 //=======================================================================
 //function : getUsersShapesOfSHUO
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 
 static Standard_Boolean getUsersShapesOfSHUO (TopLoc_IndexedMapOfLocation& aPrevLocMap,
@@ -1726,7 +1726,7 @@ static Standard_Boolean getUsersShapesOfSHUO (TopLoc_IndexedMapOfLocation& aPrev
   TopLoc_Location loc = XCAFDoc_ShapeTool::GetLocation ( theUserL.Father() );
   // get location of the component
   TopLoc_Location compLoc = XCAFDoc_ShapeTool::GetLocation ( theUserL );
-  // get previous setted location 
+  // get previous set location
   aNewPrevLocMap.Add( loc );
   aNewPrevLocMap.Add( compLoc );
   Standard_Integer i;
@@ -1754,7 +1754,7 @@ static Standard_Boolean getUsersShapesOfSHUO (TopLoc_IndexedMapOfLocation& aPrev
 
 //=======================================================================
 //function : GetAllSHUOInstances
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 
 Standard_Boolean XCAFDoc_ShapeTool::GetAllSHUOInstances (const Handle(XCAFDoc_GraphNode)& theSHUO,
@@ -1769,7 +1769,7 @@ Standard_Boolean XCAFDoc_ShapeTool::GetAllSHUOInstances (const Handle(XCAFDoc_Gr
   TopLoc_Location loc = XCAFDoc_ShapeTool::GetLocation ( aSHUOlab.Father().Father() );
   // get location of the component
   TopLoc_Location compLoc = XCAFDoc_ShapeTool::GetLocation ( aSHUOlab.Father() );
-  // get previous setted location 
+  // get previous set location
   if ( !loc.IsIdentity() )
     aPrevLocMap.Add( loc );
   aPrevLocMap.Add( compLoc );
index 8980edb353b5d10e1858a7f383288488764880dc..b20cc35547526104137af64fb96f891bda758b66 100644 (file)
@@ -179,7 +179,7 @@ public:
   //! Returns the label corresponding to shape S
   //! (searches among top-level shapes, not including subcomponents
   //! of assemblies and subshapes)
-  //! If findInstance is False (default), seach for the
+  //! If findInstance is False (default), search for the
   //! input shape without location
   //! If findInstance is True, searches for the
   //! input shape as is.
@@ -211,7 +211,7 @@ public:
   //! If makeAssembly is True, treats TopAbs_COMPOUND shapes
   //! as assemblies (creates assembly structure).
   //! NOTE: <makePrepare> replace components without location
-  //! in assmebly by located components to avoid some problems.
+  //! in assembly by located components to avoid some problems.
   //! If AutoNaming() is True then automatically attaches names.
   Standard_EXPORT TDF_Label AddShape (const TopoDS_Shape& S, const Standard_Boolean makeAssembly = Standard_True, const Standard_Boolean makePrepare = Standard_True);
   
@@ -380,7 +380,7 @@ public:
   //! NOTE: remove any styles that associated with this SHUO.
   Standard_EXPORT Standard_Boolean RemoveSHUO (const TDF_Label& SHUOLabel) const;
   
-  //! Serach the path of labels in the document,
+  //! Search the path of labels in the document,
   //! that corresponds the component from any assembly
   //! Try to search the sequence of labels with location that
   //! produce this shape as component of any assembly
@@ -396,12 +396,12 @@ public:
   //! Returns null attribute if no component in any assembly found.
   Standard_EXPORT Handle(XCAFDoc_GraphNode) SetInstanceSHUO (const TopoDS_Shape& theShape) const;
   
-  //! Seaching for component shapes that styled by shuo
+  //! Searching for component shapes that styled by shuo
   //! Returns empty sequence of shape if no any shape is found.
   Standard_EXPORT Standard_Boolean GetAllSHUOInstances (const Handle(XCAFDoc_GraphNode)& theSHUO, TopTools_SequenceOfShape& theSHUOShapeSeq) const;
   
-  //! Searchs the SHUO by labels of components
-  //! from upper_usage componet to next_usage
+  //! Searches the SHUO by labels of components
+  //! from upper_usage component to next_usage
   //! Returns null attribute if no SHUO found
   Standard_EXPORT static Standard_Boolean FindSHUO (const TDF_LabelSequence& Labels, Handle(XCAFDoc_GraphNode)& theSHUOAttr);
   
index 1039ca022b3cd12a847d08a29361242cd8f94f17..c7bb66e5eb87f97a651e7f11278151310e66613b 100644 (file)
@@ -60,10 +60,10 @@ public:
   //! Sets the text position
   Standard_EXPORT void SetPointText (const gp_Pnt& thePnt);
 
-  //! Returns a tesselated annotation if specified
+  //! Returns a tessellated annotation if specified
   const TopoDS_Shape& GetPresentation() const { return myPresentation; }
 
-  //! Sets a tesselated annotation
+  //! Sets a tessellated annotation
   Standard_EXPORT void SetPresentation (const TopoDS_Shape& thePresentation);
 
   //! Resets data to the state after calling the default constructor
index 64b507a17eb147abfe14075a83447f8f05bcbe71..f24d6644c4677f5bebfd786997a8eed00600ddd9 100644 (file)
@@ -87,7 +87,7 @@ static void DisplayText (const TDF_Label& aLabel,
 
   TDF_LabelSequence seq;
   
-  // attibutes of subshapes
+  // attributes of subshapes
   if (XCAFDoc_ShapeTool::GetSubShapes (aLabel, seq)) {
     Standard_Integer i = 1;
     for (i = 1; i <= seq.Length(); i++) {
@@ -96,7 +96,7 @@ static void DisplayText (const TDF_Label& aLabel,
     }
   }
   
-  // attibutes of components
+  // attributes of components
   seq.Clear();
   if (XCAFDoc_ShapeTool::GetComponents (aLabel, seq)) {
     Standard_Integer i = 1;
@@ -105,7 +105,7 @@ static void DisplayText (const TDF_Label& aLabel,
       DisplayText (aL, aPrs, anAspect, aLocation);
       TDF_Label aRefLabel;
       
-      // attributes of referrences
+      // attributes of references
       TopLoc_Location aLoc = XCAFDoc_ShapeTool::GetLocation (aL);
       if (XCAFDoc_ShapeTool::GetReferredShape (aL, aRefLabel)) {
        DisplayText (aRefLabel, aPrs, anAspect, aLoc);
index f737cb3e02d13039e25de329961804e1226f1730..cf7f492eb2d2d99ba524b3cf0a32d1d82cc219ae 100644 (file)
@@ -1167,7 +1167,7 @@ static Standard_Integer setviewName (Draw_Interpretor& di, Standard_Integer argc
 
 //=======================================================================
 //function : getviewName
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 
 static Standard_Integer getviewName (Draw_Interpretor&  di, Standard_Integer /*argc*/, const char** /*argv*/)
index ac9a94b25a7d24d585687378b04e3aa2ca1dcd97..45cb4b1e0c741971bab5a7f670554a6869414cab 100644 (file)
@@ -496,7 +496,7 @@ static Standard_Integer WriteStep (Draw_Interpretor& di, Standard_Integer argc,
     case '3' : mode = STEPControl_ManifoldSolidBrep;       break;
     case 'w' :
     case '4' : mode = STEPControl_GeometricCurveSet;       break;
-    default :  di<<"3st arg = mode, incorrect [give fsmw]\n"; return 1;
+    default :  di<<"3rd arg = mode, incorrect [give fsmw]\n"; return 1;
     }
     Standard_Boolean wrmode = Standard_True;
     for ( Standard_Integer i = 0; argv[k][i] ; i++ ) 
@@ -684,7 +684,7 @@ void XDEDRAW_Common::InitCommands(Draw_Interpretor& di)
          __FILE__, ReadStep, g);
   di.Add("WriteStep" , "Doc filename [mode=a [multifile_prefix] [label]]: Write DECAF document to STEP file" ,__FILE__, WriteStep, g);  
   
-  di.Add("XFileList","Print list of files that was transfered by the last transfer" ,__FILE__, GetDicWSList , g);
+  di.Add("XFileList","Print list of files that was transferred by the last transfer" ,__FILE__, GetDicWSList , g);
   di.Add("XFileCur", ": returns name of file which is set as current",__FILE__, GetCurWS, g);
   di.Add("XFileSet", "filename: Set the specified file to be the current one",__FILE__, SetCurWS, g);
   di.Add("XFromShape", "shape: do fromshape command for all the files",__FILE__, FromShape, g);
index 859bef8fd254dbf2f686e32b1e2b96fe7c4c73f5..38f078390a9bd1998bd25e70dec98d7d5aa7b085 100644 (file)
@@ -60,7 +60,7 @@
 // --------------------- VolumeFix Begin ---
 //=======================================================================
 //function : TetraVol
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 static double TetraVol(gp_Pnt RefPoint, gp_Pnt Som1, gp_Pnt Som2, gp_Pnt Som3)
 {
@@ -99,7 +99,7 @@ static double TetraVol(gp_Pnt RefPoint, gp_Pnt Som1, gp_Pnt Som2, gp_Pnt Som3)
 
 //=======================================================================
 //function : TetraCen
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 static gp_XYZ TetraCen(gp_Pnt RefPoint, gp_Pnt Som1, gp_Pnt Som2, gp_Pnt Som3)
 {
@@ -112,7 +112,7 @@ static gp_XYZ TetraCen(gp_Pnt RefPoint, gp_Pnt Som1, gp_Pnt Som2, gp_Pnt Som3)
 
 //=======================================================================
 //function : CalculVolume
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 static Standard_Real CalculVolume(const TopoDS_Shape& So,
                                  gp_Pnt&       aRefPoint,
@@ -716,7 +716,7 @@ static Standard_Integer ShapeVolume (Draw_Interpretor& di, Standard_Integer argc
 
 //=======================================================================
 //function : GetMassProps
-//purpose  : auxilary for ShapeMassProps
+//purpose  : auxiliary for ShapeMassProps
 //=======================================================================
 
 static Standard_Boolean GetMassProps(const TDF_Label& aLabel, gp_XYZ& theCenterGravity,
@@ -1003,19 +1003,19 @@ void XDEDRAW_Props::InitCommands(Draw_Interpretor& di)
 
   Standard_CString g = "XDE property's commands";
   
-  di.Add ("XSetVolume","DocName {Label|Shape} volume \t: Seting volume to shape",
+  di.Add ("XSetVolume","DocName {Label|Shape} volume \t: Setting volume to shape",
                   __FILE__, SetVolume, g);
 
   di.Add ("XGetVolume","DocName {Shape|Label} \t: Getting volume of shape",
                   __FILE__, GetVolume, g);
 
-  di.Add ("XSetArea","DocName {Label|Shape} area \t: Seting area to shape",
+  di.Add ("XSetArea","DocName {Label|Shape} area \t: Setting area to shape",
                   __FILE__, SetArea, g);
 
   di.Add ("XGetArea","DocName {Shape|Label} \t: Getting area of shape",
                   __FILE__, GetArea, g);
 
-  di.Add ("XSetCentroid","DocName  {Label|Shape} x y z \t: Seting centroid to shape",
+  di.Add ("XSetCentroid","DocName  {Label|Shape} x y z \t: Setting centroid to shape",
                   __FILE__, SetCentroid, g);
 
   di.Add ("XGetCentroid","DocName {Shape|Label} \t: Getting centroid of shape ",
index a1351b2631ba4d493367252345807a454e67da53..286c7e468535324b079285dace00da27e25411fe 100644 (file)
@@ -1058,7 +1058,7 @@ void XDEDRAW_Shapes::InitCommands(Draw_Interpretor& di)
   di.Add ("XGetFreeShapes","Doc [shape_prefix]\t: Print labels or create DRAW shapes for all free shapes in the Doc",
                    __FILE__, getFreeShapes, g);
 
-  di.Add ("XGetOneShape","shape Doc \t: Put all free shapes of the Doc into signle DRAW shape",
+  di.Add ("XGetOneShape","shape Doc \t: Put all free shapes of the Doc into single DRAW shape",
                    __FILE__, getOneShape, g);
 
   di.Add ("XDumpLocation","Doc Label \t: Dump Transformation() of XCAFDoc_Location attribute",
index 7b3c0f201d625fc4a125a9e1d961c5061ad7c8d6..ee58a6bd692b2839d6aba481b096c38d2544a8ff 100644 (file)
@@ -303,7 +303,7 @@ Standard_Boolean XSAlgo_AlgoContainer::CheckPCurve (const TopoDS_Edge& E,
   if ( DU/8. > (UL/6. - UF/6.) || DV/8. > (VL/6. - VF/6.) ) {
     ShapeBuild_Edge().RemovePCurve(E,face);
 #ifdef OCCT_DEBUG
-    std::cout<<"Removing pcuve periodic"<<std::endl;
+    std::cout<<"Removing pcurve periodic"<<std::endl;
 #endif      
     return Standard_False;
   }
@@ -513,7 +513,7 @@ void XSAlgo_AlgoContainer::MergeTransferInfo(const Handle(Transfer_FinderProcess
     
     if (resBinder.IsNull()) {
       resBinder = new TransferBRep_ShapeBinder(res);
-      //if <orig> shape was splitted, put entities corresponding to new shapes
+      //if <orig> shape was split, put entities corresponding to new shapes
       // into Transfer_TransientListBinder.
       if ( orig.ShapeType() > res.ShapeType() ) {
        TopoDS_Shape sub;
@@ -532,11 +532,11 @@ void XSAlgo_AlgoContainer::MergeTransferInfo(const Handle(Transfer_FinderProcess
           resBinder->AddResult(TransientListBinder);
 //       resBinder->SetNext(TransientListBinder, Standard_True);
 #ifdef OCCT_DEBUG
-         std::cout<<"Info: TransientListBinder created for splitted shape"<<std::endl;
+         std::cout<<"Info: TransientListBinder created for split shape"<<std::endl;
        } 
        else {
          std::cout<<"Warning: XSAlgo_AlgoContainer::MergeTransferInfo() "
-           <<"No results were found for splitted shape. "<<std::endl;
+           <<"No results were found for split shape. "<<std::endl;
          //<<"Transfer_FinderProcess->NbMapped() = "<<FP->NbMapped()<<std::endl;
 #endif   
        }
index 91eac84e3c07245b23f09f62873dd1a076e188dc..7db5fcc974e511037f16a76d5febb4dba78d6bdd 100644 (file)
@@ -59,7 +59,7 @@ DEFINE_STANDARD_HANDLE(XSControl_Controller, Standard_Transient)
 //! instance).
 //!
 //! Finally, Controller can be gathered in a general dictionary then
-//! retreived later by a general call (method Recorded)
+//! retrieved later by a general call (method Recorded)
 //!
 //! It does not manage the produced data, but the Actors make the
 //! link between the norm and the application
@@ -90,7 +90,7 @@ class XSControl_Controller : public Standard_Transient
   
   //! Returns a name, as given when initializing :
   //! rsc = False (D) : True Name attached to the Norm (long name)
-  //! rsc = True : Name of the ressource set (i.e. short name)
+  //! rsc = True : Name of the resource set (i.e. short name)
   Standard_CString Name (const Standard_Boolean rsc = Standard_False) const
   { return (rsc ? myShortName.ToCString() : myLongName.ToCString()); }
   
index e0ddb8bbb7e5265e1ae8a212e93e3b7b1e47d33f..287def65d3d7550dbcdb0efa9418be59e2454a8f 100644 (file)
@@ -472,7 +472,7 @@ static IFSelect_ReturnStatus XSControl_fromshape
       if ( silent ) sout << " in file " << XSControl::Session(pilot)->LoadedFile();
       sout<<std::endl;
     }
-    // abv 31.08.00: treat case of splitted shape (several results)
+    // abv 31.08.00: treat case of split shape (several results)
     // it is supposed that results are of the same type and lie in one-level comp
     else {
       Handle(Transfer_Binder) bnd = FP->Find ( fnd );
index 92ff8ee4fc04bf94112386dc7eca96750b281e44..8fdcac1d3c6dedf522897c85168e81e69c39cdca 100644 (file)
@@ -29,7 +29,7 @@ class XSControl_WorkSession;
 class TCollection_AsciiString;
 
 
-//! Defines additionnal commands for XSControl to :
+//! Defines additional commands for XSControl to :
 //! - control of initialisation (xinit, xnorm, newmodel)
 //! - analyse of the result of a transfer (recorded in a
 //! TransientProcess for Read, FinderProcess for Write) :
index b908e9d1cf6a5a0d8474c07db2c85b32bbd2fa6b..8036bf2efd9629c391e6d19f4aa5de1afdaa31c3 100644 (file)
@@ -139,7 +139,7 @@ public:
   Standard_EXPORT Handle(TColStd_HSequenceOfTransient) GiveList (const Standard_CString first = "", const Standard_CString second = "");
   
   //! Computes a List of entities from the model as follows
-  //! <first> beeing a Selection, <ent> beeing an entity or a list
+  //! <first> being a Selection, <ent> being an entity or a list
   //! of entities (as a HSequenceOfTransient) :
   //! the standard result of this selection applied to this list
   //! if <first> is erroneous, a null handle is returned
index 88ae5a36ef794fac500cfb5e658770d31915cb78..0bdf5d5e712c92c6a23bb7b1ed2a5e0f34ea5fcc 100644 (file)
@@ -94,7 +94,7 @@ class XSControl_WorkSession : public IFSelect_WorkSession
   //! Clears the whole current Context (nullifies it)
   Standard_EXPORT void ClearContext();
   
-  //! Prints the transfer status of a transferred item, as beeing
+  //! Prints the transfer status of a transferred item, as being
   //! the Mapped n0 <num>, from MapWriter if <wri> is True, or
   //! from MapReader if <wri> is False
   //! Returns True when done, False else (i.e. num out of range)
@@ -151,7 +151,7 @@ class XSControl_WorkSession : public IFSelect_WorkSession
   //! No cumulation with former calls to TransferReadOne
   Standard_EXPORT Standard_Integer TransferReadRoots(const Message_ProgressRange& theProgress = Message_ProgressRange());
   
-  //! produces and returns a new Model well conditionned
+  //! produces and returns a new Model well conditioned
   //! It is produced by the Norm Controller
   //! It can be Null (if this function is not implemented)
   Standard_EXPORT Handle(Interface_InterfaceModel) NewModel();
index f309f6a48723f1ec8dc574b38f88472779632c6c..956b428785798afbc672d5ff1e6eda960a6a066d 100644 (file)
@@ -100,7 +100,7 @@ class XSDRAW
   Standard_EXPORT static Handle(IFSelect_SessionPilot) Pilot();
   
   //! Returns the WorkSession defined in AddDraw (through Pilot)
-  //! It is from XSControl, it brings functionnalities for Transfers
+  //! It is from XSControl, it brings functionalities for Transfers
   Standard_EXPORT static Handle(XSControl_WorkSession) Session();
   
   //! Defines a Controller for the command "xinit" and applies it
@@ -161,7 +161,7 @@ class XSDRAW
   Standard_EXPORT static Handle(XSControl_TransferReader) TransferReader();
   
   //! Takes the name of an entity, either as argument, or (if <name>
-  //! is empty) on keybord, and returns the entity
+  //! is empty) on keyboard, and returns the entity
   //! name can be a label or a number (in alphanumeric), it is
   //! searched by NumberFromLabel from WorkSession.
   //! If <name> doesn't match en entity, a Null Handle is returned
index fc436da559012ad3133b6d9716bd8e24dfb60764..32c937cf06c4a931eb2a538d47aba67b19717d7b 100644 (file)
@@ -19,7 +19,7 @@
 
 #include <Standard.hxx>
 
-//! Defines additionnal commands for XSDRAW to :
+//! Defines additional commands for XSDRAW to :
 //! - control of initialisation (xinit, xnorm, newmodel)
 //! - analyse of the result of a transfer (recorded in a
 //! TransientProcess for Read, FinderProcess for Write) :
index 55ae007006f08e9b9cfc845981abcc7fbe353e2f..b0117bf3cb525860d03a5b4dce0074bf927641a6 100644 (file)
@@ -435,7 +435,7 @@ static Standard_Integer brepiges (Draw_Interpretor& di, Standard_Integer n, cons
                          Interface_Static::IVal("write.iges.brep.mode"));
   di<<"unit (write) : "<<Interface_Static::CVal("write.iges.unit")<<"\n";
   di<<"mode  write  : "<<Interface_Static::CVal("write.iges.brep.mode")<<"\n";
-  di<<"  To modifiy : command  param\n";
+  di<<"  To modify : command  param\n";
 
 //  Mode d emploi (K4B ->) : brepiges shape [+shape][ +shape] nomfic
 //   c a d tant qu il y a des + on ajoute ce qui suit
index 7a3d3dfc0ae20d9ff1db26a57103b7d04af2d9f2..ab7cf79a1d8ca888400fb2b4275e4cda887a7588 100644 (file)
@@ -527,7 +527,7 @@ static Standard_Integer stepfileunits (Draw_Interpretor& di, Standard_Integer ar
                                    
   Standard_Integer i =1;
   di<<"=====================================================\n";
-  di<<"LENTH Unit\n";
+  di<<"LENGTH Unit\n";
   for( ; i <= anUnitLengthNames.Length() ; i++)
     di<<anUnitLengthNames(i).ToCString()<<"\n";
   
index 2e478b2471fc8aa178c1f7449ccc71a81dd17748..99282554da0bf6522c675e5c883dd819834206bf 100644 (file)
@@ -46,8 +46,8 @@ public:
   //! Constructor
   Standard_EXPORT XSDRAWSTLVRML_DataSource(const Handle(Poly_Triangulation)& aMesh);
   
-  //! Returns geometry information about node ( if IsElement is False ) or element ( IsElement is True )
-  //! by co-ordinates. For element this method must return all its nodes co-ordinates in the strict order: X, Y, Z and
+  //! Returns geometry information about node (if IsElement is False) or element (IsElement is True) by coordinates.
+  //! For element this method must return all its nodes coordinates in the strict order: X, Y, Z and
   //! with nodes order is the same as in wire bounding the face or link. NbNodes is number of nodes of element.
   //! It is recommended to return 1 for node. Type is an element type.
   Standard_EXPORT Standard_Boolean GetGeom (const Standard_Integer ID, const Standard_Boolean IsElement, TColStd_Array1OfReal& Coords, Standard_Integer& NbNodes, MeshVS_EntityType& Type) const Standard_OVERRIDE;
index dab63e2e8b667a7ec6b14b80366f9546130860eb..1f71e1414362cedd2931fa7c1f298b365f8f77d6 100644 (file)
@@ -47,8 +47,8 @@ public:
   //! Constructor
   Standard_EXPORT XSDRAWSTLVRML_DataSource3D();
   
-  //! Returns geometry information about node ( if IsElement is False ) or element ( IsElement is True )
-  //! by co-ordinates. For element this method must return all its nodes co-ordinates in the strict order: X, Y, Z and
+  //! Returns geometry information about node (if IsElement is False) or element (IsElement is True) by coordinates.
+  //! For element this method must return all its nodes coordinates in the strict order: X, Y, Z and
   //! with nodes order is the same as in wire bounding the face or link. NbNodes is number of nodes of element.
   //! It is recommended to return 1 for node. Type is an element type.
   Standard_EXPORT Standard_Boolean GetGeom (const Standard_Integer theID, const Standard_Boolean theIsElement, TColStd_Array1OfReal& theCoords, Standard_Integer& theNbNodes, MeshVS_EntityType& theType) const Standard_OVERRIDE;
index 79cca7b145f9e2dec9db7996c589d36631869cb8..8405ee34f5a9ab8abafd14b7a627a9df1836796d 100644 (file)
@@ -505,7 +505,7 @@ static const char XSMessage_XSTEP_us[] =
   "Parameter Data : parameter 3 (Number of Boundary entities) is incorrect.\n"
   "!Type 143\n"
   ".XSTEP_168\n"
-  "Parameter Data : parameter %d (Boudary entity)  is incorrect.\n"
+  "Parameter Data : parameter %d (Boundary entity)  is incorrect.\n"
   "!Type 144\n"
   ".XSTEP_169\n"
   "Parameter Data : parameter 1 (Surface to be trimmed)  is incorrect.\n"
@@ -751,10 +751,10 @@ static const char XSMessage_XSTEP_us[] =
   " Transfer error on basic curve : entity skipped.\n"
   "!\n"
   ".IGES_1115\n"
-  " With C0 continuity can not be splitted into Geom_BSplineCurve C1 lower than Precision::Confusion().\n"
+  " With C0 continuity can not be split into Geom_BSplineCurve C1 lower than Precision::Confusion().\n"
   "!\n"
   ".IGES_1120\n"
-  " With C0 continuity was splitted into C1 continuity Geom_BSplineCurve.\n"
+  " With C0 continuity was split into C1 continuity Geom_BSplineCurve.\n"
   "!\n"
   ".IGES_1125\n"
   " Parameter data : parameter 1 (Type of Bounded Surface Representation = 0) : case not implemented. \n"
@@ -850,7 +850,7 @@ static const char XSMessage_XSTEP_us[] =
   " Basis surface is C0-continuous but was corrected to C1-continuous.\n"
   "!\n"
   ".IGES_1270\n"
-  " Basis surface is C0-continuous and is transferred into a TopoDS_Shell. Only first face was offseted.\n"
+  " Basis surface is C0-continuous and is transferred into a TopoDS_Shell. Only first face was offsetted.\n"
   "!\n"
   ".IGES_1275\n"
   " Model Space Representation 0 case not implemented : result is a basis surface.\n"
index 2ed80d81050f106a99bc1a3cdace7ef5b4853e70..ee54cc059d19ca2e0d7b01882825104c53fce5e0 100755 (executable)
@@ -502,7 +502,7 @@ Parameter Data : parameter 2 (Surface entity to be bounded) is incorrect.
 Parameter Data : parameter 3 (Number of Boundary entities) is incorrect.
 !Type 143
 .XSTEP_168
-Parameter Data : parameter %d (Boudary entity)  is incorrect.
+Parameter Data : parameter %d (Boundary entity)  is incorrect.
 !Type 144
 .XSTEP_169
 Parameter Data : parameter 1 (Surface to be trimmed)  is incorrect.
@@ -748,10 +748,10 @@ Exception during loading entity %s
  Transfer error on basic curve : entity skipped.
 !
 .IGES_1115
- With C0 continuity can not be splitted into Geom_BSplineCurve C1 lower than Precision::Confusion().
+ With C0 continuity can not be split into Geom_BSplineCurve C1 lower than Precision::Confusion().
 !
 .IGES_1120
- With C0 continuity was splitted into C1 continuity Geom_BSplineCurve.
+ With C0 continuity was split into C1 continuity Geom_BSplineCurve.
 !
 .IGES_1125
  Parameter data : parameter 1 (Type of Bounded Surface Representation = 0) : case not implemented. 
@@ -847,7 +847,7 @@ Exception during loading entity %s
  Basis surface is C0-continuous but was corrected to C1-continuous.
 !
 .IGES_1270
- Basis surface is C0-continuous and is transferred into a TopoDS_Shell. Only first face was offseted.
+ Basis surface is C0-continuous and is transferred into a TopoDS_Shell. Only first face was offsetted.
 !
 .IGES_1275
  Model Space Representation 0 case not implemented : result is a basis surface.
index daa694d05dbc89627e61bb5cc853c1454115e4ea..fab9c6d2e1af2082b3176f8174318b6127243842 100644 (file)
@@ -268,7 +268,7 @@ void XmlLDrivers_DocumentRetrievalDriver::ReadFromDomDocument
       }
     }
 
-    // oan: OCC22305 - check a document verison and if it's greater than
+    // oan: OCC22305 - check a document version and if it's greater than
     // current version of storage driver set an error status and return
     if( aCurDocVersion > TDocStd_Document::CurrentStorageFormatVersion() )
     {
index 000faa5960ee7b834764fca4971fdc25b25bc4bf..2c7215b806156db8266c8c9450a41c95dcdad28d 100644 (file)
@@ -273,7 +273,7 @@ Standard_Boolean XmlLDrivers_DocumentStorageDriver::WriteToDomDocument
   TDocStd_FormatVersion aFormatVersion = TDocStd_Document::CurrentStorageFormatVersion(); // the last version of the format
   if (TDocStd_Document::CurrentStorageFormatVersion() < aDoc->StorageFormatVersion())
   {
-    TCollection_ExtendedString anErrorString("Unacceptable storage format version, the last verson is used");
+    TCollection_ExtendedString anErrorString("Unacceptable storage format version, the last version is used");
     aMessageDriver->Send (anErrorString.ToExtString(), Message_Warning);
   }
   else
@@ -299,7 +299,7 @@ Standard_Boolean XmlLDrivers_DocumentStorageDriver::WriteToDomDocument
   for(i = 1; i <= aRefs.Length(); i++)
     aUserInfo.Append(aRefs.Value(i));
 
-  // Keep fomat version in Reloc. table
+  // Keep format version in Reloc. table
   Handle(Storage_HeaderData) aHeaderData = theData->HeaderData();
   aHeaderData->SetStorageVersion(aFormatVersion);
   myRelocTable.Clear();
@@ -406,7 +406,7 @@ Standard_Integer XmlLDrivers_DocumentStorageDriver::MakeDocument
 //      Retrieve from DOM_Document
     XmlMDF::FromTo (aTDF, theElement, myRelocTable, myDrivers, theRange);
 #ifdef OCCT_DEBUGXML
-    aMessage = "First step successfull";
+    aMessage = "First step successful";
     aMessageDriver -> Send (aMessage.ToExtString(), Message_Warning);
 #endif
     return myRelocTable.Extent();
index 9e19cacf8ab939ba13a8320ceb13c810e20953cc..53f4d1e6886754a48ae1b91b0ed94d737ccad9d9 100644 (file)
@@ -173,7 +173,7 @@ void XmlMDataStd_ByteArrayDriver::Paste(const Handle(TDF_Attribute)& theSource,
   const Handle(TColStd_HArray1OfByte)& hArr = aByteArray->InternalArray();
   if (!hArr.IsNull() && hArr->Length())
   {
-    // Access to data through an internal reprsentation of the array is faster.
+    // Access to data through an internal representation of the array is faster.
     const TColStd_Array1OfByte& arr = hArr->Array1();
 
     // Allocate 4 characters (including a space ' ') for each byte (unsigned char) from the array.
index 3b7012b463757527afd3975bb6159156c937ed92..a8ab6faff4de8226a5fee95f14c7040f578dd3cb 100644 (file)
@@ -243,7 +243,7 @@ void XmlMDataStd_ExtStringArrayDriver::Paste (const Handle(TDF_Attribute)& theSo
   Standard_Character c = '-';
   if (theRelocTable.GetHeaderData()->StorageVersion().IntegerValue() >= TDocStd_FormatVersion_VERSION_8)
   {
-    // Preferrable symbols for the separator: - _ . : ^ ~
+    // Preferable symbols for the separator: - _ . : ^ ~
     // Don't use a space as a separator: XML low-level parser sometimes "eats" it.
     static Standard_Character aPreferable[] = "-_.:^~";
     for (i = 0; found && aPreferable[i]; i++)
@@ -251,7 +251,7 @@ void XmlMDataStd_ExtStringArrayDriver::Paste (const Handle(TDF_Attribute)& theSo
       c = aPreferable[i];
       found = Contains(aExtStringArray, TCollection_ExtendedString(c));
     }
-    // If all prefferable symbols exist in the array, 
+    // If all preferable symbols exist in the array,
     // try to use any other simple symbols.
     if (found)
     {
index dcb55ef4f9f1e0fd89c4ec2631396767bd422aa9..bf61608dfab283a0ab7088a9d4f4be626055f293 100644 (file)
@@ -239,7 +239,7 @@ void XmlObjMgt::SetTagEntryString (XmlObjMgt_DOMString&           theTarget,
   char * aTargetPtr = aTarget + (sizeof (aRefPrefix) - 1);
 
   for(;;) {
-    //  Check for the end-of-string; find the delimeter ':'
+    //  Check for the end-of-string; find the delimiter ':'
     aPtr = strchr (aTagEntry, ':');
     if (aPtr == NULL) break;
     aTagEntry = aPtr + 1;
index d4131b4ef493ba18bfeb40f82d15eda1e7b0c316..8e618ba036da4d0d0804785952ec977750b1198f 100644 (file)
 #include <XmlObjMgt_DOMString.hxx>
 
 
-//! The class Array1 represents unidimensionnal
+//! The class Array1 represents unidimensional
 //! array of fixed size known at run time.
 //! The range of the index is user defined.
-//! Warning: Programs clients of such class must be independant
+//! Warning: Programs clients of such class must be independent
 //! of the range of the first element. Then, a C++ for
 //! loop must be written like this
 //! for (i = A->Lower(); i <= A->Upper(); i++)
index c4bd9f010d1e2fc4e2d213a0a1101ce34bddb147..8f653b60b7b2b14327f2717f2064eb0d36b7b119 100755 (executable)
@@ -43,7 +43,7 @@
       <element ref="ocaf:AbstractList3RealAtt"/>
     </choice>
     <element name="label" type="ocaf:LabelType" minOccurs="0" maxOccurs="unbounded">
-<!-- This type of uniqueness does not alow recursive structures
+<!-- This type of uniqueness does not allow recursive structures
       <unique name="LabelUniqueness">
         <selector xpath="ocaf:label"/>
         <field xpath="@tag"/>
index 1bee432dc5b087af40a3aae1667d1699546d1f8b..4f097842eb4cac296e9cb162d766c81670e9eb15 100644 (file)
@@ -68,7 +68,7 @@ Standard_Boolean XmlTObjDrivers_XYZDriver::Paste
 {
   const XmlObjMgt_Element& anElement = Source;
   
-  // get co-ordinates
+  // get coordinates
   TCollection_AsciiString CoordX = anElement.getAttribute(::CoordX());
   TCollection_AsciiString CoordY = anElement.getAttribute(::CoordY());
   TCollection_AsciiString CoordZ = anElement.getAttribute(::CoordZ());
@@ -120,15 +120,15 @@ void XmlTObjDrivers_XYZDriver::Paste
 
   TCollection_AsciiString aCoord;
 
-  // co-ordinate X
+  // coordinate X
   aCoord = TCollection_AsciiString( aXYZ.X() );
   Target.Element().setAttribute(::CoordX(), aCoord.ToCString());
 
-  // co-ordinate Y
+  // coordinate Y
   aCoord = TCollection_AsciiString( aXYZ.Y() );
   Target.Element().setAttribute(::CoordY(), aCoord.ToCString());
 
-  // co-ordinate Z
+  // coordinate Z
   aCoord = TCollection_AsciiString( aXYZ.Z() );
   Target.Element().setAttribute(::CoordZ(), aCoord.ToCString());
 }
index 865bb3c24566942cff5b1c55822d0408f77b5b44..d0ed2ca9dd50bbf4181dc1b9188fdd77a07f34bf 100755 (executable)
@@ -3,7 +3,7 @@ puts "OCC22770"
 puts "================"
 puts ""
 #######################################################################################
-# Improve comman sewing in DRAW
+# Improve command sewing in DRAW
 ######################################################################################
 
 set BugNumber OCC22770
index 09d5a7d2a253d3c15d242318b82e0682df4dd869..022002b349a6a71030204fc31cb0fc601ffd1823 100755 (executable)
@@ -3,7 +3,7 @@ puts "OCC22770"
 puts "================"
 puts ""
 #######################################################################################
-# Improve comman sewing in DRAW
+# Improve command sewing in DRAW
 ######################################################################################
 
 set BugNumber OCC22770
index fd420486d12923ffe03f97e6d8148f0e1b3cccc6..d3d9ea13ada8d2a5ef9e914468964516eafd6137 100755 (executable)
@@ -3,7 +3,7 @@ puts "OCC22770"
 puts "================"
 puts ""
 #######################################################################################
-# Improve comman sewing in DRAW
+# Improve command sewing in DRAW
 ######################################################################################
 
 set BugNumber OCC22770
index 138cf578debf5b8d16ecb3074085393cd44c35c9..4f37dee387d960db70bed4e041449c6ab60d677a 100755 (executable)
@@ -3,7 +3,7 @@ puts "OCC22770"
 puts "================"
 puts ""
 #######################################################################################
-# Improve comman sewing in DRAW
+# Improve command sewing in DRAW
 ######################################################################################
 
 set BugNumber OCC22770
index fbe4ce43e45389dbca4d2189f7f2979a37afd278..b8a4d0892cc99bbd695b785b5a4e5b3c4accd1af 100755 (executable)
@@ -9,7 +9,7 @@ puts "OCC22770"
 puts "================"
 puts ""
 #######################################################################################
-# Improve comman sewing in DRAW
+# Improve command sewing in DRAW
 ######################################################################################
 
 set BugNumber OCC22770
index 342c65143c9441a81bb132c450253fd7a10907c8..83c8b3915f118cb528e96ea283ba1028ab85ae8d 100755 (executable)
@@ -3,7 +3,7 @@ puts "OCC22770"
 puts "================"
 puts ""
 #######################################################################################
-# Improve comman sewing in DRAW
+# Improve command sewing in DRAW
 ######################################################################################
 
 set BugNumber OCC22770
index 47dab4893bc10a72b6aa9fe547042b43ef301adc..cc05576f89b861253045e633ec7765ec3da2e99e 100755 (executable)
@@ -9,7 +9,7 @@ puts "OCC22770"
 puts "================"
 puts ""
 #######################################################################################
-# Improve comman sewing in DRAW
+# Improve command sewing in DRAW
 ######################################################################################
 
 set BugNumber OCC22770
index 7b35dc9e43a0c1a599780e3c4ef6a807d6e3ade9..e9c4cbe1d7a798fd6a7e390f3bcc3422e2d5c670 100755 (executable)
@@ -3,7 +3,7 @@ puts "OCC22770"
 puts "================"
 puts ""
 #######################################################################################
-# Improve comman sewing in DRAW
+# Improve command sewing in DRAW
 ######################################################################################
 
 set BugNumber OCC22770
index 1bf58c627e27ac5dd9dee5a3534598473ad799c7..b7d52475523bf1396e73018116176894c81e09b8 100755 (executable)
@@ -3,7 +3,7 @@ puts "OCC22770"
 puts "================"
 puts ""
 #######################################################################################
-# Improve comman sewing in DRAW
+# Improve command sewing in DRAW
 ######################################################################################
 
 set BugNumber OCC22770
index 4c18f970c3c35fd371c542be92477cf6ea7d1772..585379ad381c357433bdc3d4e04ade2ae96de2f7 100755 (executable)
@@ -3,7 +3,7 @@ puts "OCC22770"
 puts "================"
 puts ""
 #######################################################################################
-# Improve comman sewing in DRAW
+# Improve command sewing in DRAW
 ######################################################################################
 
 set BugNumber OCC22770
index 8aeac9158619d3fd0b5f7dd83a148b9125c3f22d..509d0db4cf7ad8c9c595c6a727743e95da468ee5 100755 (executable)
@@ -3,7 +3,7 @@ puts "OCC22770"
 puts "================"
 puts ""
 #######################################################################################
-# Improve comman sewing in DRAW
+# Improve command sewing in DRAW
 ######################################################################################
 
 set BugNumber OCC22770
index cdf71a9c086414f48879e2d21a0c54d4c8554f54..79abbec0fc1860eac54c6b3697f4d4bee27c432f 100755 (executable)
@@ -3,7 +3,7 @@ puts "OCC22770"
 puts "================"
 puts ""
 #######################################################################################
-# Improve comman sewing in DRAW
+# Improve command sewing in DRAW
 ######################################################################################
 
 set BugNumber OCC22770
index 346c64bc100009b40a63b81756047094c82e0955..087daff70c67cdeda053798feeee67eb044160f7 100755 (executable)
@@ -3,7 +3,7 @@ puts "OCC22770"
 puts "================"
 puts ""
 #######################################################################################
-# Improve comman sewing in DRAW
+# Improve command sewing in DRAW
 ######################################################################################
 
 set BugNumber OCC22770
index bfeba2c64a20d995c0ece5f8f66ae4133aba5983..dc2a805084241ced3a7b088ec7deb3a89816f040 100755 (executable)
@@ -3,7 +3,7 @@ puts "OCC22770"
 puts "================"
 puts ""
 #######################################################################################
-# Improve comman sewing in DRAW
+# Improve command sewing in DRAW
 ######################################################################################
 
 set BugNumber OCC22770
index 4be792f96dafaca4e1ce15a8b5de344324d4c2ba..24d9f86a92f6d3d0b265f32fc370e4511f4cbc27 100755 (executable)
@@ -3,7 +3,7 @@ puts "OCC22770"
 puts "================"
 puts ""
 #######################################################################################
-# Improve comman sewing in DRAW
+# Improve command sewing in DRAW
 ######################################################################################
 
 set BugNumber OCC22770
index d48ad3916e043e39f59ff67c528ad04e0db69dd8..03ee225f236556c550f3b87ff93ba6dca2f277e8 100755 (executable)
@@ -3,7 +3,7 @@ puts "OCC22770"
 puts "================"
 puts ""
 #######################################################################################
-# Improve comman sewing in DRAW
+# Improve command sewing in DRAW
 ######################################################################################
 
 set BugNumber OCC22770
index 45fe73d3041862c09487660b7820db936fe51492..8986230620a0350c3939d8a82ddda9b01aba0c31 100755 (executable)
@@ -5,7 +5,7 @@ puts "OCC22770"
 puts "================"
 puts ""
 #######################################################################################
-# Improve comman sewing in DRAW
+# Improve command sewing in DRAW
 ######################################################################################
 
 set BugNumber OCC22770
index fd88aae1405daf2389076f01cdef4ce5edd5de7a..40f6db4bac8d6d63b73c33527e15397587f772a3 100755 (executable)
@@ -5,7 +5,7 @@ puts "OCC22770"
 puts "================"
 puts ""
 #######################################################################################
-# Improve comman sewing in DRAW
+# Improve command sewing in DRAW
 ######################################################################################
 
 set BugNumber OCC22770
index 5fe88694c8f7a5e44071ee22f4f49bd2829afcf9..5a9946a939f2a921cdf2f4a837d44f3e9ce89466 100755 (executable)
@@ -5,7 +5,7 @@ puts "OCC22770"
 puts "================"
 puts ""
 #######################################################################################
-# Improve comman sewing in DRAW
+# Improve command sewing in DRAW
 ######################################################################################
 
 set BugNumber OCC22770
index f96c9bae2314bd4af8a739c952602f28e2ba951b..53e9a28e0b4200d5b71a33fb086213ddc764993f 100755 (executable)
@@ -3,7 +3,7 @@ puts "OCC22770"
 puts "================"
 puts ""
 #######################################################################################
-# Improve comman sewing in DRAW
+# Improve command sewing in DRAW
 ######################################################################################
 
 set BugNumber OCC22770
index b0d774ec3b0921701e461c778466401d2bf30c6c..d3108e7e357e2a6966f623265f7610ba623abc01 100755 (executable)
@@ -3,7 +3,7 @@ puts "OCC22770"
 puts "================"
 puts ""
 #######################################################################################
-# Improve comman sewing in DRAW
+# Improve command sewing in DRAW
 ######################################################################################
 
 set BugNumber OCC22770
index 5467e352ae3692cc918a392df3e42ed813e32d9c..bddbf7375f373d0bfb8ba650192941cddba46a95 100755 (executable)
@@ -3,7 +3,7 @@ puts "OCC22770"
 puts "================"
 puts ""
 #######################################################################################
-# Improve comman sewing in DRAW
+# Improve command sewing in DRAW
 ######################################################################################
 
 set BugNumber OCC22770
index 8d6c4fbb848cf861606e45696571744301ce7e02..87b233307421a2cb0d221da474dd58f90c280a0c 100755 (executable)
@@ -3,7 +3,7 @@ puts "OCC22770"
 puts "================"
 puts ""
 #######################################################################################
-# Improve comman sewing in DRAW
+# Improve command sewing in DRAW
 ######################################################################################
 
 set BugNumber OCC22770
index 6fe96c931d5d25df31ba79174ed6281a89a75f69..62f873b6a24937f4247192f13ea240084cca6827 100755 (executable)
@@ -3,7 +3,7 @@ puts "OCC22770"
 puts "================"
 puts ""
 #######################################################################################
-# Improve comman sewing in DRAW
+# Improve command sewing in DRAW
 ######################################################################################
 
 set BugNumber OCC22770
index 7a3ba9881598e0c69287da0c86cd971f2a8b5cc1..7761e23d02edec8a7c0d899e3031cc295e8360b0 100755 (executable)
@@ -3,7 +3,7 @@ puts "OCC22770"
 puts "================"
 puts ""
 #######################################################################################
-# Improve comman sewing in DRAW
+# Improve command sewing in DRAW
 ######################################################################################
 
 set BugNumber OCC22770
index 43c03eb243935677bcdc65d1deb42e6de56b4218..9e507b21d369be9085f8cc123eaba8a451f45281 100755 (executable)
@@ -3,7 +3,7 @@ puts "OCC22770"
 puts "================"
 puts ""
 #######################################################################################
-# Improve comman sewing in DRAW
+# Improve command sewing in DRAW
 ######################################################################################
 
 set BugNumber OCC22770
index 15d653add429f054c1e0a0acf555f31febf71d82..7070817e91b5b53ddbb73e8c122eb72c475cdfdb 100755 (executable)
@@ -3,7 +3,7 @@ puts "OCC22770"
 puts "================"
 puts ""
 #######################################################################################
-# Improve comman sewing in DRAW
+# Improve command sewing in DRAW
 ######################################################################################
 
 set BugNumber OCC22770
index d57f131a5c76813f1d634c56d4ffdb07138a9dfc..7850db13d0cb760ee3e3f5ff1cb19750f141c60a 100755 (executable)
@@ -3,7 +3,7 @@ puts "OCC22770"
 puts "================"
 puts ""
 #######################################################################################
-# Improve comman sewing in DRAW
+# Improve command sewing in DRAW
 ######################################################################################
 
 set BugNumber OCC22770
index d9ad2990289d2512fd37de205233036c5cef5812..d4f03d99a6e9669f8558d7047074f98169be072c 100755 (executable)
@@ -5,7 +5,7 @@ puts "OCC22770"
 puts "================"
 puts ""
 #######################################################################################
-# Improve comman sewing in DRAW
+# Improve command sewing in DRAW
 ######################################################################################
 
 set BugNumber OCC22770
index 572b26e942c09333711bce34ef6a88a1911f649d..7437ed73bd0c4ebfc270063353ff8d55b704b286 100755 (executable)
@@ -3,7 +3,7 @@ puts "OCC22770"
 puts "================"
 puts ""
 #######################################################################################
-# Improve comman sewing in DRAW
+# Improve command sewing in DRAW
 ######################################################################################
 
 set BugNumber OCC22770
index b9a356e03b9a06a0627663684d216982c9984550..0bd92b1e5057638cd5030c77d0384926cc886d0a 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"
   }
 }