]> OCCT Git - occt.git/commitdiff
0031939: Coding - correction of spelling errors in comments [part 5]
authorluz paz <luzpaz@users.noreply.github.com>
Mon, 21 Dec 2020 08:48:18 +0000 (11:48 +0300)
committerbugmaster <bugmaster@opencascade.com>
Wed, 23 Dec 2020 16:30:48 +0000 (19:30 +0300)
Fix various typos

Fixed via `codespell v2.1.dev

165 files changed:
src/AIS/AIS_InteractiveContext.hxx
src/AIS/AIS_InteractiveContext_1.cxx
src/AIS/AIS_Manipulator.hxx
src/Adaptor3d/Adaptor3d_Surface.hxx
src/Adaptor3d/Adaptor3d_TopolTool.hxx
src/AdvApp2Var/AdvApp2Var_ApproxAFunc2Var.cxx
src/AdvApp2Var/AdvApp2Var_ApproxAFunc2Var.hxx
src/AdvApp2Var/AdvApp2Var_SysBase.cxx
src/AdvApprox/AdvApprox_ApproxAFunction.hxx
src/AppDef/AppDef_BSpParLeastSquareOfMyBSplGradientOfBSplineCompute.hxx
src/AppDef/AppDef_MyLineTool.hxx
src/AppDef/AppDef_ParLeastSquareOfMyGradientOfCompute.hxx
src/AppDef/AppDef_ParLeastSquareOfMyGradientbisOfBSplineCompute.hxx
src/AppDef/AppDef_ParLeastSquareOfTheGradient.hxx
src/AppDef/AppDef_TheLeastSquares.hxx
src/AppDef/AppDef_Variational.cxx
src/Approx/Approx_SweepApproximation.cxx
src/Approx/Approx_SweepApproximation.hxx
src/Approx/Approx_SweepFunction.hxx
src/ApproxInt/ApproxInt_ImpPrmSvSurfaces.gxx
src/ApproxInt/ApproxInt_KnotTools.cxx
src/Aspect/Aspect_Window.hxx
src/BOPAlgo/BOPAlgo_Builder.hxx
src/BOPAlgo/BOPAlgo_MakerVolume.hxx
src/BOPAlgo/BOPAlgo_WireSplitter_1.cxx
src/BOPDS/BOPDS_CommonBlock.hxx
src/BOPDS/BOPDS_Curve.hxx
src/BOPDS/BOPDS_DS.hxx
src/BOPDS/BOPDS_FaceInfo.hxx
src/BOPDS/BOPDS_IndexRange.hxx
src/BOPDS/BOPDS_Iterator.hxx
src/BOPDS/BOPDS_IteratorSI.hxx
src/BOPDS/BOPDS_Pave.hxx
src/BOPDS/BOPDS_PaveBlock.hxx
src/BOPDS/BOPDS_Point.hxx
src/BOPDS/BOPDS_ShapeInfo.hxx
src/BOPTools/BOPTools_AlgoTools2D.cxx
src/BRep/BRep_TFace.hxx
src/BRepAdaptor/BRepAdaptor_CompCurve.cxx
src/BRepAdaptor/BRepAdaptor_Curve.hxx
src/BRepAlgo/BRepAlgo.cxx
src/BRepAlgo/BRepAlgo_Tool.hxx
src/BRepAlgoAPI/BRepAlgoAPI_Section.hxx
src/BRepApprox/BRepApprox_BSpParLeastSquareOfMyBSplGradientOfTheComputeLineOfApprox.hxx
src/BRepApprox/BRepApprox_ParLeastSquareOfMyGradientOfTheComputeLineBezierOfApprox.hxx
src/BRepApprox/BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox.hxx
src/BRepBlend/BRepBlend_AppFuncRoot.hxx
src/BRepBlend/BRepBlend_AppSurface.hxx
src/BRepBlend/BRepBlend_SurfRstEvolRad.cxx
src/BRepBuilderAPI/BRepBuilderAPI_MakeFace.hxx
src/BRepBuilderAPI/BRepBuilderAPI_MakeSolid.hxx
src/BRepBuilderAPI/BRepBuilderAPI_MakeWire.hxx
src/BRepBuilderAPI/BRepBuilderAPI_Sewing.cxx
src/BRepBuilderAPI/BRepBuilderAPI_Sewing.hxx
src/BRepCheck/BRepCheck_Wire.cxx
src/BRepCheck/BRepCheck_Wire.hxx
src/BRepClass3d/BRepClass3d_Intersector3d.hxx
src/BRepExtrema/BRepExtrema_OverlapTool.hxx
src/BRepExtrema/BRepExtrema_SelfIntersection.hxx
src/BRepFeat/BRepFeat_Builder.hxx
src/BRepFeat/BRepFeat_RibSlot.cxx
src/BRepFill/BRepFill.cxx
src/BRepFill/BRepFill_CompatibleWires.cxx
src/BRepFill/BRepFill_Evolved.cxx
src/BRepFill/BRepFill_LocationLaw.hxx
src/BRepFill/BRepFill_NSections.hxx
src/BRepFill/BRepFill_OffsetWire.hxx
src/BRepFill/BRepFill_PipeShell.hxx
src/BRepFill/BRepFill_ShapeLaw.hxx
src/BRepFill/BRepFill_Sweep.cxx
src/BRepFill/BRepFill_Sweep.hxx
src/BRepFilletAPI/BRepFilletAPI_MakeChamfer.hxx
src/BRepFilletAPI/BRepFilletAPI_MakeFillet2d.hxx
src/BRepGProp/BRepGProp_Cinert.hxx
src/BRepLProp/BRepLProp.hxx
src/BRepLib/BRepLib.hxx
src/BRepLib/BRepLib_CheckCurveOnSurface.hxx
src/BRepLib/BRepLib_FuseEdges.cxx
src/BRepLib/BRepLib_MakeFace.hxx
src/BRepLib/BRepLib_MakeSolid.hxx
src/BRepLib/BRepLib_MakeWire.hxx
src/BRepMesh/BRepMesh_CircleInspector.hxx
src/BRepMesh/BRepMesh_CircleTool.hxx
src/BRepMesh/BRepMesh_Classifier.hxx
src/BRepMesh/BRepMesh_Context.hxx
src/BRepMesh/BRepMesh_CurveTessellator.hxx
src/BRepMesh/BRepMesh_DataStructureOfDelaun.hxx
src/BRepMesh/BRepMesh_Delaun.cxx
src/BRepMesh/BRepMesh_Delaun.hxx
src/BRepMesh/BRepMesh_Edge.hxx
src/BRepMesh/BRepMesh_FaceChecker.hxx
src/BRepMesh/BRepMesh_GeomTool.cxx
src/BRepMesh/BRepMesh_GeomTool.hxx
src/BRepMesh/BRepMesh_IncrementalMesh.hxx
src/BRepMesh/BRepMesh_MeshTool.hxx
src/BRepMesh/BRepMesh_ModelBuilder.hxx
src/BRepMesh/BRepMesh_ModelHealer.hxx
src/BRepMesh/BRepMesh_ModelPreProcessor.cxx
src/BRepMesh/BRepMesh_OrientedEdge.hxx
src/BRepMesh/BRepMesh_PairOfIndex.hxx
src/BRepMesh/BRepMesh_ShapeTool.cxx
src/BRepMesh/BRepMesh_Triangulator.cxx
src/BRepMesh/BRepMesh_Triangulator.hxx
src/BRepMesh/delabella.cpp
src/BRepOffset/BRepOffset_MakeOffset.cxx
src/BRepOffset/BRepOffset_MakeSimpleOffset.hxx
src/BRepOffset/BRepOffset_Offset.hxx
src/BRepOffset/BRepOffset_Tool.hxx
src/BRepOffsetAPI/BRepOffsetAPI_DraftAngle.hxx
src/BRepOffsetAPI/BRepOffsetAPI_FindContigousEdges.hxx
src/BRepOffsetAPI/BRepOffsetAPI_MakeOffset.hxx
src/BRepOffsetAPI/BRepOffsetAPI_MakePipeShell.hxx
src/BRepPrim/BRepPrim_GWedge.hxx
src/BRepPrim/BRepPrim_Sphere.hxx
src/BRepPrimAPI/BRepPrimAPI_MakeRevol.cxx
src/BRepSweep/BRepSweep_Iterator.hxx
src/BRepSweep/BRepSweep_NumLinearRegularSweep.hxx
src/BRepSweep/BRepSweep_Rotation.hxx
src/BRepSweep/BRepSweep_Translation.hxx
src/BRepSweep/BRepSweep_Trsf.hxx
src/BRepTest/BRepTest_DraftAngleCommands.cxx
src/BRepTest/BRepTest_SweepCommands.cxx
src/BRepTools/BRepTools.hxx
src/BRepTools/BRepTools_Modifier.cxx
src/BRepTools/BRepTools_Quilt.hxx
src/BRepTools/BRepTools_ShapeSet.cxx
src/BRepTools/BRepTools_Substitution.hxx
src/BSplCLib/BSplCLib.cxx
src/BSplCLib/BSplCLib.hxx
src/BSplCLib/BSplCLib_CurveComputation.gxx
src/BiTgte/BiTgte_Blend.cxx
src/BinLDrivers/BinLDrivers_DocumentRetrievalDriver.hxx
src/BinLDrivers/BinLDrivers_DocumentStorageDriver.cxx
src/BinLDrivers/BinLDrivers_DocumentStorageDriver.hxx
src/BinMXCAFDoc/BinMXCAFDoc_LocationDriver.cxx
src/Bisector/Bisector_BisecAna.cxx
src/BndLib/BndLib_AddSurface.cxx
src/CDF/CDF_Application.hxx
src/CDF/CDF_MetaDataDriver.hxx
src/CDM/CDM_Document.hxx
src/CPnts/CPnts_AbscissaPoint.cxx
src/CPnts/CPnts_AbscissaPoint.hxx
src/CPnts/CPnts_MyRootFunction.cxx
src/CPnts/CPnts_UniformDeflection.cxx
src/CSLib/CSLib.hxx
src/ChFi2d/ChFi2d.hxx
src/ChFi2d/ChFi2d_ConstructionError.hxx
src/ChFi2d/ChFi2d_FilletAlgo.hxx
src/ChFi3d/ChFi3d_Builder.hxx
src/ChFi3d/ChFi3d_Builder_0.cxx
src/ChFi3d/ChFi3d_Builder_2.cxx
src/ChFi3d/ChFi3d_Builder_C1.cxx
src/ChFi3d/ChFi3d_FilBuilder.cxx
src/ChFi3d/ChFi3d_FilBuilder.hxx
src/ChFiDS/ChFiDS_ChamfSpine.cxx
src/ChFiDS/ChFiDS_CommonPoint.hxx
src/ChFiKPart/ChFiKPart_ComputeData_ChAsymPlnCon.cxx
src/ChFiKPart/ChFiKPart_ComputeData_ChAsymPlnCyl.cxx
src/ChFiKPart/ChFiKPart_ComputeData_ChPlnCon.cxx
src/ChFiKPart/ChFiKPart_ComputeData_ChPlnCyl.cxx
src/Contap/Contap_Contour.cxx
src/Contap/Contap_Point.hxx
src/Convert/Convert_ConicToBSplineCurve.cxx
src/Convert/Convert_ElementarySurfaceToBSplineSurface.hxx
src/Convert/Convert_GridPolynomialToPoles.hxx

index c418d178b190fe4de7ddb05bb0e586e3ebd1755a..bae22b7123108a330594381eab590561879bf821 100644 (file)
@@ -1128,7 +1128,7 @@ public:
 
   //! Allows to add or remove the object given to the list of current and highlight/unhighlight it correspondingly.
   //! Is valid for global context only; for local context use method AddOrRemoveSelected.
-  //! Since this method makes sence only for neutral point selection of a whole object,
+  //! Since this method makes sense only for neutral point selection of a whole object,
   //! if 0 selection of the object is empty this method simply does nothing.
   Standard_DEPRECATED ("Local Context is deprecated - local selection should be used without Local Context")
   void AddOrRemoveCurrentObject (const Handle(AIS_InteractiveObject)& theObj,
index ea6ca0bf8488e6a438ca5ebe9cd5f0f6be31898e..efb53f99147aedb8b47c53c0dfa45f169d3a9e83 100644 (file)
@@ -1010,9 +1010,7 @@ void AIS_InteractiveContext::SetSelected (const Handle(SelectMgr_EntityOwner)& t
 
 //=======================================================================
 //function : AddOrRemoveSelected
-//purpose  : Adds or removes current object from AIS selection and highlights/unhighlights it.
-//           Since this method makes sence only for neutral point selection of a whole object,
-//           if 0 selection of the object is empty this method simply does nothing.
+//purpose  :
 //=======================================================================
 void AIS_InteractiveContext::AddOrRemoveSelected (const Handle(AIS_InteractiveObject)& theObject,
                                                   const Standard_Boolean theToUpdateViewer)
index c950e7c9aab02283ebfd08917b3750141ce40bfb..73ea0527db8cfe5a0ac4e44cca0e5aedc9a3056b 100644 (file)
@@ -203,7 +203,7 @@ public:
 
   //! Computes transformation of parent object according to the active mode and input motion vector.
   //! You can use this method to get object transformation according to current mode or use own algorithm
-  //! to implement any other tranformation for modes.
+  //! to implement any other transformation for modes.
   //! @return transformation of parent object.
   Standard_EXPORT Standard_Boolean ObjectTransformation (const Standard_Integer theX, const Standard_Integer theY,
                                                          const Handle(V3d_View)& theView, gp_Trsf& theTrsf);
index 00add4069e3245dd67beab0dbb9e98f9e707a46f..a3163f92dada9e20aa6798e9204fd6b868c56551 100644 (file)
@@ -46,16 +46,14 @@ DEFINE_STANDARD_HANDLE(Adaptor3d_Surface, Standard_Transient)
 //! of a surface for generic algorithms.
 //!
 //! The Surface can  be decomposed in intervals of any
-//! continuity    in  U    and    V using  the  method
-//! NbIntervals.  A current interval can be set.  Most
-//! of the methods apply to the current interval.
+//! continuity in U and V using the method NbIntervals.
+//! A current interval can be set.
+//! Most of the methods apply to the current interval.
 //! Warning: All the methods are virtual and implemented with a
-//! raise to allow to redefined only the methods realy
-//! used.
+//! raise to allow to redefined only the methods really used.
 //!
-//! Polynomial coefficients of BSpline surfaces used for their evaluation are
-//! cached for better performance. Therefore these evaluations are not
-//! thread-safe and parallel evaluations need to be prevented.
+//! Polynomial coefficients of BSpline surfaces used for their evaluation are cached for better performance.
+//! Therefore these evaluations are not thread-safe and parallel evaluations need to be prevented.
 class Adaptor3d_Surface : public Standard_Transient
 {
   DEFINE_STANDARD_RTTIEXT(Adaptor3d_Surface, Standard_Transient)
index 2c742aef264f6fb17255f65690ba06e610955209..8426e761dd80c2b6bc52ebf3ad0c9f59faebc820 100644 (file)
@@ -30,18 +30,14 @@ class Adaptor3d_HVertex;
 DEFINE_STANDARD_HANDLE(Adaptor3d_TopolTool, Standard_Transient)
 
 //! This class provides a default topological tool,
-//! based on the Umin,Vmin,Umax,Vmax of an HSurface
-//! from Adaptor3d.
-//! All methods and fields may be redefined when
-//! inheriting from this class.
-//! This class is used to instantiate algorithmes
-//! as Intersection, outlines,...
+//! based on the Umin,Vmin,Umax,Vmax of an HSurface from Adaptor3d.
+//! All methods and fields may be redefined when inheriting from this class.
+//! This class is used to instantiate algorithms as Intersection, outlines,...
 class Adaptor3d_TopolTool : public Standard_Transient
 {
 
 public:
 
-  
   Standard_EXPORT Adaptor3d_TopolTool();
   
   Standard_EXPORT Adaptor3d_TopolTool(const Handle(Adaptor3d_Surface)& Surface);
@@ -127,42 +123,41 @@ public:
   Standard_EXPORT virtual Standard_Boolean DomainIsInfinite();
   
   Standard_EXPORT virtual Standard_Address Edge() const;
-  
-  //! compute the sample-points for the intersections algorithms
-  //! by adaptive algorithm for BSpline surfaces. For other surfaces algorithm
-  //! is the same as in method ComputeSamplePoints(), but only fill arrays of U
-  //! and V sample parameters;
-  //! theDefl is a requred deflection
-  //! theNUmin, theNVmin are minimal nb points for U and V.
-  Standard_EXPORT virtual void SamplePnts (const Standard_Real theDefl, const Standard_Integer theNUmin, const Standard_Integer theNVmin);
-  
-  //! compute the sample-points for the intersections algorithms
-  //! by adaptive algorithm for BSpline surfaces  -  is  used  in  SamplePnts
-  //! theDefl is a requred deflection
-  //! theNUmin, theNVmin are minimal nb points for U and V.
-  Standard_EXPORT virtual void BSplSamplePnts (const Standard_Real theDefl, const Standard_Integer theNUmin, const Standard_Integer theNVmin);
-  
-  //! Returns true if provide uniform sampling of points.
-  Standard_EXPORT virtual Standard_Boolean IsUniformSampling() const;
-
 
+  //! Compute the sample-points for the intersections algorithms by adaptive algorithm for BSpline surfaces.
+  //! For other surfaces algorithm is the same as in method ComputeSamplePoints(),
+  //! but only fill arrays of U and V sample parameters;
+  //! @param theDefl  [in] a required deflection
+  //! @param theNUmin [in] minimal nb points for U
+  //! @param theNVmin [in] minimal nb points for V
+  Standard_EXPORT virtual void SamplePnts (const Standard_Real theDefl,
+                                           const Standard_Integer theNUmin,
+                                           const Standard_Integer theNVmin);
+
+  //! Compute the sample-points for the intersections algorithms
+  //! by adaptive algorithm for BSpline surfaces - is used in SamplePnts
+  //! @param theDefl  [in] required deflection
+  //! @param theNUmin [in] minimal nb points for U
+  //! @param theNVmin [in] minimal nb points for V
+  Standard_EXPORT virtual void BSplSamplePnts (const Standard_Real theDefl,
+                                               const Standard_Integer theNUmin,
+                                               const Standard_Integer theNVmin);
 
+  //! Returns true if provide uniform sampling of points.
+  Standard_EXPORT virtual Standard_Boolean IsUniformSampling() const;
 
   DEFINE_STANDARD_RTTIEXT(Adaptor3d_TopolTool,Standard_Transient)
 
 protected:
 
-
   Handle(Adaptor3d_Surface) myS;
   Standard_Integer myNbSamplesU;
   Standard_Integer myNbSamplesV;
   Handle(TColStd_HArray1OfReal) myUPars;
   Handle(TColStd_HArray1OfReal) myVPars;
 
-
 private:
 
-
   Standard_Integer nbRestr;
   Standard_Integer idRestr;
   Standard_Real Uinf;
@@ -174,13 +169,6 @@ private:
   Standard_Integer idVtx;
   Handle(Adaptor3d_HVertex) myVtx[2];
 
-
 };
 
-
-
-
-
-
-
 #endif // _Adaptor3d_TopolTool_HeaderFile
index bb2e29f6dc2bac3b2a087c82a7d4f052c291e1b7..ae47b436e53af016ecbd1bf964956f997a673980 100644 (file)
@@ -416,7 +416,7 @@ void AdvApp2Var_ApproxAFunc2Var::ComputePatches(const AdvApprox_Cutting& UChoice
        myConstraints.UpdateInV(Vdec);
        break;
       case 3 :
-//      It is necesary to cut in U and V
+//      It is necessary to cut in U and V
        myResult.UpdateInU(Udec);
        myConstraints.UpdateInU(Udec);
        myResult.UpdateInV(Vdec);
@@ -796,7 +796,7 @@ void AdvApp2Var_ApproxAFunc2Var::ComputeCritError()
 
 //=======================================================================
 //function : ConvertBS
-//purpose  : Convertion of the approximation in BSpline Surface
+//purpose  : Conversion of the approximation in BSpline Surface
 //=======================================================================
 
 void AdvApp2Var_ApproxAFunc2Var::ConvertBS()
index 5b86d4e0fd2a626def5bf4947c2efd3651b083e3..8a3dc0aa24bbba5696e88faf3c5137f8afddc6c0 100644 (file)
@@ -51,7 +51,7 @@ class Geom_BSplineSurface;
 //! [FirstInU, LastInU]: The Bounds in U of the Approximation
 //! [FirstInV, LastInV]: The Bounds in V of the Approximation
 //! FavorIso : Give preference to extract u-iso or v-iso on F(U,V)
-//! This can be usefull to optimize the <Func> methode
+//! This can be useful to optimize the <Func> method
 //! ContInU, ContInV : Continuity waiting in u and v
 //! PrecisCode : Precision on approximation's error mesurement
 //! 1 : Fast computation and average precision
@@ -64,7 +64,7 @@ class Geom_BSplineSurface;
 //! where iu (resp. iv) = 0 if ContInU (resp. ContInV)  = GeomAbs_C0,
 //! = 1 if                          = GeomAbs_C1,
 //! = 2 if                          = GeomAbs_C2.
-//! MaxPatch  : Maximun number of Patch waiting
+//! MaxPatch  : Maximum number of Patch waiting
 //! number of Patch is number of u span * number of v span
 //! Func      : The external method to evaluate F(U,V)
 //! Crit      : To (re)defined condition of convergence
index f0d5d83ea0eb06e38352b4a63739c45fad9b2ece..b3c0964e32ef2490295d3bf1b8983c3350446693 100644 (file)
@@ -1675,7 +1675,7 @@ int maoverf_(integer *nbentr,
 /*       Other types of tables (INTEGER*2, INTEGER, REAL, ...) */
 /*       are not managed by the routine. */
 
-/*       It is usable in phase of developpement to detect the */
+/*       It is usable in phase of development to detect the */
 /*       errors of initialization. */
 
 /*       In official version, these calls will be inactive. */
@@ -1770,7 +1770,7 @@ int maoverf_(integer *nbentr,
 
 /*      TABLES */
 
-/*      DATAS */
+/*      DATA */
     /* Parameter adjustments */
   --dtable;
   
index 727076b52a9112f0366c8fc63046eb861d4b610e..035fe46d2b11888339dfd4fd323c65d45089ec63 100644 (file)
@@ -122,7 +122,7 @@ public:
   
   Standard_EXPORT Standard_Real AverageError (const Standard_Integer Dimension, const Standard_Integer Index) const;
   
-  //! diplay information on approximation.
+  //! display information on approximation.
   Standard_EXPORT void Dump (Standard_OStream& o) const;
 
 
index b4789a6a15986423c868cf0f0aa2c8efd0364cac..53d81b0647a2a44ad4b0ed86da1c387ae72501cd 100644 (file)
@@ -174,17 +174,17 @@ public:
 protected:
 
   
-  //! is used by the constuctors above.
+  //! is used by the constructors above.
   Standard_EXPORT void Init (const AppDef_MultiLine& SSP, const Standard_Integer FirstPoint, const Standard_Integer LastPoint);
   
   //! returns the number of second member columns.
   //! Is used internally to initialize the fields.
   Standard_EXPORT Standard_Integer NbBColumns (const AppDef_MultiLine& SSP) const;
   
-  //! returns the first point beeing fitted.
+  //! returns the first point being fitted.
   Standard_EXPORT Standard_Integer TheFirstPoint (const AppParCurves_Constraint FirstCons, const Standard_Integer FirstPoint) const;
   
-  //! returns the last point beeing fitted.
+  //! returns the last point being fitted.
   Standard_EXPORT Standard_Integer TheLastPoint (const AppParCurves_Constraint LastCons, const Standard_Integer LastPoint) const;
   
   //! Affects the fields in the case of a constraint point.
index b40b26de7a8d46d33da7dad309e74b72d0c3536e..c6e9ce4b20d54b53b803e600f1b8d95d985d2756 100644 (file)
@@ -31,9 +31,8 @@
 class AppDef_MultiLine;
 
 
-//! example of MultiLine tool corresponding to the tools of the packages
-//! AppParCurves and Approx. For Approx, the tool will not addd points
-//! if the algorithms want some.
+//! Example of MultiLine tool corresponding to the tools of the packages AppParCurves and Approx.
+//! For Approx, the tool will not add points if the algorithms want some.
 class AppDef_MyLineTool 
 {
 public:
index 2841640d69c6331780fb3add3cc0bc4abc6341c7..cab5b55aa9d3a4da199bbd7c32634dd2fb7ce8bc 100644 (file)
@@ -174,17 +174,17 @@ public:
 protected:
 
   
-  //! is used by the constuctors above.
+  //! is used by the constructors above.
   Standard_EXPORT void Init (const AppDef_MultiLine& SSP, const Standard_Integer FirstPoint, const Standard_Integer LastPoint);
   
   //! returns the number of second member columns.
   //! Is used internally to initialize the fields.
   Standard_EXPORT Standard_Integer NbBColumns (const AppDef_MultiLine& SSP) const;
   
-  //! returns the first point beeing fitted.
+  //! returns the first point being fitted.
   Standard_EXPORT Standard_Integer TheFirstPoint (const AppParCurves_Constraint FirstCons, const Standard_Integer FirstPoint) const;
   
-  //! returns the last point beeing fitted.
+  //! returns the last point being fitted.
   Standard_EXPORT Standard_Integer TheLastPoint (const AppParCurves_Constraint LastCons, const Standard_Integer LastPoint) const;
   
   //! Affects the fields in the case of a constraint point.
index 699914e2ef8b53f967631e0f67df84a09e021ff5..4c6ec7636ef198bc3fadc6a6ac2e238a36699a52 100644 (file)
@@ -174,17 +174,17 @@ public:
 protected:
 
   
-  //! is used by the constuctors above.
+  //! is used by the constructors above.
   Standard_EXPORT void Init (const AppDef_MultiLine& SSP, const Standard_Integer FirstPoint, const Standard_Integer LastPoint);
   
   //! returns the number of second member columns.
   //! Is used internally to initialize the fields.
   Standard_EXPORT Standard_Integer NbBColumns (const AppDef_MultiLine& SSP) const;
   
-  //! returns the first point beeing fitted.
+  //! returns the first point being fitted.
   Standard_EXPORT Standard_Integer TheFirstPoint (const AppParCurves_Constraint FirstCons, const Standard_Integer FirstPoint) const;
   
-  //! returns the last point beeing fitted.
+  //! returns the last point being fitted.
   Standard_EXPORT Standard_Integer TheLastPoint (const AppParCurves_Constraint LastCons, const Standard_Integer LastPoint) const;
   
   //! Affects the fields in the case of a constraint point.
index fe92cd376fc1d13443a51b599d91158d6259a0af..37c1704473bf7e0288c14d8969fccc567fd340f4 100644 (file)
@@ -174,17 +174,17 @@ public:
 protected:
 
   
-  //! is used by the constuctors above.
+  //! is used by the constructors above.
   Standard_EXPORT void Init (const AppDef_MultiLine& SSP, const Standard_Integer FirstPoint, const Standard_Integer LastPoint);
   
   //! returns the number of second member columns.
   //! Is used internally to initialize the fields.
   Standard_EXPORT Standard_Integer NbBColumns (const AppDef_MultiLine& SSP) const;
   
-  //! returns the first point beeing fitted.
+  //! returns the first point being fitted.
   Standard_EXPORT Standard_Integer TheFirstPoint (const AppParCurves_Constraint FirstCons, const Standard_Integer FirstPoint) const;
   
-  //! returns the last point beeing fitted.
+  //! returns the last point being fitted.
   Standard_EXPORT Standard_Integer TheLastPoint (const AppParCurves_Constraint LastCons, const Standard_Integer LastPoint) const;
   
   //! Affects the fields in the case of a constraint point.
index 6791003fdb1e614c8cec8d4f0e5e14af62736240..6570f299f85a13948d00b2cfb702ecc9ccdc73c0 100644 (file)
@@ -174,17 +174,17 @@ public:
 protected:
 
   
-  //! is used by the constuctors above.
+  //! is used by the constructors above.
   Standard_EXPORT void Init (const AppDef_MultiLine& SSP, const Standard_Integer FirstPoint, const Standard_Integer LastPoint);
   
   //! returns the number of second member columns.
   //! Is used internally to initialize the fields.
   Standard_EXPORT Standard_Integer NbBColumns (const AppDef_MultiLine& SSP) const;
   
-  //! returns the first point beeing fitted.
+  //! returns the first point being fitted.
   Standard_EXPORT Standard_Integer TheFirstPoint (const AppParCurves_Constraint FirstCons, const Standard_Integer FirstPoint) const;
   
-  //! returns the last point beeing fitted.
+  //! returns the last point being fitted.
   Standard_EXPORT Standard_Integer TheLastPoint (const AppParCurves_Constraint LastCons, const Standard_Integer LastPoint) const;
   
   //! Affects the fields in the case of a constraint point.
index 2f2a607869f27f7b4947f4f5df367ca2370704df..facdb75e9edd922ed28892c4f606ddc8cc6eb250 100644 (file)
@@ -921,11 +921,13 @@ void AppDef_Variational::Dump(Standard_OStream& o) const
     o << " NbSegments           "  << myKnots->Length()-1 << std::endl;
   }
   else
-  { if (myIsOverConstr) o << "The probleme is overconstraint " << std::endl;
-  else o << " Erreur dans l''approximation" << std::endl;
-  }   
+  {
+    o << (myIsOverConstr
+       ? " The problem is overconstraint"
+       : " Error in approximation") << std::endl;
+  }
 }
-//
+
 //=======================================================================
 //function : SetConstraints
 //purpose  : Define the constraints to approximate
index 27304cda84f1b154172184b81e819236485dde37..a12fc94c69dec21c0d49a55531da2d15462508a8 100644 (file)
@@ -406,7 +406,7 @@ Standard_Boolean Approx_SweepApproximation::D0(const Standard_Real Param,
                    myPoles2d->ChangeArray1(),
                    myWeigths->ChangeArray1());
 
-    //  poles3d are multiplied by weight after tranlation.
+    //  poles3d are multiplied by weight after translation.
     for (ii=1; ii<=Num1DSS; ii++) {
       myPoles->ChangeValue(ii).ChangeCoord()
        -= Translation.XYZ();
@@ -553,7 +553,7 @@ Standard_Boolean Approx_SweepApproximation::D2(const Standard_Real Param,
                    myDWeigths->ChangeArray1(),
                    myD2Weigths->ChangeArray1());
 
-    //  Multiply poles3d by the weight after tranlations.
+    //  Multiply poles3d by the weight after translations.
     for (ii=1; ii<=Num1DSS; ii++) {
       // First translate
       myPoles->ChangeValue(ii).ChangeCoord()
index 232998816e5fa668e6c030dcfb8ae98ec218db48..d350f9d4f8107ee4e64b481f95fb002a720ac0bf 100644 (file)
@@ -72,7 +72,7 @@ public:
   //! [First, Last] : Approx_SweepApproximation.cdl
   //! Tol3d : Tolerance to surface approximation
   //! Tol2d : Tolerance used to perform curve approximation
-  //! Normaly the 2d curve are approximated with a
+  //! Normally the 2d curve are approximated with a
   //! tolerance given by the resolution on support surfaces,
   //! but if this tolerance is too large Tol2d is used.
   //! TolAngular : Tolerance (in radian) to control the angle
@@ -111,10 +111,10 @@ public:
   
     const TColStd_Array1OfInteger& SurfVMults() const;
   
-  //! returns the maximum error in the suface approximation.
+  //! returns the maximum error in the surface approximation.
   Standard_EXPORT Standard_Real MaxErrorOnSurf() const;
   
-  //! returns the average error in the suface approximation.
+  //! returns the average error in the surface approximation.
   Standard_EXPORT Standard_Real AverageErrorOnSurf() const;
   
     Standard_Integer NbCurves2d() const;
index bda5fbd60ee6d23bfbc9aacc71b2e57e46f5a264..206e158e4dc8028980c7638a41d006319f62a9d3 100644 (file)
@@ -52,12 +52,12 @@ public:
   
   //! compute the first  derivative in v direction  of the
   //! section for v =  param
-  //! Warning : It used only for C1 or C2 aproximation
+  //! Warning : It used only for C1 or C2 approximation
   Standard_EXPORT virtual Standard_Boolean D1 (const Standard_Real Param, const Standard_Real First, const Standard_Real Last, TColgp_Array1OfPnt& Poles, TColgp_Array1OfVec& DPoles, TColgp_Array1OfPnt2d& Poles2d, TColgp_Array1OfVec2d& DPoles2d, TColStd_Array1OfReal& Weigths, TColStd_Array1OfReal& DWeigths);
   
   //! compute the second derivative  in v direction of the
   //! section  for v = param
-  //! Warning : It used only for C2 aproximation
+  //! Warning : It used only for C2 approximation
   Standard_EXPORT virtual Standard_Boolean D2 (const Standard_Real Param, const Standard_Real First, const Standard_Real Last, TColgp_Array1OfPnt& Poles, TColgp_Array1OfVec& DPoles, TColgp_Array1OfVec& D2Poles, TColgp_Array1OfPnt2d& Poles2d, TColgp_Array1OfVec2d& DPoles2d, TColgp_Array1OfVec2d& D2Poles2d, TColStd_Array1OfReal& Weigths, TColStd_Array1OfReal& DWeigths, TColStd_Array1OfReal& D2Weigths);
   
   //! get the number of 2d curves to  approximate.
@@ -105,26 +105,22 @@ public:
   //! SurfTol error inside the surface.
   Standard_EXPORT virtual void GetTolerance (const Standard_Real BoundTol, const Standard_Real SurfTol, const Standard_Real AngleTol, TColStd_Array1OfReal& Tol3d) const = 0;
   
-  //! Is usefull, if (me) have to run numerical
-  //! algorithm to perform D0, D1 or D2
+  //! Is useful, if (me) have to run numerical algorithm to perform D0, D1 or D2
   Standard_EXPORT virtual void SetTolerance (const Standard_Real Tol3d, const Standard_Real Tol2d) = 0;
   
   //! Get the barycentre of Surface.
-  //! An   very  poor estimation is sufficent.
-  //! This information is usefull to perform well
-  //! conditioned rational approximation.
+  //! An very poor estimation is sufficient.
+  //! This information is useful to perform well conditioned rational approximation.
   //! Warning: Used only if <me> IsRational
   Standard_EXPORT virtual gp_Pnt BarycentreOfSurf() const;
   
-  //! Returns the   length of the greater section. This
-  //! information is usefull to G1's control.
+  //! Returns the length of the greater section.
+  //!  Thisinformation is useful to G1's control.
   //! Warning: With an little value, approximation can be slower.
   Standard_EXPORT virtual Standard_Real MaximalSection() const;
   
-  //! Compute the minimal value of weight for each poles
-  //! in all  sections.
-  //! This information is  usefull to control error
-  //! in rational approximation.
+  //! Compute the minimal value of weight for each poles in all  sections.
+  //! This information is useful to control error in rational approximation.
   //! Warning: Used only if <me> IsRational
   Standard_EXPORT virtual void GetMinimalWeight (TColStd_Array1OfReal& Weigths) const;
 
index f2c7ea979859a23757afb4671aa3d398a45ec7e4..2aa215b58c9877e222369e7087ebd5794297b1b0 100644 (file)
@@ -72,7 +72,7 @@ static Standard_Boolean IsSingular( const gp_Vec& theDU,
 //              Condition
 //                  Tg=theDU*theTg2D.X()+theDV*theTg2D.Y()  
 //            has to be satisfied strictly.
-//              More over, vector Tg has to be NORMALYZED
+//              More over, vector Tg has to be NORMALIZED
 //            (if theIsTo3DTgCompute == TRUE then new computed vector will
 //            always have magnitude 1.0).
 //=======================================================================
@@ -86,7 +86,7 @@ static Standard_Boolean SingularProcessing( const gp_Vec& theDU,
 {
   //Attention: @ \sin theAngTol \approx theAngTol @ (for cross-product)
 
-  //Really, vector theTg3D has to be normalyzed (if theIsTo3DTgCompute == FALSE).
+  //Really, vector theTg3D has to be normalized (if theIsTo3DTgCompute == FALSE).
   const Standard_Real aSQTan = theTg3D.SquareMagnitude();
 
   const Standard_Real aSqMagnDU = theDU.SquareMagnitude(),
@@ -113,7 +113,7 @@ static Standard_Boolean SingularProcessing( const gp_Vec& theDU,
     
     if(theIsTo3DTgCompute)
     {
-      //theTg3D will be normalyzed. Its magnitude is
+      //theTg3D will be normalized. Its magnitude is
       const Standard_Real aTgMagn = 1.0;
 
       const Standard_Real aNorm = sqrt(aSqMagnDV);
@@ -156,7 +156,7 @@ static Standard_Boolean SingularProcessing( const gp_Vec& theDU,
     
     if(theIsTo3DTgCompute)
     {
-      //theTg3D will be normalyzed. Its magnitude is
+      //theTg3D will be normalized. Its magnitude is
       const Standard_Real aTgMagn = 1.0;
 
       const Standard_Real aNorm = sqrt(aSqMagnDU);
@@ -286,7 +286,7 @@ static Standard_Boolean SingularProcessing( const gp_Vec& theDU,
 //              Condition
 //                  Tg=theDU*theTg2D.X()+theDV*theTg2D.Y()  
 //            has to be satisfied strictly.
-//              More over, vector Tg has always to be NORMALYZED.
+//              More over, vector Tg has always to be NORMALIZED.
 //=======================================================================
 static Standard_Boolean NonSingularProcessing(const gp_Vec& theDU,
                                               const gp_Vec& theDV,
@@ -621,7 +621,7 @@ Standard_Boolean ApproxInt_ImpPrmSvSurfaces::Compute( Standard_Real& u1,
         aNormalPrm.Divide(sqrt(aSQMagnPrm));
       }
 
-      //Analogicaly for implicit surface
+      //Analogically for implicit surface
       if(aSQMagnImp < aNullValue)
       {
         isImpSingular = Standard_True;
@@ -657,7 +657,7 @@ Standard_Boolean ApproxInt_ImpPrmSvSurfaces::Compute( Standard_Real& u1,
         //(3D- and 2D-tangents are still not defined)
 
         //Ask to pay attention to the fact that here
-        //aNormalImp and aNormalPrm are normalyzed.
+        //aNormalImp and aNormalPrm are normalized.
         //Therefore, @ \left \| \vec{Tg} \right \| = 0.0 @
         //if and only if (aNormalImp || aNormalPrm).
         Tg = aNormalImp.Crossed(aNormalPrm);
@@ -672,7 +672,7 @@ Standard_Boolean ApproxInt_ImpPrmSvSurfaces::Compute( Standard_Real& u1,
         return Standard_False;
       }
 
-      //Normalyze Tg vector
+      //Normalize Tg vector
       Tg.Divide(sqrt(aSQMagnTg));
       MyTg = Tg;
 
index a8f892cc484f35719409638382e709b47c5bfbe7..afc21266fa42da89437e3939ff2483321d38b7ee 100644 (file)
@@ -243,7 +243,7 @@ void ApproxInt_KnotTools::ComputeKnotInds(const NCollection_LocalArray<Standard_
   }
   while(i < theInds.Length());
 
-  //IV: Cheking feature points.
+  //IV: Checking feature points.
   j = 2;
   for(i = 1; i <= aFeatureInds.Length(); ++i)
   {
index dff828ce96fe4336d9f45b349c07b09111e44a9b..64513cde440d1a8cf4c205130c0f94b155047000 100644 (file)
@@ -122,7 +122,7 @@ public:
 
 protected:
 
-  //! Initializes the datas of a Window.
+  //! Initializes the data of a Window.
   Standard_EXPORT Aspect_Window();
 
 protected:
index fb121ec7b06a6ab5b551dbbc953021a713950aee..2d8d1e97c9f17015eeefe6c617c989d97a452e21 100644 (file)
@@ -338,7 +338,7 @@ public: //! @name Images/Origins
 protected: //! @name Methods for building the result
 
   //! Performs the building of the result.
-  //! The method calls the PerfromInternal1() method surrounded by a try-catch block.
+  //! The method calls the PerformInternal1() method surrounded by a try-catch block.
   Standard_EXPORT virtual void PerformInternal (const BOPAlgo_PaveFiller& thePF);
 
   //! Performs the building of the result.
index 83aaa7470ace1467c5660ac9108c8f6c2fcd8769..a17424363ba9caf2c4d6ec9ef28e3a631e16fb60 100644 (file)
@@ -49,7 +49,7 @@ class BOPAlgo_PaveFiller;
 //!
 //! 3. Build solids from <myFaces> using BOPAlgo_BuilderSolid algorithm;
 //!
-//! 4. Treat the result: Eliminate solid containig faces from <mySBox>;
+//! 4. Treat the result: Eliminate solid containing faces from <mySBox>;
 //!
 //! 5. Fill internal shapes: add internal vertices and edges into
 //! created solids;
@@ -115,11 +115,11 @@ public:
 
   
 
-  //! Empty contructor.
+  //! Empty constructor.
   BOPAlgo_MakerVolume();
   virtual ~BOPAlgo_MakerVolume();
 
-  //! Empty contructor.
+  //! Empty constructor.
   BOPAlgo_MakerVolume(const Handle(NCollection_BaseAllocator)& theAllocator);
 
   //! Clears the data.
index 37ed067bce28c6de8135e8475a3c4038e890d50d..2ebac40a3c975264e72ab9511b1b98b79b4355fe 100644 (file)
@@ -239,9 +239,10 @@ void BOPAlgo_WireSplitter::SplitBlock(const TopoDS_Face& myFace,
     }
   }
   //
-  // Each vertex has one edge In and one - Out. Good. But it is not enought
-  // to consider that nothing to do with this. We must check edges on TShape
-  // coinsidence. If there are such edges there is something to do with.
+  // Each vertex has one edge In and one - Out. Good.
+  // But it is not enough to consider that nothing to do with this.
+  // We must check edges on TShape coincidence.
+  // If there are such edges there is something to do with.
   if (bNothingToDo) {
     Standard_Integer aNbE, aNbMapEE;
     Standard_Boolean bFlag;
@@ -1085,4 +1086,4 @@ Standard_Boolean RefineAngle2D(const TopoDS_Vertex& aV,
     }
   }// for (i=0; i<2; ++i) {
   return !bRet;
-}
\ No newline at end of file
+}
index d01bddf5c80340e36cf6fa461dfc32b92bd663f4..14a2f2a118f8a60a99474a00d762d4cf943b4f91 100644 (file)
@@ -45,12 +45,12 @@ public:
 
   
 
-  //! Empty contructor
+  //! Empty constructor
   Standard_EXPORT BOPDS_CommonBlock();
   
 
-  //! Contructor
-  //! <theAllocator> - the allocator to manage the memory
+  //! Constructor
+  //! @param theAllocator the allocator to manage the memory
   Standard_EXPORT BOPDS_CommonBlock(const Handle(NCollection_BaseAllocator)& theAllocator);
   
 
index ef085af7033eeac16bcdf4de213a7ddf11c100a3..73ea48a99ba0d09223e75f0d4ea60e03e30fe357 100644 (file)
@@ -41,14 +41,15 @@ public:
 
   
 
-  //! Empty contructor
-    BOPDS_Curve();
-virtual ~BOPDS_Curve();
+  //! Empty constructor
+  BOPDS_Curve();
+
+  virtual ~BOPDS_Curve();
   
 
-  //! Contructor
-  //! <theAllocator> - the allocator to manage the memory
-    BOPDS_Curve(const Handle(NCollection_BaseAllocator)& theAllocator);
+  //! Constructor
+  //! @param theAllocator the allocator to manage the memory
+  BOPDS_Curve(const Handle(NCollection_BaseAllocator)& theAllocator);
   
 
   //! Modifier
index 418a4b9fe47f3eaee8d2380e7bf85a37bbd1f4ab..75ebc192b65331a43297d6091d6af52659e9dd9f 100644 (file)
@@ -86,13 +86,13 @@ public:
 
   
 
-  //! Empty contructor
+  //! Empty constructor
   Standard_EXPORT BOPDS_DS();
-Standard_EXPORT virtual ~BOPDS_DS();
-  
 
-  //! Contructor
-  //! theAllocator - the allocator to manage the memory
+  Standard_EXPORT virtual ~BOPDS_DS();
+
+  //! Constructor
+  //! @param theAllocator the allocator to manage the memory
   Standard_EXPORT BOPDS_DS(const Handle(NCollection_BaseAllocator)& theAllocator);
   
 
index 70d2fffd556f5e94ad860926900325cd230a778b..110ac9a7816741e73d7c121e283285d158532971 100644 (file)
@@ -39,14 +39,14 @@ public:
 
   
 
-  //! Empty contructor
-    BOPDS_FaceInfo();
-virtual ~BOPDS_FaceInfo();
-  
+  //! Empty constructor
+  BOPDS_FaceInfo();
+
+  virtual ~BOPDS_FaceInfo();
 
-  //! Contructor
-  //! theAllocator - the allocator to manage the memory
-    BOPDS_FaceInfo(const Handle(NCollection_BaseAllocator)& theAllocator);
+  //! Constructor
+  //! @param theAllocator the allocator to manage the memory
+  BOPDS_FaceInfo(const Handle(NCollection_BaseAllocator)& theAllocator);
   
 
   //! Clears the contents
index 058bb79942a9293afbe85369da65ae334b33cc15..d3396eaa3176500927523a21a06d70bc4b4ed134 100644 (file)
@@ -34,7 +34,7 @@ public:
 
   
 
-  //! Empty contructor
+  //! Empty constructor
     BOPDS_IndexRange();
 
   //! Modifier
index 9faf534c491978ea0edf2c4f122c15063236fa3c..cf9cb9d9b4693db0163ace67acc3ae0fc41ef7f7 100644 (file)
@@ -46,12 +46,12 @@ public:
 
   DEFINE_STANDARD_ALLOC
 
-  //! Empty contructor
+  //! Empty constructor
   Standard_EXPORT BOPDS_Iterator();
   Standard_EXPORT virtual ~BOPDS_Iterator();
 
-  //! Contructor
-  //! theAllocator - the allocator to manage the memory
+  //! Constructor
+  //! @param theAllocator the allocator to manage the memory
   Standard_EXPORT BOPDS_Iterator(const Handle(NCollection_BaseAllocator)& theAllocator);
 
   //! Modifier
index 0f94f71f0b633c9ae99e1cafd94216ed2c501025..9c88ae5fd9a4fe13ab2919cd169c55b585cfa350 100644 (file)
@@ -42,13 +42,13 @@ public:
 
   
 
-  //! Empty contructor
+  //! Empty constructor
   Standard_EXPORT BOPDS_IteratorSI();
-Standard_EXPORT virtual ~BOPDS_IteratorSI();
-  
 
-  //! Contructor
-  //! theAllocator - the allocator to manage the memory
+  Standard_EXPORT virtual ~BOPDS_IteratorSI();
+
+  //! Constructor
+  //! @param theAllocator the allocator to manage the memory
   Standard_EXPORT BOPDS_IteratorSI(const Handle(NCollection_BaseAllocator)& theAllocator);
   
   //! Updates the lists of possible intersections
index 29a0556ea48373e08c3c8a6896fa58ffd635ca51..4fa45445907725adb678ea0f7867901ede304bb3 100644 (file)
@@ -35,7 +35,7 @@ public:
 
   
 
-  //! Empty contructor
+  //! Empty constructor
     BOPDS_Pave();
 
   //! Modifier
index 0606dbb7af98a7ed4a78c08f38c85b10627aaa9f..8e699b2150223e2aa0bf0c789de81a2a7dcc7267 100644 (file)
@@ -44,16 +44,12 @@ class BOPDS_PaveBlock : public Standard_Transient
 
 public:
 
-  
-
-  //! Empty contructor
+  //! Empty constructor
   Standard_EXPORT BOPDS_PaveBlock();
-  
 
-  //! Contructor
-  //! <theAllocator> - the allocator to manage the memory
+  //! Constructor
+  //! @param theAllocator the allocator to manage the memory
   Standard_EXPORT BOPDS_PaveBlock(const Handle(NCollection_BaseAllocator)& theAllocator);
-  
 
   //! Modifier
   //! Sets the first pave <thePave>
index b324cf21b390c3f08079be4e453e61051fe9b531..d2761a8e9b6c56895af9ba9135f52c8925259fb8 100644 (file)
@@ -37,7 +37,7 @@ public:
 
   
 
-  //! Empty contructor
+  //! Empty constructor
     BOPDS_Point();
 virtual ~BOPDS_Point();
   
index a07f059c84187d5ea7cd54d80df52b931537a0c3..d454ed378977a7fba15c39f7b59da339b472e2c3 100644 (file)
@@ -36,16 +36,14 @@ public:
 
   DEFINE_STANDARD_ALLOC
 
-  
+  //! Empty constructor
+  BOPDS_ShapeInfo();
 
-  //! Empty contructor
-    BOPDS_ShapeInfo();
-virtual ~BOPDS_ShapeInfo();
-  
+  virtual ~BOPDS_ShapeInfo();
 
-  //! Contructor
-  //! theAllocator - the allocator to manage the memory
-    BOPDS_ShapeInfo(const Handle(NCollection_BaseAllocator)& theAllocator);
+  //! Constructor
+  //! @param theAllocator the allocator to manage the memory
+  BOPDS_ShapeInfo(const Handle(NCollection_BaseAllocator)& theAllocator);
   
 
   //! Modifier
index 7304421ac4741937dc4f7f487348470e0a843a17..85642012a180bf5110f4dd76a6b8aefa497ce619 100644 (file)
@@ -691,7 +691,7 @@ void BOPTools_AlgoTools2D::IsEdgeIsoline( const TopoDS_Edge& theE,
   if(aSqMagn <= gp::Resolution())
     return;
 
-  //Normalyze aT
+  //Normalize aT
   aT /= sqrt(aSqMagn);
 
   //sin(da) ~ da, when da->0.
index d77c472d1127b201a183dea53b791f6cd2ade574..dd23f43f2b4ba91274e33df7cf3a034059e87cdf 100644 (file)
@@ -36,7 +36,7 @@ DEFINE_STANDARD_HANDLE(BRep_TFace, TopoDS_TFace)
 //! The Tface from BRep  is  based  on the TFace  from
 //! TopoDS. The TFace contains :
 //!
-//! * A suface, a tolerance and a Location.
+//! * A surface, a tolerance and a Location.
 //!
 //! * A NaturalRestriction flag,   when this  flag  is
 //! True the  boundary of the  face is known to be the
index 619f46d0390c4d3081bf787ceb37866026363fc3..64acb5ee91f9a87bb7d22872b97de16fd3c99b1d 100644 (file)
@@ -116,7 +116,7 @@ BRepAdaptor_CompCurve::BRepAdaptor_CompCurve(const TopoDS_Wire& theWire,
     }
   }
 
-  Forward = Standard_True; // Defaut ; The Reverse Edges are parsed.
+  Forward = Standard_True; // Default ; The Reverse Edges are parsed.
   if((NbEdge > 2) || ((NbEdge==2) && (!myWire.Closed())) ) {
     TopAbs_Orientation Or = myCurves->Value(1).Edge().Orientation();
     TopoDS_Vertex VI, VL;
index 583413934f7d190eb46651cae34c7bf9bd655c41..3cbfb2f66365e4f968f3a23f1299542812485cce 100644 (file)
@@ -206,17 +206,15 @@ public:
   Standard_EXPORT Standard_Integer NbKnots() const Standard_OVERRIDE;
   
 
-  //! Warning :
-  //! This  will    make a copy of the Bezier Curve
-  //! since it applies to it myTsrf . Be carefull when
-  //! using this method
+  //! Warning:
+  //! This will make a copy of the Bezier Curve since it applies to it myTsrf.
+  //! Be careful when using this method.
   Standard_EXPORT Handle(Geom_BezierCurve) Bezier() const Standard_OVERRIDE;
   
 
-  //! Warning :
-  //! This will   make a copy of the BSpline Curve
-  //! since it applies to it myTsrf . Be carefull when
-  //! using this method
+  //! Warning:
+  //! This will make a copy of the BSpline Curve since it applies to it myTsrf.
+  //! Be careful when using this method.
   Standard_EXPORT Handle(Geom_BSplineCurve) BSpline() const Standard_OVERRIDE;
 
   Standard_EXPORT Handle(Geom_OffsetCurve) OffsetCurve() const Standard_OVERRIDE;
index db36f5b3b064076d3a2b486409cd96a986f4ec13..46cbe8f2822161e4d0a8c42acbfd5df53bf46aad 100644 (file)
@@ -111,7 +111,7 @@ TopoDS_Wire  BRepAlgo::ConcatenateWire(const TopoDS_Wire& W,
 
       if(index==0){                                           //storage of the first edge features
         First0=First;
-        if(edge.Orientation()==TopAbs_REVERSED){             //(usefull for the closed wire) 
+        if(edge.Orientation()==TopAbs_REVERSED){             //(useful for the closed wire)
           Vfirst=TopExp::LastVertex(edge);
           tab(index)->Reverse();
         }
index a344fcf3d74290f4bb710d8186b748b57a9e7c3d..277da9704f58c66895764e0ce6512f29b6fb474f 100644 (file)
@@ -37,8 +37,8 @@ public:
   //! 1 - Remove all the free boundary  and the faces
   //! connex to such edges.
   //! 2 - Remove all the shapes not  valid in the result
-  //! (according to the side of offseting)
-  //! in this verion only the first point is implemented.
+  //! (according to the side of offsetting)
+  //! in this version only the first point is implemented.
   Standard_EXPORT static TopoDS_Shape Deboucle3D (const TopoDS_Shape& S, const TopTools_MapOfShape& Boundary);
 
 
index e465059642be1f171c58bdb80c740d322845082c..2582d5705a472ace7d6a3b44bd3f9b46f8c12995 100644 (file)
@@ -30,7 +30,7 @@ class Geom_Surface;
 
 
 
-//! The algorithm is to build a Secton operation between arguments and tools.
+//! The algorithm is to build a Section operation between arguments and tools.
 //! The result of Section operation consists of vertices and edges.
 //! The result of Section operation contains:
 //! 1. new vertices that are subjects of V/V, E/E, E/F, F/F interferences
@@ -56,7 +56,7 @@ Standard_EXPORT virtual ~BRepAlgoAPI_Section();
   //! <S1>  -argument
   //! <S2>  -tool
   //! <PerformNow> - the flag:
-  //! if <PerformNow>=True - the algorithm is performed immediatly
+  //! if <PerformNow>=True - the algorithm is performed immediately
   //! Obsolete
   Standard_EXPORT BRepAlgoAPI_Section(const TopoDS_Shape& S1, const TopoDS_Shape& S2, const Standard_Boolean PerformNow = Standard_True);
   
@@ -65,7 +65,7 @@ Standard_EXPORT virtual ~BRepAlgoAPI_Section();
   //! <S2>  -tool
   //! <PF> - PaveFiller object that is carried out
   //! <PerformNow> - the flag:
-  //! if <PerformNow>=True - the algorithm is performed immediatly
+  //! if <PerformNow>=True - the algorithm is performed immediately
   //! Obsolete
   Standard_EXPORT BRepAlgoAPI_Section(const TopoDS_Shape& S1, const TopoDS_Shape& S2, const BOPAlgo_PaveFiller& aDSF, const Standard_Boolean PerformNow = Standard_True);
   
@@ -73,7 +73,7 @@ Standard_EXPORT virtual ~BRepAlgoAPI_Section();
   //! <S1>  - argument
   //! <Pl>  - tool
   //! <PerformNow> - the flag:
-  //! if <PerformNow>=True - the algorithm is performed immediatly
+  //! if <PerformNow>=True - the algorithm is performed immediately
   //! Obsolete
   Standard_EXPORT BRepAlgoAPI_Section(const TopoDS_Shape& S1, const gp_Pln& Pl, const Standard_Boolean PerformNow = Standard_True);
   
@@ -81,7 +81,7 @@ Standard_EXPORT virtual ~BRepAlgoAPI_Section();
   //! <S1>  - argument
   //! <Sf>  - tool
   //! <PerformNow> - the flag:
-  //! if <PerformNow>=True - the algorithm is performed immediatly
+  //! if <PerformNow>=True - the algorithm is performed immediately
   //! Obsolete
   Standard_EXPORT BRepAlgoAPI_Section(const TopoDS_Shape& S1, const Handle(Geom_Surface)& Sf, const Standard_Boolean PerformNow = Standard_True);
   
@@ -89,7 +89,7 @@ Standard_EXPORT virtual ~BRepAlgoAPI_Section();
   //! <Sf>  - argument
   //! <S2>  - tool
   //! <PerformNow> - the flag:
-  //! if <PerformNow>=True - the algorithm is performed immediatly
+  //! if <PerformNow>=True - the algorithm is performed immediately
   //! Obsolete
   Standard_EXPORT BRepAlgoAPI_Section(const Handle(Geom_Surface)& Sf, const TopoDS_Shape& S2, const Standard_Boolean PerformNow = Standard_True);
   
@@ -97,7 +97,7 @@ Standard_EXPORT virtual ~BRepAlgoAPI_Section();
   //! <Sf1>  - argument
   //! <Sf2>  - tool
   //! <PerformNow> - the flag:
-  //! if <PerformNow>=True - the algorithm is performed immediatly
+  //! if <PerformNow>=True - the algorithm is performed immediately
   //! Obsolete
   Standard_EXPORT BRepAlgoAPI_Section(const Handle(Geom_Surface)& Sf1, const Handle(Geom_Surface)& Sf2, const Standard_Boolean PerformNow = Standard_True);
   
index bb1f99dc9fcb5cb782021165274b4c6f983f2b90..2c5606b57abcd52bb65fef86467f63d2af3bda31 100644 (file)
@@ -174,17 +174,17 @@ public:
 protected:
 
   
-  //! is used by the constuctors above.
+  //! is used by the constructors above.
   Standard_EXPORT void Init (const BRepApprox_TheMultiLineOfApprox& SSP, const Standard_Integer FirstPoint, const Standard_Integer LastPoint);
   
   //! returns the number of second member columns.
   //! Is used internally to initialize the fields.
   Standard_EXPORT Standard_Integer NbBColumns (const BRepApprox_TheMultiLineOfApprox& SSP) const;
   
-  //! returns the first point beeing fitted.
+  //! returns the first point being fitted.
   Standard_EXPORT Standard_Integer TheFirstPoint (const AppParCurves_Constraint FirstCons, const Standard_Integer FirstPoint) const;
   
-  //! returns the last point beeing fitted.
+  //! returns the last point being fitted.
   Standard_EXPORT Standard_Integer TheLastPoint (const AppParCurves_Constraint LastCons, const Standard_Integer LastPoint) const;
   
   //! Affects the fields in the case of a constraint point.
index 5f81231745ad379142fa818fb1fee1723d5de54a..309dd8604a150a0040b590eb3fa3306ef2382223 100644 (file)
@@ -174,17 +174,17 @@ public:
 protected:
 
   
-  //! is used by the constuctors above.
+  //! is used by the constructors above.
   Standard_EXPORT void Init (const BRepApprox_TheMultiLineOfApprox& SSP, const Standard_Integer FirstPoint, const Standard_Integer LastPoint);
   
   //! returns the number of second member columns.
   //! Is used internally to initialize the fields.
   Standard_EXPORT Standard_Integer NbBColumns (const BRepApprox_TheMultiLineOfApprox& SSP) const;
   
-  //! returns the first point beeing fitted.
+  //! returns the first point being fitted.
   Standard_EXPORT Standard_Integer TheFirstPoint (const AppParCurves_Constraint FirstCons, const Standard_Integer FirstPoint) const;
   
-  //! returns the last point beeing fitted.
+  //! returns the last point being fitted.
   Standard_EXPORT Standard_Integer TheLastPoint (const AppParCurves_Constraint LastCons, const Standard_Integer LastPoint) const;
   
   //! Affects the fields in the case of a constraint point.
index 77a35026e341b66befa6d69c995db472a6e793d7..24d0f5578c6bfe9f6f77e0971d318f273a108da7 100644 (file)
@@ -174,17 +174,17 @@ public:
 protected:
 
   
-  //! is used by the constuctors above.
+  //! is used by the constructors above.
   Standard_EXPORT void Init (const BRepApprox_TheMultiLineOfApprox& SSP, const Standard_Integer FirstPoint, const Standard_Integer LastPoint);
   
   //! returns the number of second member columns.
   //! Is used internally to initialize the fields.
   Standard_EXPORT Standard_Integer NbBColumns (const BRepApprox_TheMultiLineOfApprox& SSP) const;
   
-  //! returns the first point beeing fitted.
+  //! returns the first point being fitted.
   Standard_EXPORT Standard_Integer TheFirstPoint (const AppParCurves_Constraint FirstCons, const Standard_Integer FirstPoint) const;
   
-  //! returns the last point beeing fitted.
+  //! returns the last point being fitted.
   Standard_EXPORT Standard_Integer TheLastPoint (const AppParCurves_Constraint LastCons, const Standard_Integer LastPoint) const;
   
   //! Affects the fields in the case of a constraint point.
index 12829edfca6b0c339c1007357b0da290ffc6f7c9..1c3bce30d80af982f77f49ee216e5fb496c3f2a7 100644 (file)
@@ -112,17 +112,17 @@ public:
   Standard_EXPORT virtual void SetTolerance (const Standard_Real Tol3d, const Standard_Real Tol2d) Standard_OVERRIDE;
   
   //! Get    the   barycentre of   Surface.   An   very  poor
-  //! estimation is sufficent. This information is usefull
+  //! estimation is sufficient. This information is useful
   //! to perform well conditioned rational approximation.
   Standard_EXPORT virtual gp_Pnt BarycentreOfSurf() const Standard_OVERRIDE;
   
   //! Returns the   length of the maximum section. This
-  //! information is usefull to perform well conditioned rational
+  //! information is useful to perform well conditioned rational
   //! approximation.
   Standard_EXPORT virtual Standard_Real MaximalSection() const Standard_OVERRIDE;
   
   //! Compute the minimal value of weight for each poles
-  //! of all  sections.  This information is  usefull to
+  //! of all  sections.  This information is  useful to
   //! perform well conditioned rational approximation.
   Standard_EXPORT virtual void GetMinimalWeight (TColStd_Array1OfReal& Weigths) const Standard_OVERRIDE;
   
index d2f547d91795a73f0c1bb086494572fe60fda332..8ae986607152822bdf15a165e6ec79a63799034e 100644 (file)
@@ -50,7 +50,7 @@ public:
   //! Approximation     of   the   new  Surface  (and
   //! eventually the  2d    Curves   on the   support
   //! surfaces).
-  //! Normaly     the  2d    curve are
+  //! Normally     the  2d    curve are
   //! approximated  with an  tolerance   given  by   the
   //! resolution on   support surfaces,  but  if this
   //! tolerance is too large Tol2d  is used.
@@ -78,7 +78,7 @@ public:
   
     const TColStd_Array1OfInteger& SurfVMults() const;
   
-  //! returns the maximum error in the suface approximation.
+  //! returns the maximum error in the surface approximation.
   Standard_EXPORT Standard_Real MaxErrorOnSurf() const;
   
     Standard_Integer NbCurves2d() const;
@@ -102,7 +102,7 @@ public:
   
   Standard_EXPORT Standard_Real TolCurveOnSurf (const Standard_Integer Index) const;
   
-  //! diplay information on approximation.
+  //! display information on approximation.
   Standard_EXPORT void Dump (Standard_OStream& o) const;
 
 
index afcb4a4c8b8f2d7783da5945cfb534db4a060a17..f0dcb69a0e640db891a5e38fbde838971e553e8d 100644 (file)
@@ -112,7 +112,7 @@ static void FusionneIntervalles(const TColStd_Array1OfReal& I1,
 
 //=======================================================================
 //function : BRepBlend_SurfRstEvolRad
-//purpose  : Contructor
+//purpose  : Constructor
 //=======================================================================
 BRepBlend_SurfRstEvolRad::BRepBlend_SurfRstEvolRad
 (const Handle(Adaptor3d_Surface)& Surf,
index dded54799f59388ddc763d74c6fe22a9375e506d..051e5e49c6fdb88c3048415952b2ad57804e28fa 100644 (file)
@@ -72,7 +72,7 @@ public:
   //! Not done.
   Standard_EXPORT BRepBuilderAPI_MakeFace();
   
-  //! Load a face. Usefull to add wires.
+  //! Load a face. useful to add wires.
   Standard_EXPORT BRepBuilderAPI_MakeFace(const TopoDS_Face& F);
   
   //! Make a face from a plane.
index 90c14a3ebd8f1d9ab76e1a010806e62b6a566fe6..6529416b062e1be4cac4b4b1ee032676717b224b 100644 (file)
@@ -79,7 +79,7 @@ public:
   //! these previous ones. Each must bound a closed volume.
   Standard_EXPORT BRepBuilderAPI_MakeSolid(const TopoDS_Shell& S1, const TopoDS_Shell& S2, const TopoDS_Shell& S3);
   
-  //! Make a solid from a solid. Usefull for adding later.
+  //! Make a solid from a solid. useful for adding later.
   Standard_EXPORT BRepBuilderAPI_MakeSolid(const TopoDS_Solid& So);
   
   //! Add a shell to a solid.
index 97f8f90080253c12a42f4d3ed8dba8c789826c0a..242ae77f3f933354d1fe7a9fdbfe2b6cd8edc464 100644 (file)
@@ -112,7 +112,7 @@ public:
   //! will raise an error, until a new connectable edge is added.
   Standard_EXPORT BRepBuilderAPI_MakeWire(const TopoDS_Edge& E1, const TopoDS_Edge& E2, const TopoDS_Edge& E3, const TopoDS_Edge& E4);
   
-  //! Make a Wire from a Wire. Usefull for adding later.
+  //! Make a Wire from a Wire. useful for adding later.
   Standard_EXPORT BRepBuilderAPI_MakeWire(const TopoDS_Wire& W);
   
   //! Add an edge to a wire.
index d6fb6361c31db941521c794437d22f289a5e145d..72c312232d553b1ed19aa3ff0f6d981f99d2f9af 100644 (file)
@@ -3518,7 +3518,7 @@ Standard_Boolean BRepBuilderAPI_Sewing::MergedNearestEdges(const TopoDS_Shape& e
     }
   }
 
-  // Find all possible contigous edges
+  // Find all possible contiguous edges
   TopTools_SequenceOfShape seqEdges;
   seqEdges.Append(edge);
   TopTools_MapOfShape mapEdges;
@@ -3977,7 +3977,7 @@ static TopoDS_Edge DegeneratedSection(const TopoDS_Shape& section, const TopoDS_
 //           . if multiple edge
 //              - length < 100.*myTolerance -> several free edge
 //           . if no multiple edge
-//              - make the contigous edges sameparameter
+//              - make the contiguous edges sameparameter
 //=======================================================================
 
 void BRepBuilderAPI_Sewing::EdgeProcessing(const Message_ProgressRange& theProgress)
index 03810e4427e84e5e49936b4882cb94741f6539e1..d11c93680c50e77bc40d520d6c278c537c978d94 100644 (file)
@@ -60,10 +60,10 @@ DEFINE_STANDARD_HANDLE(BRepBuilderAPI_Sewing, Standard_Transient)
 
 //! Provides methods to
 //!
-//! - identify possible contigous boundaries (for control
+//! - identify possible contiguous boundaries (for control
 //! afterwards (of continuity: C0, C1, ...))
 //!
-//! - assemble contigous shapes into one shape.
+//! - assemble contiguous shapes into one shape.
 //! Only manifold shapes will be found. Sewing will not
 //! be done in case of multiple edges.
 //!
@@ -131,13 +131,13 @@ public:
   //! Gives each multiple edge
   Standard_EXPORT const TopoDS_Edge& MultipleEdge (const Standard_Integer index) const;
   
-  //! Gives the number of contigous edges (edge shared by two faces)
+  //! Gives the number of contiguous edges (edge shared by two faces)
   Standard_EXPORT Standard_Integer NbContigousEdges() const;
   
-  //! Gives each contigous edge
+  //! Gives each contiguous edge
   Standard_EXPORT const TopoDS_Edge& ContigousEdge (const Standard_Integer index) const;
   
-  //! Gives the sections (edge) belonging to a contigous edge
+  //! Gives the sections (edge) belonging to a contiguous edge
   Standard_EXPORT const TopTools_ListOfShape& ContigousEdgeCouple (const Standard_Integer index) const;
   
   //! Indicates if a section is bound (before use SectionToBoundary)
index e8e23f54a111d39a94f886c149fd3a3d9551ef7c..7845d767f57afe044740eb43f4003dec488162b9 100644 (file)
@@ -326,7 +326,7 @@ BRepCheck_Status BRepCheck_Wire::Closed(const Standard_Boolean Update)
     return myCstat;
   }
 
-  // Checks the number of occurence of an edge : maximum 2, and in this 
+  // Checks the number of occurrence of an edge : maximum 2, and in this
   // case, one time FORWARD and one time REVERSED
 
   Standard_Boolean yabug = Standard_False;
index 762af22cc9d01bfb38fffd96e7b47157917f6e84..ea71c1d846bb33149f1e2acffa642aa18ad0dd59 100644 (file)
@@ -64,7 +64,7 @@ public:
   //! **BRepCheck_NotConnected,   if    wire    is   not
   //! topologically closed
   //! **BRepCheck_RedundantEdge, if an  edge  is in wire
-  //! more than 3 times  or  in  case of 2 occurences if
+  //! more than 3 times  or  in  case of 2 occurrences if
   //! not with FORWARD and REVERSED orientation.
   //! **BRepCheck_NoError
   Standard_EXPORT BRepCheck_Status Closed (const Standard_Boolean Update = Standard_False);
index 4c6d7765e55d3057092a6868a9a8bcfbd72fc155..268eb0ccef4dbc54f12c9c11873d634f86aed63b 100644 (file)
@@ -84,7 +84,7 @@ public:
   //! The values can be either TopAbs_IN
   //! ( the point is in the face)
   //! or TopAbs_ON
-  //! ( the point is on a boudary of the face).
+  //! ( the point is on a boundary of the face).
     TopAbs_State State() const;
   
   //! Returns the significant face used to determine
index 08628c265656b2c18b4b74dcab13840243f2877c..d2cf6f55c26f4a117ca064ea2719980ccb9d43c1 100644 (file)
@@ -39,7 +39,7 @@ class BRepExtrema_OverlapTool : public BVH_PairTraverse <Standard_Real, 3>
 {
 public:
 
-  //! Creates new unitialized overlap tool.
+  //! Creates new uninitialized overlap tool.
   BRepExtrema_OverlapTool();
 
   //! Creates new overlap tool for the given element sets.
index acdb4ad8827341afb301aa22a1f8e2fb866699a1..dbad24376623eab87d3b6cbcaa7b5f774b8aff03 100644 (file)
@@ -35,7 +35,7 @@ class BRepExtrema_SelfIntersection : public BRepExtrema_ElementFilter
 
 public:
 
-  //! Creates unitialized self-intersection tool.
+  //! Creates uninitialized self-intersection tool.
   Standard_EXPORT BRepExtrema_SelfIntersection (const Standard_Real theTolerance = 0.0);
 
   //! Creates self-intersection tool for the given shape.
index 62a52418584d12e946a61abd898a6ecd2ffe1bae..a9a96a03b529f0105892d1db27ba350be2b14e38 100644 (file)
@@ -60,10 +60,10 @@ Standard_EXPORT virtual ~BRepFeat_Builder();
   //! Clears internal fields and arguments.
   Standard_EXPORT virtual void Clear() Standard_OVERRIDE;
   
-  //! Initialyzes the object of local boolean operation.
+  //! Initializes the object of local boolean operation.
   Standard_EXPORT void Init (const TopoDS_Shape& theShape);
   
-  //! Initialyzes the arguments of local boolean operation.
+  //! Initializes the arguments of local boolean operation.
   Standard_EXPORT void Init (const TopoDS_Shape& theShape, const TopoDS_Shape& theTool);
   
   //! Sets the operation of local boolean operation.
@@ -80,7 +80,7 @@ Standard_EXPORT virtual ~BRepFeat_Builder();
   //! Collects parts of the tool.
   Standard_EXPORT void PartsOfTool (TopTools_ListOfShape& theLT);
   
-  //! Initialyzes parts of the tool for second step of algorithm.
+  //! Initializes parts of the tool for second step of algorithm.
   //! Collects shapes and all sub-shapes into myShapes map.
   Standard_EXPORT void KeepParts (const TopTools_ListOfShape& theIm);
   
index 6e6e735b6767aa1a5ef58ece55e727fb61c3be12..9c59a2c302c277a596dabbaf349b2c0d03fbe471 100644 (file)
@@ -1300,7 +1300,7 @@ Standard_Boolean BRepFeat_RibSlot::SlidingProfile(TopoDS_Face& Prof,
       Standard_Real par1 = ElCLib::Parameter(ln1->Lin(), myFirstPnt);
       Standard_Real par2 = ElCLib::Parameter(ln2->Lin(), myLastPnt);
       if(par1 >= myTol  ||  par2 >= myTol)  {
-        Concavite = 2;    //paralel and concave
+        Concavite = 2;    //parallel and concave
         BRepLib_MakeEdge e1(myLastPnt, myFirstPnt);
         WW.Add(e1);
       } 
index afef930d5b53e27c55738b5b7e9f2844e550eb69..7f02bf8449c6e270b97caeeecb9e51b42ca12a9e 100644 (file)
@@ -1017,7 +1017,7 @@ TopoDS_Wire BRepFill::InsertACR(const TopoDS_Wire& wire,
       TColStd_SequenceOfReal SR;
       SR.Clear();
       // the wire is always FORWARD
-      // it is necesary to modify the parameter of cut6 if the edge is REVERSED
+      // it is necessary to modify the parameter of cut6 if the edge is REVERSED
       if (E.Orientation() == TopAbs_FORWARD) {
        for (j=1; j<=ndec; j++) SR.Append(paradec(j));
       }
index 6465264105d4318ed92e94317cd88345e2de1204..b4d2cb8931f66e0280ecd6531541a2eb21ee694d 100644 (file)
@@ -1372,7 +1372,7 @@ void BRepFill_CompatibleWires::SameNumberByACR(const  Standard_Boolean  report)
        dec2(k) = dec(k);
       }
       
-      //Check of cuts: are all the new edges long enouph or not
+      //Check of cuts: are all the new edges long enough or not
       TColStd_MapOfInteger CutsToRemove;
       for (k = 1; k <= nbdec; k++)
       {
index 244fe3beef8e1e5737afa7aa749d11cca14f35ba..a5024f938ce6be1db691afc4148cd09b8dc9c018 100644 (file)
@@ -1084,7 +1084,7 @@ void BRepFill_Evolved::ElementaryPerform (const TopoDS_Face&              Sp,
         // Find if one of two faces connected to the edge
         // belongs to volevo. The edges on this face serve
         // to eliminate certain vertices that can appear twice
-        // on the parallel edge. These Vertices corespond to the
+        // on the parallel edge. These Vertices correspond to the
         // nodes of the map.
         //---------------------------------------------------------
         TopoDS_Shape     FaceControle;
index a776d0939b31fa84e780be45de14c594ca9e76a1..9e4bb47d9782b383b94aceaa27900e403e77f892 100644 (file)
@@ -106,14 +106,13 @@ public:
   //! 0  : It is connex (G0)
   //! 1  : It is tangent (G1)
   Standard_EXPORT Standard_Integer IsG1 (const Standard_Integer Index, const Standard_Real SpatialTolerance = 1.0e-7, const Standard_Real AngularTolerance = 1.0e-4) const;
-  
-  //! Apply the Law to a shape, for a given Curnilinear abscissa
+
+  //! Apply the Law to a shape, for a given Curvilinear abscissa
   Standard_EXPORT void D0 (const Standard_Real Abscissa, TopoDS_Shape& Section);
-  
-  //! Find the  index Law  and the  parmaeter, for  a given
-  //! Curnilinear abscissa
+
+  //! Find the index Law and the parameter, for a given Curvilinear abscissa
   Standard_EXPORT void Parameter (const Standard_Real Abscissa, Standard_Integer& Index, Standard_Real& Param);
-  
+
   //! Return the curvilinear abscissa  corresponding to a point
   //! of  the path, defined by  <Index>  of  Edge and a
   //! parameter on the edge.
index e01352a0f1438b9e23714e8b757601eb45fc8d1a..0efee65da88f703b3536ba14d18f946086f39b52 100644 (file)
@@ -57,7 +57,7 @@ public:
   //! Say if the Law is  Constant.
   Standard_EXPORT virtual Standard_Boolean IsConstant() const Standard_OVERRIDE;
   
-  //! Give the law build on a concatened section
+  //! Give the law build on a concatenated section
   Standard_EXPORT virtual Handle(GeomFill_SectionLaw) ConcatenedLaw() const Standard_OVERRIDE;
   
   Standard_EXPORT virtual GeomAbs_Shape Continuity (const Standard_Integer Index, const Standard_Real TolAngular) const Standard_OVERRIDE;
index f10987dafafd823c0eb616ecc8790ac82f27c574..30f7d3fd68312a3d1d48571ce2cd1c9d8d0a7e20 100644 (file)
@@ -67,7 +67,7 @@ public:
   
   Standard_EXPORT BRepFill_OffsetWire(const TopoDS_Face& Spine, const GeomAbs_JoinType Join = GeomAbs_Arc, const Standard_Boolean IsOpenResult = Standard_False);
   
-  //! Initialize the evaluation of Offseting.
+  //! Initialize the evaluation of Offsetting.
   Standard_EXPORT void Init (const TopoDS_Face& Spine, const GeomAbs_JoinType Join = GeomAbs_Arc, const Standard_Boolean IsOpenResult = Standard_False);
   
   //! Performs  an OffsetWire at  an altitude <Alt> from
index a577178ac5108c3697b2394d322366596b38c017..0d92fae076b40d5d0cbd1408930d275417a2541b 100644 (file)
@@ -125,18 +125,14 @@ public:
   //! Possibilities are :
   //! - Give one or sevral profile
   //! - Give one profile and an homotetic law.
-  //! - Automatic compute of correspondance between profile, and section
-  //! on the sweeped shape
-  //! - correspondance between profile, and section on the sweeped shape
-  //! defined by a vertex of the spine
+  //! - Automatic compute of correspondence between profile, and section on the sweeped shape
+  //! - correspondence between profile, and section on the sweeped shape defined by a vertex of the spine
   Standard_EXPORT void SetForceApproxC1 (const Standard_Boolean ForceApproxC1);
-  
-  //! Set an section. The corespondance with the spine, will
-  //! be automaticaly performed.
+
+  //! Set an section. The correspondence with the spine, will be automaticaly performed.
   Standard_EXPORT void Add (const TopoDS_Shape& Profile, const Standard_Boolean WithContact = Standard_False, const Standard_Boolean WithCorrection = Standard_False);
-  
-  //! Set an section.   The corespondance with the spine, is
-  //! given by  <Location>
+
+  //! Set an section. The correspondence with the spine, is given by Location.
   Standard_EXPORT void Add (const TopoDS_Shape& Profile, const TopoDS_Vertex& Location, const Standard_Boolean WithContact = Standard_False, const Standard_Boolean WithCorrection = Standard_False);
   
   //! Set  an    section  and  an   homotetic    law.
index feef75ec8d9607e676d03f7b6fa9b1e3cbfefa6d..2b0a5e1b87dd765d5b0744b988608eb68fdd2068 100644 (file)
@@ -60,7 +60,7 @@ public:
   //! Say if the Law is  Constant.
   Standard_EXPORT virtual Standard_Boolean IsConstant() const Standard_OVERRIDE;
   
-  //! Give the law build on a concaneted section
+  //! Give the law build on a concatenated section
   Standard_EXPORT virtual Handle(GeomFill_SectionLaw) ConcatenedLaw() const Standard_OVERRIDE;
   
   Standard_EXPORT virtual GeomAbs_Shape Continuity (const Standard_Integer Index, const Standard_Real TolAngular) const Standard_OVERRIDE;
index 46ef252fb13b72a3350dd499b591ea5f12d00885..8970c4bba3ce9d0e5b30a5df050479789eac784e 100644 (file)
@@ -2758,7 +2758,7 @@ BRepFill_Sweep::BRepFill_Sweep(const Handle(BRepFill_SectionLaw)& Section,
     }
   }
 
-  // (3.1) Reverse the faces that have been built ealier
+  // (3.1) Reverse the faces that have been built earlier
   for (ipath = 1; ipath <= NbPath; ipath++)
     for (isec = 1; isec <= NbLaw; isec++)
       if (IsBuilt(isec))
index 9f26c94252e9b3a0e14b08035438313684df5b06..a7a18f8425f0486c41c9165147a56f2f0fc09d5b 100644 (file)
@@ -61,7 +61,7 @@ public:
   //! Set Approximation Tolerance
   //! Tol3d : Tolerance to surface approximation
   //! Tol2d : Tolerance used to perform curve approximation
-  //! Normaly the 2d curve are approximated with a
+  //! Normally the 2d curve are approximated with a
   //! tolerance given by the resolution on support surfaces,
   //! but if this tolerance is too large Tol2d is used.
   //! TolAngular : Tolerance (in radian) to control the angle
index ce6310d18d05f2bd7c0d985293fa1f7e49c47483..b395ef88fa9049a01fdb8206c94aaebf4ade91bf 100644 (file)
@@ -136,7 +136,7 @@ public:
   //! Sets the mode of chamfer
   Standard_EXPORT void SetMode (const ChFiDS_ChamfMode theMode);
   
-  //! return True if chamfer symetric false else.
+  //! return True if chamfer symmetric false else.
   Standard_EXPORT Standard_Boolean IsSymetric (const Standard_Integer IC) const;
   
   //! return True if chamfer is made with two distances false else.
index 113918e423886097c9b22c00295164147904e0d3..645e4b14f28e5d68b6ea31437c9b7bf03c9103b6 100644 (file)
@@ -91,14 +91,12 @@ public:
   //! -   ChFi2d_NotPlanar if F is not planar,
   //! -   ChFi2d_NoFace if F is a null face.
   Standard_EXPORT void Init (const TopoDS_Face& F);
-  
-  //! This initialize  method allow  to init the builder
-  //! from a  face <RefFace> and  another face <ModFace>
-  //! which derive from  <RefFace>.  This  is usefull to
-  //! modify a fillet or   a chamfer already created  on
-  //! <ModFace> .
+
+  //! This initialize method allow to init the builder
+  //! from a face RefFace and another face ModFace which derive from RefFace.
+  //! This  is useful to modify a fillet or a chamfer already created on ModFace.
   Standard_EXPORT void Init (const TopoDS_Face& RefFace, const TopoDS_Face& ModFace);
-  
+
   //! Adds a fillet of radius Radius between the two edges
   //! adjacent to the vertex V on the face modified by this
   //! algorithm. The two edges do not need to be rectilinear.
index 387c354476ebeb600fe0d462da324f4bcee8a162..212af6abc5a1d9e153fa7593922b1f588b042e25 100644 (file)
@@ -32,7 +32,7 @@ class gp_Pnt;
 //! It can be a curve as defined in the template CurveTool from
 //! package GProp. This template gives the minimum of methods
 //! required to evaluate the global properties of a curve 3D with
-//! the algorithmes of GProp.
+//! the algorithms of GProp.
 class BRepGProp_Cinert  : public GProp_GProps
 {
 public:
index f88518c00fdc8e7f9f5e395740f3809cf6b40944..ecdec3dbb826fbcb9736193c5e4e19ee2da7b29f 100644 (file)
@@ -46,8 +46,7 @@ public:
   //! tolerance used two compare the derivative.
   Standard_EXPORT static GeomAbs_Shape Continuity (const BRepAdaptor_Curve& C1, const BRepAdaptor_Curve& C2, const Standard_Real u1, const Standard_Real u2, const Standard_Real tl, const Standard_Real ta);
   
-  //! The  same  as  preciding   but   using  the   standard
-  //! tolerances from package Precision.
+  //! The same as preceding but using the standard tolerances from package Precision.
   Standard_EXPORT static GeomAbs_Shape Continuity (const BRepAdaptor_Curve& C1, const BRepAdaptor_Curve& C2, const Standard_Real u1, const Standard_Real u2);
 
 
index 8da5165ec3bf63d1ffa997f36844280997cf0511..fe78457b91af393105dad723d9fdff67cb0f47f8 100644 (file)
@@ -137,9 +137,9 @@ public:
   //! -- -- MaxToleranceToCheck  if  so it will compute  the
   //! radius    of  -- the   cylindrical  pipe  surface that
   //! MinToleranceRequest is the minimum tolerance before it
-  //! is usefull to start testing. Usually it should be arround
-  //! 10e-5
-  //! contains all  --  the curve represenation of  the edge
+  //! is useful to start testing.
+  //! Usually it should be arround 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);
   
@@ -147,8 +147,8 @@ public:
   //! Tolerance  is  smaller than  MaxToleranceToCheck --
   //! Returns True if at  least  one edge was updated --
   //! MinToleranceRequest is the minimum tolerance before
-  //! --  it -- is  usefull to start  testing. Usually it
-  //! should be arround -- 10e-5--
+  //! --  it -- is  useful to start  testing.
+  //! Usually it should be arround -- 10e-5--
   //!
   //! Warning :The  method is  very  slow  as it  checks all.
   //! Use  only  in interfaces or  processing assimilate batch
index 3d710092df6d55b556b04a8a8da19ba66fc62e0a..160ec35dd789048eced456293879f56b8c05c554 100644 (file)
@@ -26,10 +26,10 @@ public:
 
   DEFINE_STANDARD_ALLOC
 
-  //! Default contructor
+  //! Default constructor
   BRepLib_CheckCurveOnSurface() {}
   
-  //! Contructor
+  //! Constructor
   Standard_EXPORT BRepLib_CheckCurveOnSurface(const TopoDS_Edge& theEdge,
                                               const TopoDS_Face& theFace);
   
index 528eabd0b73d80893a2432846c53035afe489985..ac1e37be13759e3e511953df40288e477b72db5e 100644 (file)
@@ -594,9 +594,9 @@ void BRepLib_FuseEdges::Perform()
 //=======================================================================
 //function : BuildListConnexEdge
 //purpose  : giving one edge, build the list of connex edges which have
-// vertices that have only two connex edges. All the edges that are addes
+// vertices that have only two connex edges. All the edges that are added
 // to the list must be added also to the mapUniq, in order for the caller
-// to not treat again theses edges.
+// to not treat again these edges.
 // This list is always oriented in the "Forward" direction.
 //=======================================================================
 
index 1acc0be40b129fb7575909ff3da417a52e805a10..20fb75af7570619f5e3d50aa883939bc28be5751 100644 (file)
@@ -72,7 +72,7 @@ public:
   //! Not done.
   Standard_EXPORT BRepLib_MakeFace();
   
-  //! Load a face. Usefull to add wires.
+  //! Load a face. Useful to add wires.
   Standard_EXPORT BRepLib_MakeFace(const TopoDS_Face& F);
   
   //! Make a face from a plane.
index b476db83fc6baacda6933ec55b438a47c1b31ad2..e1eac5dad5a91bcd151cd203a72a13656550bdd7 100644 (file)
@@ -54,7 +54,7 @@ public:
   //! Make a solid from three shells.
   Standard_EXPORT BRepLib_MakeSolid(const TopoDS_Shell& S1, const TopoDS_Shell& S2, const TopoDS_Shell& S3);
   
-  //! Make a solid from a solid. Usefull for adding later.
+  //! Make a solid from a solid. Useful for adding later.
   Standard_EXPORT BRepLib_MakeSolid(const TopoDS_Solid& So);
   
   //! Add a shell to a solid.
index 05f19cf9f445759e048c939ea30de1d587065741..6822d76e3d810de1b98a6efcf2ad1fba595dd444 100644 (file)
@@ -101,7 +101,7 @@ public:
   //! Make a Wire from four edges.
   Standard_EXPORT BRepLib_MakeWire(const TopoDS_Edge& E1, const TopoDS_Edge& E2, const TopoDS_Edge& E3, const TopoDS_Edge& E4);
   
-  //! Make a Wire from a Wire. Usefull for adding later.
+  //! Make a Wire from a Wire. Useful for adding later.
   Standard_EXPORT BRepLib_MakeWire(const TopoDS_Wire& W);
   
   //! Add an edge to a wire.
index 8bdac2c65a0098304b7f4d4568161e2f5f83d7ba..a8acaca8317b2ba577319cc641b8094d355f37cd 100644 (file)
@@ -23,7 +23,7 @@
 #include <gp_XYZ.hxx>
 #include <NCollection_CellFilter.hxx>
 
-//! Auxilary class to find circles shot by the given point.
+//! Auxiliary class to find circles shot by the given point.
 class BRepMesh_CircleInspector : public NCollection_CellFilter_InspectorXY
 {
 public:
index 7dd550180987da7c204378591ebf8a74bdbae9f0..7a307bef3dd135a81b6be0ba2a40aac6f46da3e8 100644 (file)
@@ -83,7 +83,7 @@ public:
     myFaceMax = theMax;
   }
 
-  //! Retruns true if cell filter contains no circle.
+  //! Returns true if cell filter contains no circle.
   Standard_Boolean IsEmpty () const
   {
     return mySelector.Circles ().IsEmpty ();
index c81a303eaa0f3bf993e276997c510cc370e96cf1..d675cb4bd04c7f6af5c32bd4c41605f50aa53839 100644 (file)
@@ -27,7 +27,7 @@
 class gp_Pnt2d;
 class CSLib_Class2d;
 
-//! Auxilary class intended for classification of points
+//! Auxiliary class intended for classification of points
 //! regarding internals of discrete face.
 class BRepMesh_Classifier : public Standard_Transient
 {
index b99e6dce8a4c9e949068b16c113103480d7b772b..ddaa68cf9cf1a21eef2c31f79de12d3fd593680c 100644 (file)
@@ -18,7 +18,7 @@
 
 #include <IMeshTools_Context.hxx>
 
-//! Class implemeting default context of BRepMesh algorithm.
+//! Class implementing default context of BRepMesh algorithm.
 //! Initializes context by default algorithms.
 class BRepMesh_Context : public IMeshTools_Context
 {
index eaf7f3784707aad6f2f53aebf70a9a6b87b1c941..b4c043a1033355ec8621d9439f35e2e173200c29 100644 (file)
@@ -70,7 +70,7 @@ private:
   //! Adds internal vertices to discrete polygon.
   void addInternalVertices ();
 
-  //Check deflection in 2d space for improvement of edge tesselation.
+  //Check deflection in 2d space for improvement of edge tessellation.
   void splitByDeflection2d ();
 
   void splitSegment (
index e190e17a8f4298158966295132759ae2282f211a..0a4a119185960a9f726a79d13e5738c07223cccf 100644 (file)
@@ -162,9 +162,9 @@ public: //! @name API for accessing mesh links.
   Standard_EXPORT void RemoveLink(const Standard_Integer theIndex,
                                   const Standard_Boolean isForce = Standard_False);
 
-  //! Returns indices of elements conected to the link with the given index.
+  //! Returns indices of elements connected to the link with the given index.
   //! @param theLinkIndex index of link whose data should be retrieved.
-  //! @return indices of elements conected to the link.
+  //! @return indices of elements connected to the link.
   const BRepMesh_PairOfIndex& ElementsConnectedTo(
     const Standard_Integer theLinkIndex) const
   {
@@ -222,7 +222,7 @@ public: //! @name API for accessing mesh elements.
 
 
 
-public: //! @name Auxilary API
+public: //! @name Auxiliary API
 
   //! Dumps information about this structure.
   //! @param theStream stream to be used for dump.
index 54ee573820feda999cd2e898c36e8e6930aed8c4..0df76a7538365f574b84480a73374608073bb842 100644 (file)
@@ -936,7 +936,7 @@ void BRepMesh_Delaun::frontierAdjust()
   cleanupMesh();
 
   // When the mesh has been cleaned up, try to process frontier edges 
-  // once again to fill the possible gaps that might be occured in case of "saw" -
+  // once again to fill the possible gaps that might be occurred in case of "saw" -
   // situation when frontier edge has a triangle at a right side, but its free 
   // links cross another frontieres  and meshLeftPolygonOf itself can't collect 
   // a closed polygon.
@@ -953,7 +953,7 @@ void BRepMesh_Delaun::frontierAdjust()
 
 //=======================================================================
 //function : fillBndBox
-//purpose  : Add boundig box for edge defined by start & end point to
+//purpose  : Add bounding box for edge defined by start & end point to
 //           the given vector of bounding boxes for triangulation edges
 //=======================================================================
 void BRepMesh_Delaun::fillBndBox(IMeshData::SequenceOfBndB2d& theBoxes,
@@ -1004,7 +1004,7 @@ Standard_Boolean BRepMesh_Delaun::meshLeftPolygonOf(
   if ( aRefLinkDir.SquareMagnitude() < Precision2 )
     return Standard_True;
 
-  // Auxilary structures.
+  // Auxiliary structures.
   // Bounding boxes of polygon links to be used for preliminary
   // analysis of intersections
   IMeshData::SequenceOfBndB2d aBoxes;
@@ -1096,7 +1096,7 @@ Standard_Boolean BRepMesh_Delaun::meshLeftPolygonOf(
 //           angle respect the given reference link.
 //           Each time the next link is found other neighbor links at the 
 //           pivot node are marked as leprous and will be excluded from 
-//           consideration next time until a hanging end is occured.
+//           consideration next time until a hanging end is occurred.
 //=======================================================================
 Standard_Integer BRepMesh_Delaun::findNextPolygonLink(
   const Standard_Integer&               theFirstNode,
@@ -1204,7 +1204,7 @@ Standard_Integer BRepMesh_Delaun::findNextPolygonLink(
 //=======================================================================
 //function : checkIntersection
 //purpose  : Check is the given link intersects the polygon boundaries.
-//           Returns bounding box for the given link trough the 
+//           Returns bounding box for the given link through the
 //           <theLinkBndBox> parameter.
 //=======================================================================
 Standard_Boolean BRepMesh_Delaun::checkIntersection( 
@@ -1454,7 +1454,7 @@ void BRepMesh_Delaun::killTrianglesAroundVertex(
       }
     }
 
-    // Add link to the survivers to avoid cycling
+    // Add link to the survivors to avoid cycling
     theSurvivedLinks.Add( aNeighborLinkId );
     killLinkTriangles( aNeighborLinkId, theLoopEdges );
   }
@@ -1760,7 +1760,7 @@ void BRepMesh_Delaun::meshPolygon(IMeshData::SequenceOfInteger&   thePolygon,
 
         // In this context only intersections between frontier edges
         // are possible. If intersection between edges of different
-        // types occured - treat this case as invalid (i.e. result 
+        // types occurred - treat this case as invalid (i.e. result 
         // might not reflect the expectations).
         if ( !theSkipped.IsNull() )
         {
@@ -1771,7 +1771,7 @@ void BRepMesh_Delaun::meshPolygon(IMeshData::SequenceOfInteger&   thePolygon,
       }
       else if ( aIntFlag == BRepMesh_GeomTool::PointOnSegment )
       {
-        // Indentify chopping link 
+        // Identify chopping link 
         Standard_Boolean isFirstChopping = Standard_False;
         Standard_Integer aCheckPointIt = 0;
         for ( ; aCheckPointIt < 2; ++aCheckPointIt )
@@ -2034,7 +2034,7 @@ void BRepMesh_Delaun::decomposeSimplePolygon(
       continue;
     }
 
-    // Check is the test link crosses the polygon boudaries
+    // Check is the test link crosses the polygon boundaries
     Standard_Boolean isIntersect = Standard_False;
     for ( Standard_Integer aRefLinkNodeIt = 0; aRefLinkNodeIt < 2; ++aRefLinkNodeIt )
     {
index 93405c0c27ce8881355ce0b5a0ef9f4118715cf1..04c7df1fdc8b24134988f2449ce306dda8b2b189 100755 (executable)
@@ -176,7 +176,7 @@ private:
                         const Standard_Integer theCellsCountU,
                         const Standard_Integer theCellsCountV);
 
-  //! Add boundig box for edge defined by start & end point to
+  //! Add bounding box for edge defined by start & end point to
   //! the given vector of bounding boxes for triangulation edges.
   void fillBndBox (IMeshData::SequenceOfBndB2d&  theBoxes,
                    const BRepMesh_Vertex&        theV1,
@@ -212,7 +212,7 @@ private:
   //! angle respect the given reference link.
   //! Each time the next link is found other neighbor links at the pivot
   //! node are marked as leprous and will be excluded from consideration
-  //! next time until a hanging end is occured.
+  //! next time until a hanging end is occurred.
   Standard_Integer findNextPolygonLink (const Standard_Integer&               theFirstNode,
                                         const Standard_Integer&               thePivotNode,
                                         const BRepMesh_Vertex&                thePivotVertex,
@@ -228,7 +228,7 @@ private:
                                         Bnd_B2d&                              theNextLinkBndBox);
 
   //! Check is the given link intersects the polygon boundaries.
-  //! Returns bounding box for the given link trough the theLinkBndBox parameter.
+  //! Returns bounding box for the given link through the theLinkBndBox parameter.
   Standard_Boolean checkIntersection (const BRepMesh_Edge&                theLink,
                                       const IMeshData::SequenceOfInteger& thePolygon,
                                       const IMeshData::SequenceOfBndB2d&  thePolyBoxes,
index b46056bffc45f6c7021a88e2557dc1b1823ab7e1..8b9718dd445de1b5fd77fbc04b98877e775bc645 100644 (file)
@@ -57,7 +57,7 @@ public:
 
   //! Checks if the given edge and this one have the same orientation.
   //! @param theOther edge to be checked against this one.
-  //! \retrun TRUE if edges have the same orientation, FALSE if not.
+  //! \return TRUE if edges have the same orientation, FALSE if not.
   Standard_Boolean IsSameOrientation(const BRepMesh_Edge& theOther) const
   {
     return BRepMesh_OrientedEdge::IsEqual(theOther);
index b0597ed5adee12288fdcfc1600055e0733bf7cee..17a0c3fe186ac88c40b79a2c5181a15b592e0ccb 100644 (file)
@@ -25,7 +25,7 @@
 //! Auxiliary class checking wires of target face for self-intersections.
 //! Explodes wires of discrete face on sets of segments using tessellation 
 //! data stored in model. Each segment is then checked for intersection with
-//! other ones. All collisions are registerd and returned as result of check.
+//! other ones. All collisions are registered and returned as result of check.
 class BRepMesh_FaceChecker : public Standard_Transient
 {
 public: //! @name mesher API
index c42a082aec967ac98ca5de914a75fe96fe3e1c89..65efa225731c53db6911f12877b39ba3e7d7737c 100644 (file)
@@ -505,7 +505,7 @@ Standard_Integer BRepMesh_GeomTool::classifyPoint(
   if (thePointToCheck.IsEqual(thePoint1, aPrec) || 
       thePointToCheck.IsEqual(thePoint2, aPrec))
   {
-    return -1; //coinsides with an end point
+    return -1; //coincides with an end point
   }
     
   return 1;
index 0ebeb843b1650e196f17802dd4ce38f266c122c0..071e9648504bdf1b59ba32ff25695177b7f27f49 100644 (file)
@@ -57,7 +57,7 @@ public:
   //! @param theLastParam last parameter of the curve.
   //! @param theLinDeflection linear deflection.
   //! @param theAngDeflection angular deflection.
-  //! @param theMinPointsNb minimum nuber of points to be produced.
+  //! @param theMinPointsNb minimum number of points to be produced.
   Standard_EXPORT BRepMesh_GeomTool(
     const BRepAdaptor_Curve& theCurve,
     const Standard_Real      theFirstParam,
@@ -77,7 +77,7 @@ public:
   //! @param theLastParam last parameter of the curve.
   //! @param theLinDeflection linear deflection.
   //! @param theAngDeflection angular deflection.
-  //! @param theMinPointsNb minimum nuber of points to be produced.
+  //! @param theMinPointsNb minimum number of points to be produced.
   Standard_EXPORT BRepMesh_GeomTool(
     const Handle(BRepAdaptor_Surface)& theSurface,
     const GeomAbs_IsoType               theIsoType,
index 61f1fcc443a3f67897418e045d0e95422c4b0306..bf1e05a2a0cab39fa0fa20bc227af25be070ef2e 100644 (file)
@@ -53,7 +53,7 @@ public: //! @name mesher API
                                            const IMeshTools_Parameters& theParameters,
                                            const Message_ProgressRange& theRange = Message_ProgressRange());
 
-  //! Performs meshing ot the shape.
+  //! Performs meshing of the shape.
   Standard_EXPORT virtual void Perform(const Message_ProgressRange& theRange = Message_ProgressRange()) Standard_OVERRIDE;
 
   //! Performs meshing using custom context;
index 6d334647e6d0965186e015ceb5bf0642bab293ea..88c0d071ea4a02368a2d0abf4d6994de430f8606 100644 (file)
@@ -151,7 +151,7 @@ public:
   Standard_EXPORT void CleanFrontierLinks();
 
   //! Erases the given set of triangles.
-  //! Fills map of loop edges forming the countour surrounding the erased triangles.
+  //! Fills map of loop edges forming the contour surrounding the erased triangles.
   void EraseTriangles(const IMeshData::MapOfInteger&  theTriangles,
                       IMeshData::MapOfIntegerInteger& theLoopEdges);
 
index f88a680829c9b09758ee173e64db22d78ad34a9d..3855a776ed491923b86b51d1abce641450bcc6b1 100644 (file)
@@ -23,7 +23,7 @@
 //! Class implements interface representing tool for discrete model building.
 //! 
 //! The following statuses should be used by default:
-//! Message_Done1 - model has been sucessfully built.
+//! Message_Done1 - model has been successfully built.
 //! Message_Fail1 - empty shape.
 //! Message_Fail2 - model has not been build due to unexpected reason.
 class BRepMesh_ModelBuilder : public IMeshTools_ModelBuilder
index 5e407c57a82fd317878b58f8a1dbe48ff0b5a12f..5d6d129432451304e06127bb903c897f220a1043 100644 (file)
@@ -32,7 +32,7 @@
 //! tolerances of 3D space only. This means that there are no specific 
 //! computations are made for the sake of determination of U and V tolerance.
 //! Registers intersections on edges forming the face's shape and tries to
-//! amplify discrete represenation by decreasing of deflection for the target edge.
+//! amplify discrete representation by decreasing of deflection for the target edge.
 //! Checks can be performed in parallel mode.
 class BRepMesh_ModelHealer : public IMeshTools_ModelAlgo
 {
@@ -86,7 +86,7 @@ private:
 
   //! Connects pcurves of previous and current edge on the specified face 
   //! according to topological connectivity. Uses next edge in order to
-  //! identify closest point in case of signle vertex shared between both
+  //! identify closest point in case of single vertex shared between both
   //! ends of edge (degenerative edge)
   Standard_Boolean connectClosestPoints(
     const IMeshData::IPCurveHandle& thePrevDEdge,
index baa9c15b5003abcccc28d205c2eb88a5addef7cf..fd43b3f61cb3945df46e98ccc590e44b17286c62 100644 (file)
@@ -172,7 +172,7 @@ namespace
       return aSteps.second;
     } 
 
-    //! Splits 3D and all pcurves accoring using the specified step.
+    //! Splits 3D and all pcurves accordingly using the specified step.
     Standard_Boolean splitEdge(const IMeshData::IEdgePtr& theDEdge,
                                const Standard_Real        theDU) const
     {
index 60007abfb8299f572e0a1487333118d6d6288c15..5b64f407bb0f35cc855f01e5e25ee5a7451f666c 100644 (file)
@@ -64,7 +64,7 @@ public:
 
   //! Checks this and other edge for equality.
   //! @param theOther edge to be checked against this one.
-  //! @retrun TRUE if edges have the same orientation, FALSE if not.
+  //! @return TRUE if edges have the same orientation, FALSE if not.
   Standard_Boolean IsEqual(const BRepMesh_OrientedEdge& theOther) const
   {
     return (myFirstNode == theOther.myFirstNode && myLastNode == theOther.myLastNode);
index 846b3d4ccefa6533c3410a49d22f45b84d0a0fbc..a3e7878501f4ccde755637737b3970e8e88574d9 100644 (file)
@@ -69,7 +69,7 @@ public:
     return (myIndex[0] < 0);
   }
 
-  //! Returns number of initialized indeces.
+  //! Returns number of initialized indices.
   Standard_Integer Extent() const
   {
     return (myIndex[0] < 0 ? 0 : (myIndex[1] < 0 ? 1 : 2));
index 8189c326841c98176fa1b8d7715fb11ee81088d9..0b00be6df6b92af8bb226dc84eaf93f51ae3dd77 100644 (file)
@@ -30,7 +30,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BRepMesh_ShapeTool, Standard_Transient)
 
 namespace
 {
-  //! Auxilary struct to take a tolerance of edge.
+  //! Auxiliary struct to take a tolerance of edge.
   struct EdgeTolerance
   {
     static Standard_Real Get(const TopoDS_Shape& theEdge)
@@ -39,7 +39,7 @@ namespace
     }
   };
 
-  //! Auxilary struct to take a tolerance of vertex.
+  //! Auxiliary struct to take a tolerance of vertex.
   struct VertexTolerance
   {
     static Standard_Real Get(const TopoDS_Shape& theVertex)
index 7d84feb019a9782642ce8fbe6211c205c24702dd..1c2f698096c671797beb99e174879112626ca78a 100644 (file)
@@ -134,7 +134,7 @@ Standard_Boolean BRepMesh_Triangulator::Perform (NCollection_List<Poly_Triangle>
 
 //=======================================================================
 //function : addTriange34
-//purpose  : auxilary for makeTrianglesUsingBRepMesh
+//purpose  : auxiliary for makeTrianglesUsingBRepMesh
 //=======================================================================
 void BRepMesh_Triangulator::addTriange34(
   const TColStd_SequenceOfInteger&  theW,
@@ -178,7 +178,7 @@ void BRepMesh_Triangulator::addTriange34(
 
 //=======================================================================
 //function : checkCondition
-//purpose  : auxilary for addTriange34
+//purpose  : auxiliary for addTriange34
 //=======================================================================
 Standard_Boolean BRepMesh_Triangulator::checkCondition(
   const int                       (&theNodes)[4],
@@ -204,7 +204,7 @@ Standard_Boolean BRepMesh_Triangulator::prepareMeshStructure ()
   myIndices = new IMeshData::VectorOfInteger (wireNodesNb(myWires));
   myMeshStructure = new BRepMesh_DataStructureOfDelaun (new NCollection_IncAllocator);
 
-  // fill this structure created BRepMesh_Vertexes using 2d points recieved
+  // fill this structure created BRepMesh_Vertexes using 2d points received
   // by projection initial 3d point on plane.
   try
   {
@@ -242,7 +242,7 @@ Standard_Boolean BRepMesh_Triangulator::prepareMeshStructure ()
 
 //=======================================================================
 //function : triangulate
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 Standard_Boolean BRepMesh_Triangulator::triangulate (NCollection_List<Poly_Triangle>& thePolyTriangles)
 {
index ad56df37cc578401a89d7b21c2d4a07e5c19de24..b1538c4e24a7be7722b589ddf3eb1481e8992265 100644 (file)
@@ -31,7 +31,7 @@
 
 class Message_Messenger;
 
-//! Auxilary tool to generate triangulation
+//! Auxiliary tool to generate triangulation
 class BRepMesh_Triangulator
 {
 public:
@@ -51,7 +51,7 @@ public:
     const NCollection_List<TColStd_SequenceOfInteger>& theWires,
     const gp_Dir&                                      theNorm);
 
-  //! Perfroms triangulation of source wires and stores triangles the the output list.
+  //! Performs triangulation of source wires and stores triangles the the output list.
   Standard_EXPORT Standard_Boolean Perform (NCollection_List<Poly_Triangle>& thePolyTriangles);
 
   //! Set messenger for output information
@@ -65,12 +65,12 @@ public:
 
 private:
 
-  // auxilary for makeTrianglesUsingBRepMesh
+  // auxiliary for makeTrianglesUsingBRepMesh
   void addTriange34 (
     const TColStd_SequenceOfInteger&  theW,
     NCollection_List<Poly_Triangle>&  thePolyTriangles);
 
-  // auxilary for addTriange34
+  // auxiliary for addTriange34
   Standard_Boolean checkCondition(
     const int                       (&theNodes)[4],
     const TColStd_SequenceOfInteger&  theWire);
@@ -78,7 +78,7 @@ private:
   // performs initialization of mesh data structure.
   Standard_Boolean prepareMeshStructure();
 
-  // auxilary for triangulation
+  // auxiliary for triangulation
   Standard_Boolean triangulate (NCollection_List<Poly_Triangle>& thePolyTriangles);
 
 private:
index c6e5260a1932d4cf4e0d9b33dc7fdffea8160211..c4b6f9cfb45867c5d3fb9a475ee0456f450366bb 100644 (file)
@@ -216,7 +216,7 @@ struct CDelaBella : IDelaBella
                int points = inp_verts;
                std::sort(vert_alloc, vert_alloc + points);
 
-               // rmove dups
+               // remove dups
                {
                        int w = 0, r = 1; // skip initial no-dups block
                        while (r < points && !Vert::overlap(vert_alloc + r, vert_alloc + w))
@@ -261,7 +261,7 @@ struct CDelaBella : IDelaBella
                        else
                        {
                                if (errlog_proc)
-                                       errlog_proc(errlog_file, "[WRN] all input points are identical, returning signle point!\n");
+                                       errlog_proc(errlog_file, "[WRN] all input points are identical, returning single point!\n");
                                first_hull_vert = vert_alloc + 0;
                                vert_alloc[0].next = 0;
                        }
@@ -333,7 +333,7 @@ struct CDelaBella : IDelaBella
                        // so we calc all signs...
 
                        // why not testing sign of dot prod of 2 normals?
-                       // that way we'd fall into precission problems
+                       // that way we'd fall into precision problems
 
                        Norm LvH = (*v - *last).cross(*head - *last);
                        bool lvh =
@@ -614,7 +614,7 @@ struct CDelaBella : IDelaBella
                        Face* _f = hull;
 
                        // 1. FIND FIRST VISIBLE FACE 
-                       //    simply iterate around last vertex using last added triange adjecency info
+                       //    simply iterate around last vertex using last added triangle adjecency info
                        while (_f->dot(*_q) <= 0)
                        {
                                _f = _f->Next(_p);
@@ -725,8 +725,8 @@ struct CDelaBella : IDelaBella
                        }
 
                        // if add<del+2 hungry hull has consumed some point
-                       // that means we can't do delaunay for some under precission reasons
-                       // althought convex hull would be fine with it
+                       // that means we can't do delaunay for some under precision reasons
+                       // although convex hull would be fine with it
                        assert(add == del + 2);
 
                        // 3. SEW SIDES OF CONE BUILT ON SLIHOUTTE SEGMENTS
index 62f33a948c81888a003ffecefd6ccbe28aecfc5a..156c7e5f3d0608c290183a362407f81fc3661f80 100644 (file)
@@ -4685,7 +4685,7 @@ void RemoveSeamAndDegeneratedEdges(const TopoDS_Face& theFace,
         if (aV1.IsSame(aCurVertex))
           break;
       }
-      if (ind > aEseq.Length()) //error occured: wire is not closed
+      if (ind > aEseq.Length()) //error occurred: wire is not closed
         break;
       
       aBB.Add(aNewWire, aCurEdge);
index ab89b7e51180e4c4ffe526230d8d61fc24a71a96..0f923234aade3513038a4005326567de557f00bf 100644 (file)
@@ -110,10 +110,10 @@ public:
   //! Computes max safe offset value for the given tolerance.
   Standard_Real GetSafeOffset(const Standard_Real theExpectedToler);
 
-  //! Returnes result shape for the given one (if exists).
+  //! Returns result shape for the given one (if exists).
   Standard_EXPORT const TopoDS_Shape Generated(const TopoDS_Shape& theShape) const;
 
-  //! Returnes modified shape for the given one (if exists).
+  //! Returns modified shape for the given one (if exists).
   Standard_EXPORT const TopoDS_Shape Modified(const TopoDS_Shape& theShape) const;
 
 protected:
index 8e25c559a873ce53d2ea07b7703a8bc6314249ef..38bbf0c3690c67c11e9d0769760ef7b7d0f672a5 100644 (file)
@@ -60,7 +60,7 @@ public:
   //!
   //! Created(E) = E'
   //! with: E  = an edge of <Face>
-  //! E' = the image of E in the offseting  of
+  //! E' = the image of E in the offsetting  of
   //! another  face  sharing E  with a
   //! continuity at least G1
   Standard_EXPORT BRepOffset_Offset(const TopoDS_Face& Face, const Standard_Real Offset, const TopTools_DataMapOfShapeShape& Created, const Standard_Boolean OffsetOutside = Standard_True, const GeomAbs_JoinType JoinType = GeomAbs_Arc);
@@ -70,7 +70,7 @@ public:
   Standard_EXPORT BRepOffset_Offset(const TopoDS_Edge& Path, const TopoDS_Edge& Edge1, const TopoDS_Edge& Edge2, const Standard_Real Offset, const TopoDS_Edge& FirstEdge, const TopoDS_Edge& LastEdge, const Standard_Boolean Polynomial = Standard_False, const Standard_Real Tol = 1.0e-4, const GeomAbs_Shape Conti = GeomAbs_C1);
   
   //! Tol and Conti are only used if Polynomial is True
-  //! (Used to perfrom the approximation)
+  //! (Used to perform the approximation)
   Standard_EXPORT BRepOffset_Offset(const TopoDS_Vertex& Vertex, const TopTools_ListOfShape& LEdge, const Standard_Real Offset, const Standard_Boolean Polynomial = Standard_False, const Standard_Real Tol = 1.0e-4, const GeomAbs_Shape Conti = GeomAbs_C1);
   
   Standard_EXPORT void Init (const TopoDS_Face& Face, const Standard_Real Offset, const Standard_Boolean OffsetOutside = Standard_True, const GeomAbs_JoinType JoinType = GeomAbs_Arc);
@@ -82,7 +82,7 @@ public:
   Standard_EXPORT void Init (const TopoDS_Edge& Path, const TopoDS_Edge& Edge1, const TopoDS_Edge& Edge2, const Standard_Real Offset, const TopoDS_Edge& FirstEdge, const TopoDS_Edge& LastEdge, const Standard_Boolean Polynomial = Standard_False, const Standard_Real Tol = 1.0e-4, const GeomAbs_Shape Conti = GeomAbs_C1);
   
   //! Tol and Conti are only used if Polynomial is True
-  //! (Used to perfrom the approximation)
+  //! (Used to perform the approximation)
   Standard_EXPORT void Init (const TopoDS_Vertex& Vertex, const TopTools_ListOfShape& LEdge, const Standard_Real Offset, const Standard_Boolean Polynomial = Standard_False, const Standard_Real Tol = 1.0e-4, const GeomAbs_Shape Conti = GeomAbs_C1);
   
   //! Only used in Rolling Ball. Pipe on Free Boundary
index f49b10ec6c835cff583739a8862efbf2e2774674..fb963236151b059babe4a8098df2e68c15c76ccf 100644 (file)
@@ -183,8 +183,8 @@ public:
   //! 1 - Remove all the free boundary  and the faces
   //! connex to such edges.
   //! 2 - Remove all the shapes not  valid in the result
-  //! (according to the side of offseting)
-  //! in this verion only the first point is implemented.
+  //! (according to the side of offsetting)
+  //! in this version only the first point is implemented.
   Standard_EXPORT static TopoDS_Shape Deboucle3D (const TopoDS_Shape& S,
                                                   const TopTools_MapOfShape& Boundary);
   
index 419d29eadefa58b7e0a75aac677f16fe215789b0..8fef1b02278aadd426c714db93323a110313db93 100644 (file)
@@ -160,8 +160,8 @@ public:
   //! the non-empty constructor or the Init function.
   Standard_EXPORT const TopoDS_Shape& ProblematicShape() const;
   
-  //! Returns an error  status when an error has occured
-  //! (Face,   Edge    or Vertex  recomputaion problem).
+  //! Returns an error  status when an error has occurred
+  //! (Face,   Edge    or Vertex  recomputation problem).
   //! Otherwise returns Draft_NoError. The method may be
   //! called if AddDone  returns Standard_False, or when
   //! IsDone returns Standard_False.
index 4e2ddb957ff362110f4dc3698f598c4f6ddd76b0..bf119d1871b2206657e76da000a5e90bf219a635 100644 (file)
@@ -32,8 +32,7 @@ class TopoDS_Shape;
 class TopoDS_Edge;
 
 
-//! Provides methods to identify contigous boundaries
-//! for continuity control (C0, C1, ...)
+//! Provides methods to identify contiguous boundaries for continuity control (C0, C1, ...)
 //!
 //! Use this function as following:
 //! - create an object
@@ -91,8 +90,7 @@ public:
   //! further shapes subsequently and then to repeat the call to Perform.
   Standard_EXPORT void Perform();
   
-  //! Gives  the number  of edges (free  edges + contigous
-  //! edges  +  multiple edge)
+  //! Gives the number of edges (free edges + contiguous edges + multiple edge)
   Standard_EXPORT Standard_Integer NbEdges() const;
   
   //! Returns the number of contiguous edges found by the
index 93e781b68f63c30c2f79595f1ee57635b9854cec..f2ea8cb64644a2854fa5361da9536a44bc91e73e 100644 (file)
@@ -66,7 +66,7 @@ public:
   
   Standard_EXPORT BRepOffsetAPI_MakeOffset(const TopoDS_Wire& Spine, const GeomAbs_JoinType Join = GeomAbs_Arc, const Standard_Boolean IsOpenResult = Standard_False);
   
-  //! Initialize the evaluation of Offseting.
+  //! Initialize the evaluation of Offsetting.
   Standard_EXPORT void Init (const GeomAbs_JoinType Join = GeomAbs_Arc, const Standard_Boolean IsOpenResult = Standard_False);
   
   //! Initializes the algorithm to construct parallels to the wire Spine.
index 48786e44e8e5059c898eb9b93c486e32fe1847be..18e6c562123eb15b1b4f497954add60cbf672567 100644 (file)
@@ -118,9 +118,9 @@ public:
   //! Possibilities are :
   //! - Give one or sevral section
   //! - Give one profile and an homotetic law.
-  //! - Automatic compute of correspondance between spine, and section
+  //! - Automatic compute of correspondence between spine, and section
   //! on the sweeped shape
-  //! - correspondance between spine, and section on the sweeped shape
+  //! - correspondence between spine, and section on the sweeped shape
   //! defined by a vertex of the spine
   Standard_EXPORT void SetMode (const TopoDS_Wire& AuxiliarySpine, const Standard_Boolean CurvilinearEquivalence, const BRepFill_TypeOfContact KeepContact = BRepFill_NoContact);
   
@@ -230,7 +230,7 @@ public:
   Standard_EXPORT void SetTransitionMode (const BRepBuilderAPI_TransitionMode Mode = BRepBuilderAPI_Transformed);
   
   //! Simulates the resulting shape by calculating its
-  //! cross-sections. The spine is devided by this
+  //! cross-sections. The spine is divided by this
   //! cross-sections into (NumberOfSection - 1) equal
   //! parts, the number of cross-sections is
   //! NumberOfSection. The cross-sections are wires and
index d21cc40d986203775d46b132ff6e5aa3f1c1b688..8176368b8213107f7d90a46dad44d592a276a56d 100644 (file)
@@ -193,7 +193,7 @@ public:
   //! <d1><d2><d3> direction.
   Standard_EXPORT gp_Pnt Point (const BRepPrim_Direction d1, const BRepPrim_Direction d2, const BRepPrim_Direction d3);
 
-  //! Checkes a shape on degeneracy
+  //! Checks a shape on degeneracy
   //! @return TRUE if a shape is degenerated
   Standard_EXPORT Standard_Boolean IsDegeneratedShape();
 
index f2d429c0362fe66d3ae19156dc9e97d9af60e329..f3df9fe1f7d7de776a42d3cfd67f1f3d42aca11c 100644 (file)
@@ -42,9 +42,9 @@ public:
   //! raised if the radius is < Resolution.
   Standard_EXPORT BRepPrim_Sphere(const Standard_Real Radius);
   
-  //! Creates a Sphere with Center and Radius.  Axes are
-  //! the   referrence    axes.   This    is the    STEP
-  //! constructor.
+  //! Creates a Sphere with Center and Radius.
+  //! Axes are the reference axes.
+  //! This is the STEP constructor.
   Standard_EXPORT BRepPrim_Sphere(const gp_Pnt& Center, const Standard_Real Radius);
   
   //! Creates a sphere with given axes system.
index b830fde66279a196744cc1b4fac7f8a2e5e3a6e9..ec5a69a96e6da074adb1c874245591bea1ac5de3 100644 (file)
@@ -208,13 +208,13 @@ void  BRepPrimAPI_MakeRevol::Build()
           {
             if (anIt.Value().IsEqual(anE))
             {
-              //First occurence of initial deg. edge is not replaced
+              //First occurrence of initial deg. edge is not replaced
               aCEL.Remove(anIt);
               break;
             }
             if (anIt.Value().Orientation() == anE.Orientation())
             {
-              //All other occurences of anE are replaced by any copy
+              //All other occurrences of anE are replaced by any copy
               //with suitable orientation
               isReplaced = Standard_True;
               aSubs.Replace(anE, anIt.Value());
@@ -325,7 +325,7 @@ Standard_Boolean BRepPrimAPI_MakeRevol::CheckValidity(const TopoDS_Shape& theSha
 
     Handle(GeomAdaptor_Curve) HC = new GeomAdaptor_Curve();
     HC->Load(C, First, Last);
-    //Checking coinsidence axe of revolution and basis curve
+    //Checking coincidence axe of revolution and basis curve
     //This code is taken directly from GeomAdaptor_SurfaceOfRevolution
     Standard_Integer Ratio = 1;
     Standard_Real Dist;
@@ -336,10 +336,10 @@ Standard_Boolean BRepPrimAPI_MakeRevol::CheckValidity(const TopoDS_Shape& theSha
       Ratio++;
     } while (Dist < Precision::Confusion() && Ratio < 100);
     //
-    if (Ratio >= 100) // edge coinsides with axes
+    if (Ratio >= 100) // edge coincides with axes
     {
       IsValid = Standard_True; //Such edges are allowed by revol algo and treated
-                               //by special way, so they must be concidered as valid
+                               //by special way, so they must be considered as valid
     }
     else
     {
index 81a1cb99c1add444debeac35e40cc1e06e69271f..1470c91143bf3dd5a237b868d004276fa123c4db 100644 (file)
@@ -42,7 +42,7 @@ public:
   
   Standard_EXPORT BRepSweep_Iterator();
   
-  //! Resest the Iterator on sub-shapes of <aShape>.
+  //! Reset the Iterator on sub-shapes of <aShape>.
   Standard_EXPORT void Init (const TopoDS_Shape& aShape);
   
   //! Returns True if there is a current sub-shape.
index 9b23b778960ecdfacbc1ab50f386bf111a9e41fe..bf853d1da7f15e30d9c8fde7b37cae1821edb2ba 100644 (file)
@@ -58,7 +58,7 @@ class Sweep_NumShape;
 //! The topology is like a grid of shapes.  Each shape
 //! of the grid  must be addressable without confusion
 //! by one  or  two objects   from  the generating  or
-//! directing   shapes.  Here are  exemples of correct
+//! directing   shapes.  Here are  examples of correct
 //! associations to address:
 //!
 //! - a vertex : GenVertex - DirVertex
@@ -75,7 +75,7 @@ class Sweep_NumShape;
 //!
 //! The method Has... is given because in some special
 //! cases, a vertex,    an  edge or   a   face may  be
-//! geometricaly nonexistant or not usefull.
+//! geometricaly nonexistant or not useful.
 class BRepSweep_NumLinearRegularSweep 
 {
 public:
@@ -150,15 +150,15 @@ public:
   Standard_EXPORT virtual Standard_Boolean GDDShapeIsToAdd (const TopoDS_Shape& aNewShape, const TopoDS_Shape& aNewSubShape, const TopoDS_Shape& aGenS, const Sweep_NumShape& aDirS, const Sweep_NumShape& aSubDirS) const = 0;
   
   //! In  some  particular  cases  the   topology  of  a
-  //! generated  face must be  composed  of  independant
+  //! generated  face must be  composed  of  independent
   //! closed wires,  in this case  this function returns
   //! true.
   Standard_EXPORT virtual Standard_Boolean SeparatedWires (const TopoDS_Shape& aNewShape, const TopoDS_Shape& aNewSubShape, const TopoDS_Shape& aGenS, const TopoDS_Shape& aSubGenS, const Sweep_NumShape& aDirS) const = 0;
   
   //! In  some  particular  cases  the   topology  of  a
-  //! generated  Shell must be  composed  of  independant
+  //! generated  Shell must be  composed  of  independent
   //! closed Shells,  in this case  this function returns
-  //! a Compound of independant Shells.
+  //! a Compound of independent Shells.
   Standard_EXPORT virtual TopoDS_Shape SplitShell (const TopoDS_Shape& aNewShape) const;
   
   //! Called to propagate the continuity of  every vertex
index 2adc5e4183b6ca518cb8e4768c643ed289353320..9ffb9c45e2496d5b7abb84a72cc360c4fdefec55 100644 (file)
@@ -112,16 +112,16 @@ public:
   Standard_EXPORT Standard_Boolean GDDShapeIsToAdd (const TopoDS_Shape& aNewShape, const TopoDS_Shape& aNewSubShape, const TopoDS_Shape& aGenS, const Sweep_NumShape& aDirS, const Sweep_NumShape& aSubDirS) const Standard_OVERRIDE;
   
   //! In   some  particular  cases  the  topology  of  a
-  //! generated  face  must  be  composed of independant
+  //! generated  face  must  be  composed of independent
   //! closed wires, in  this  case this function returns
-  //! true.   The  only  case in whitch the function may
+  //! true.   The  only  case in which the function may
   //! return true is a planar face in a closed revol.
   Standard_EXPORT Standard_Boolean SeparatedWires (const TopoDS_Shape& aNewShape, const TopoDS_Shape& aNewSubShape, const TopoDS_Shape& aGenS, const TopoDS_Shape& aSubGenS, const Sweep_NumShape& aDirS) const Standard_OVERRIDE;
   
   //! In  some  particular  cases  the   topology  of  a
-  //! generated  Shell must be  composed  of  independant
+  //! generated  Shell must be  composed  of  independent
   //! closed Shells,  in this case  this function returns
-  //! a Compound of independant Shells.
+  //! a Compound of independent Shells.
   Standard_EXPORT virtual TopoDS_Shape SplitShell (const TopoDS_Shape& aNewShape) const Standard_OVERRIDE;
   
   //! Returns true   if aDirS   and aGenS  addresses   a
index 1f06f805c3f126f329c95a7391c0bbe68ed2cd36..4ff7c96bb12074bfcd946b4c99bc2c270900dcb6 100644 (file)
@@ -113,7 +113,7 @@ public:
   Standard_EXPORT Standard_Boolean GDDShapeIsToAdd (const TopoDS_Shape& aNewShape, const TopoDS_Shape& aNewSubShape, const TopoDS_Shape& aGenS, const Sweep_NumShape& aDirS, const Sweep_NumShape& aSubDirS) const;
   
   //! In  some  particular  cases  the   topology  of  a
-  //! generated  face must be  composed  of  independant
+  //! generated  face must be  composed  of  independent
   //! closed wires,  in this case  this function returns
   //! true.
   //! Here it always returns false.
index ce410f8c19348cd24c80044b9cf6e0c0e8d8c57f..0f2c4b245f7c9515a37df5e7f05d9147df3649d5 100644 (file)
@@ -40,7 +40,7 @@ class TopLoc_Location;
 //! proposed :
 //!
 //! - sharing  basis elements  (the generatrice can be
-//! modified , for  exemples  PCurves can be added  on
+//! modified , for  example  PCurves can be added  on
 //! faces);
 //!
 //! - copying everything.
@@ -56,7 +56,7 @@ public:
   //! be called in the initialize.
   Standard_EXPORT void Init();
   
-  //! function called to analize the way of construction
+  //! function called to analyze the way of construction
   //! of the shapes generated by aGenS and aDirV.
   Standard_EXPORT Standard_Boolean Process (const TopoDS_Shape& aGenS, const Sweep_NumShape& aDirV);
   
@@ -120,7 +120,7 @@ public:
   Standard_EXPORT virtual Standard_Boolean GDDShapeIsToAdd (const TopoDS_Shape& aNewShape, const TopoDS_Shape& aNewSubShape, const TopoDS_Shape& aGenS, const Sweep_NumShape& aDirS, const Sweep_NumShape& aSubDirS) const = 0;
   
   //! In  some  particular  cases  the   topology  of  a
-  //! generated  face must be  composed  of  independant
+  //! generated  face must be  composed  of  independent
   //! closed wires,  in this case  this function returns
   //! true.
   Standard_EXPORT virtual Standard_Boolean SeparatedWires (const TopoDS_Shape& aNewShape, const TopoDS_Shape& aNewSubShape, const TopoDS_Shape& aGenS, const TopoDS_Shape& aSubGenS, const Sweep_NumShape& aDirS) const = 0;
index 42d300fb3ecc5333fbcb12b8111a858c281a6236..34916d9c45939138a2cc5dabcf3a3a1412a44d56 100644 (file)
@@ -227,7 +227,7 @@ static Standard_Integer draft (Draw_Interpretor& di,
       if (Inside==1)  KeepInside = Standard_False;
       MkDraft.Perform(Surf, KeepInside);
     }
-    else {  // by Lenght
+    else {  // by Length
       Standard_Real L = Draw::Atof(a[7]);
       if (L > 1.e-7) {
         MkDraft.Perform(L);
index 6b54ac18e819ab4695a01a1b76d091a9403c0b92..c7f2ddc5c5a7526d19629318f7c6dd572ab9be43 100644 (file)
@@ -271,7 +271,7 @@ Standard_Integer evolved(Draw_Interpretor& di, Standard_Integer n, const char**
     di << "   Make evolved profile on spine.\n";
     di << "   -solid means make closed solid.\n";
     di << "   -v means use alternative algorithm (volume mode).\n";
-    di << "   -a means referencial CS is automatically computed, otherwise global CS is used. \n";
+    di << "   -a means referential CS is automatically computed, otherwise global CS is used. \n";
     di << "   -t sets the tolerance.\n";
     di << "   -parallel turns on parallel execution.\n";
     return 0;
@@ -760,12 +760,12 @@ static Standard_Integer buildsweep(Draw_Interpretor& di,
 {
   if (n == 1) {
     di << "build sweep result [-M/-C/-R] [-S] [tol] : options are\n";
-    di << "   -M : Discontinuities are treated by Modfication of\n";
+    di << "   -M : Discontinuities are treated by Modification of\n";
     di << "        the sweeping mode : it is the default\n";
     di << "   -C : Discontinuities are treated like Right Corner\n";
-    di << "        Treatement is Extent && Intersect\n";
+    di << "        Treatment is Extent && Intersect\n";
     di << "   -R : Discontinuities are treated like Round Corner\n";
-    di << "        Treatement is Intersect and Fill\n";
+    di << "        Treatment is Intersect and Fill\n";
     di << "   -S : To build a Solid\n";
     return 0;
   }
index 9744e3083ef80363cf5a329fc4f30a9284d83810..48e93ac28f8c103df02643a74d2039c343b66917 100644 (file)
@@ -141,7 +141,7 @@ public:
   //! Update a compound (nothing is done)
   Standard_EXPORT static void Update (const TopoDS_Compound& C);
   
-  //! Update a shape, call the corect update.
+  //! Update a shape, call the correct update.
   Standard_EXPORT static void Update (const TopoDS_Shape& S);
   
   //! For each edge of the face <F> reset the UV points
index fac94b487db3b0a651aee397ba4d2e86b8737aad..5022e4ee58435522cb83cf519a42731e6506cff4 100644 (file)
@@ -412,7 +412,7 @@ Standard_Boolean BRepTools_Modifier::Rebuild
         {
           // rem dub 16/09/97 : Make constant topology or not make at all.
           // Do not make if CopySurface = 1
-          // Atention, TRUE sewing edges (RealyClosed)  
+          // Atention, TRUE sewing edges (ReallyClosed)
           // stay even if  CopySurface is true.
     
           // check that edge contains two pcurves on this surface:
index ac8d9e29e0036d287477ef52e89a46a9772c2605..871ea7c23c5093209daca77949e927f023784074 100644 (file)
@@ -89,7 +89,7 @@ public:
   //! vertex, an edge or a face)
   Standard_EXPORT Standard_Boolean IsCopied (const TopoDS_Shape& S) const;
   
-  //! Returns the shape  substitued to <S> in the Quilt.
+  //! Returns the shape substituted to <S> in the Quilt.
   Standard_EXPORT const TopoDS_Shape& Copy (const TopoDS_Shape& S) const;
   
   //! Returns a Compound of shells made from the current
index f26089109c95df156cecb12a6860364200ce67b0..bdb87cd36fc8dcd9961953fae40a0468ec15aec6 100644 (file)
@@ -77,7 +77,7 @@
 //                Workaround is following: Now we don`t use tellg for get position in stream.
 //                Now able to read file (when reading TopAbs_FACE) without tellg. 
 //                We simple check the next string if there are value that equal 2 
-//               (It means a parametr for triangulation).
+//               (It means a parameter for triangulation).
 
 
 //=======================================================================
index 1e56273e4d19acc39c0b5302c5c76ff6f06180bb..9e8e22cf8ba74391720ccb1fb5319d6fee360904 100644 (file)
@@ -69,7 +69,7 @@ public:
   //! Returns   True if <S> has   been  replaced .
   Standard_EXPORT Standard_Boolean IsCopied (const TopoDS_Shape& S) const;
   
-  //! Returns the set of shapes  substitued to <S> .
+  //! Returns the set of shapes substituted to <S>.
   Standard_EXPORT const TopTools_ListOfShape& Copy (const TopoDS_Shape& S) const;
 
 
index 8bca724dda698e5f5e0768318cb23c36a592c9d6..c35d1934137d3e08af8f9a49b96a7a096daa54a2 100644 (file)
@@ -1186,7 +1186,7 @@ void  BSplCLib::Bohm(const Standard_Real U,
                     const Standard_Integer Dimension,
                     Standard_Real& Poles)
 {
-  // First phase independant of U, compute the poles of the derivatives
+  // First phase independent of U, compute the poles of the derivatives
   Standard_Integer i,j,iDim,min,Dmi,DDmi,jDmi,Degm1;
   Standard_Real *knot = &Knots, *pole, coef, *tbis, *psav, *psDD, *psDDmDim;
   psav     = &Poles;
@@ -1816,7 +1816,7 @@ Standard_Boolean  BSplCLib::PrepareInsertKnots
   }
 
   if (Periodic) {
-    //for periodic B-Spline the requirement is that multiplicites of the first
+    //for periodic B-Spline the requirement is that multiplicities of the first
     //and last knots must be equal (see Geom_BSplineCurve constructor for
     //instance);
     //respectively AddMults() must meet this requirement if AddKnots() contains
@@ -2677,7 +2677,7 @@ void  BSplCLib::PrepareUnperiodize
     NbKnots++;
   }
   // We must add exactly until Degree + 1 -> 
-  //    Supress the excedent.
+  //    Suppress the excedent.
   if ( sigma > Degree + 1)
     NbPoles -= sigma - Degree - 1;
 
@@ -2693,7 +2693,7 @@ void  BSplCLib::PrepareUnperiodize
     NbKnots++;
   }
   // We must add exactly until Degree + 1 -> 
-  //    Supress the excedent.
+  //    Suppress the excedent.
   if ( sigma > Degree + 1)
     NbPoles -= sigma - Degree - 1;
 }
index 83333d802ec75cb7e5ecf13c2e16fea035ec60db..7d896443068baddfeea358fe42b040ce8fcbca2f 100644 (file)
@@ -383,7 +383,7 @@ public:
   //! Used as argument for a flatknots evaluation.
     static TColStd_Array1OfInteger* NoMults();
   
-  //! Stores in LK  the usefull knots  for the BoorSchem
+  //! Stores in LK the useful knots for the BoorSchem
   //! on the span Knots(Index) - Knots(Index+1)
   Standard_EXPORT static void BuildKnots (const Standard_Integer Degree, const Standard_Integer Index, const Standard_Boolean Periodic, const TColStd_Array1OfReal& Knots, const TColStd_Array1OfInteger* Mults, Standard_Real& LK);
   
index 1ebee54a48ce8dce534cf5199bc499a933cc1b1a..e56b5df13c219251f4b82d7771c3f194c8abb652 100644 (file)
@@ -620,7 +620,7 @@ BSplCLib::SolveBandedSystem(const math_Matrix&  Matrix,
 //           will be homogeneous that is no division or multiplication
 //           by weigths will happen. On the contrary if HomogeneousFlag
 //           is 0 then the poles will be multiplied first by the weights
-//           and after interpolation they will be devided by the weights
+//           and after interpolation they will be divided by the weights
 //=======================================================================
 
 Standard_Integer 
index 29f58c8215638663a700414e5e65e44071cb8ef7..e8f28e18f8f2716f0133fec7b4398be8430ba879 100644 (file)
@@ -234,7 +234,7 @@ static void KPartCurve3d(TopoDS_Edge           Edge,
   TopLoc_Location Loc;
   Standard_Real Tol = Precision::Confusion();
 
-  // Seach only isos on analytical surfaces.
+  // Search only isos on analytical surfaces.
   Geom2dAdaptor_Curve C(Curve);
   GeomAdaptor_Surface S(Surf);
   GeomAbs_CurveType   CTy = C.GetType();
index 7b9325af5c04e7c16e3b7d95792cff57782d1e1b..f613ff7d7430c82886ffc9e6829ea43d3b68a639 100644 (file)
@@ -97,7 +97,7 @@ protected:
      const Standard_Boolean isMess = Standard_False,
         const Message_ProgressRange& theRange = Message_ProgressRange());
   
-  //! checks the shapes section can be correctly retreived.
+  //! checks the shapes section can be correctly retrieved.
   Standard_EXPORT virtual void CheckShapeSection (const Storage_Position& thePos, Standard_IStream& theIS);
 
   //! clears the reading-cash data in drivers if any.
index a682929815c5537ef7d8827746f062a201bd03b1..aa67de6f3756f8f20cb4a9ae16c95e7b5bf0f051 100644 (file)
@@ -387,7 +387,7 @@ void BinLDrivers_DocumentStorageDriver::FirstPass
 
 //=======================================================================
 //function : WriteInfoSection
-//purpose  : Write info secton using FSD_BinaryFile driver
+//purpose  : Write info section using FSD_BinaryFile driver
 //=======================================================================
 
 #define START_TYPES "START_TYPES"
index 096afdbc1f13bb931eef924309310269e854d20a..9862219e39e9d452a53085f3319890739392eca9 100644 (file)
@@ -102,7 +102,7 @@ private:
   //! attributes to store
   Standard_EXPORT Standard_Boolean FirstPassSubTree (const TDF_Label& L, TDF_LabelList& ListOfEmptyL);
   
-  //! Write info secton using FSD_BinaryFile driver
+  //! Write info section using FSD_BinaryFile driver
   Standard_EXPORT void WriteInfoSection (const Handle(CDM_Document)& theDocument, Standard_OStream& theOStream);
   
   Standard_EXPORT void UnsupportedAttrMsg (const Handle(Standard_Type)& theType);
index dfee78838a7fc3fa03e8bcb2a30e9010fb9ee04c..99a5854199a602305d3e921eb90d9a8f3329de49 100644 (file)
@@ -119,7 +119,7 @@ Standard_Boolean BinMXCAFDoc_LocationDriver::Translate(const BinObjMgt_Persisten
       } else
         return Standard_False;
     } else {
-      // read the datum's trasformation
+      // read the datum's transformation
       gp_Trsf aTrsf;
 
       Standard_Real aScaleFactor;
index 911f015929073cbf948b20a20e88d6c251531d48..c5d509b88020c09069f80f721991475f626319b2 100644 (file)
@@ -67,7 +67,7 @@ Bisector_BisecAna::Bisector_BisecAna()
 }
 
 //=============================================================================
-//              calcul the distance betweem the point and the bissectrice.              +
+//              calcul the distance between the point and the bissectrice.              +
 //              and orientation of the bissectrice.                             +
 //    apoint        :       point of passage.                                 +
 //    abisector     :       calculated bissectrice.                          +
@@ -345,12 +345,12 @@ void Bisector_BisecAna::Perform(const Handle(Geom2d_Curve)& afirstcurve   ,
 //                   gp_Dir2d(circle1.Location().X() - PMil.X(), 
 //                            circle1.Location().Y() - PMil.Y()));
       if (!circle1.Location().IsEqual(PMil,PreConf)) {
-       // PMil doesn't coinside with the circle location.
+       // PMil doesn't coincide with the circle location.
        line = gp_Lin2d(PMil,
                        gp_Dir2d(circle1.Location().X() - PMil.X(), 
                                 circle1.Location().Y() - PMil.Y()));
       } else if (radius1 >= PreConf) {
-       // PMil coinsides with the circle location and radius is greater then 0.
+       // PMil coincides with the circle location and radius is greater then 0.
        line = gp_Lin2d(circle1.Location(),
                        gp_Dir2d(P1.Y() - circle1.Location().Y(), 
                                 circle1.Location().X() - P1.X()));
index d1da6be0f171c245ed353315c77606ba64a607ed..f36c72749be50980ec88c722ef310f916268bf10 100644 (file)
@@ -348,7 +348,7 @@ void BndLib_AddSurface::Add(const Adaptor3d_Surface& S,
       {
         // Bezier surface:
         // All of poles used for any parameter,
-        // thats why in case of trimmed parameters handled by grid algorithm.
+        // that's why in case of trimmed parameters handled by grid algorithm.
 
         if (Abs(UMin-S.FirstUParameter()) > PTol ||
             Abs(VMin-S.FirstVParameter()) > PTol ||
index d8ab7573b7bdb936cf9e153b72cd9b0a8be6122c..b4871f42515cac198a493a412277988475d77dd8 100644 (file)
@@ -97,7 +97,7 @@ public:
   //!
   //! Handle(CDM_Document) theDocument=myApplication->Retrieve("|user|cascade","box");
   //!
-  //! Since  the version is not specified in  this syntax, the  latest wil be used.
+  //! Since  the version is not specified in  this syntax, the  latest will be used.
   //! A link is kept with the database through an instance of CDM_MetaData
   Standard_EXPORT Handle(CDM_Document) Retrieve
     (const TCollection_ExtendedString& aFolder,
index 6c9e7ce51e9f747fb0f208e460dcec8c65c77332..3987b6f67cf004a2c70bf76177d6d6d28106343b 100644 (file)
@@ -53,8 +53,8 @@ public:
   
   Standard_EXPORT virtual TCollection_ExtendedString BuildFileName (const Handle(CDM_Document)& aDocument) = 0;
   
-  //! this methods  is usefull if the name  of an  object --
-  //! depends on  the metadatadriver. For  example a Driver
+  //! this method is useful if the name of an object --
+  //! depends on the metadatadriver. For  example a Driver
   //! -- based  on the operating  system can choose to  add
   //! the extension of file to create to the object.
   Standard_EXPORT virtual TCollection_ExtendedString SetName (const Handle(CDM_Document)& aDocument, const TCollection_ExtendedString& aName);
index 4be2f56c5ad5e8f9cd9b101ac27fe5a2c74e3cc6..3b819486d870e15be0feea3a71f45e2b19940c91 100644 (file)
@@ -213,8 +213,8 @@ public:
   //! Returns empty sequence if no comments are associated.
   Standard_EXPORT void Comments (TColStd_SequenceOfExtendedString& aComments) const;
   
-  //! returns the first of associated comments. By defaut
-  //! the comment is an empty string.
+  //! Returns the first of associated comments.
+  //! By default the comment is an empty string.
   Standard_EXPORT Standard_ExtString Comment() const;
   
   Standard_EXPORT Standard_Boolean IsStored() const;
@@ -244,10 +244,9 @@ public:
   //! defines the name under which the object should be stored.
   Standard_EXPORT void SetRequestedName (const TCollection_ExtendedString& aName);
   
-  //! determines  under  which the document  is  going to be
-  //! store.  By default the name of the document wil be --
-  //! used.  If the document has  no name  its presentation
-  //! will be used.
+  //! Determines under which the document is going to be store.
+  //! By default the name of the document will be used.
+  //! If the document has no name its presentation will be used.
   Standard_EXPORT TCollection_ExtendedString RequestedName();
   
   Standard_EXPORT void SetRequestedPreviousVersion (const TCollection_ExtendedString& aPreviousVersion);
index 0d1f38faabfe4fc9808f06b20f8a8f60eb7b200e..082a08a16159695e3507a1f6a4e840d96b314eb3 100644 (file)
@@ -20,7 +20,7 @@
 //  calculate the total length of the curve
 //  calculate an approached point by assimilating the curve to a staight line
 //  calculate the length of the curve between the start point and the approached point
-//  by succsessive iteration find the point and its associated parameter
+//  by successive iteration find the point and its associated parameter
 //  call to FunctionRoot
 
 #include <Adaptor2d_Curve2d.hxx>
index f69e5ab7835323c3d67fee16ef95ac0c2c82e588..a39a1f91598ea2796701b44995e9e3acd3819b1b 100644 (file)
@@ -144,9 +144,9 @@ public:
   Standard_EXPORT void Perform (const Standard_Real Abscissa, const Standard_Real U0, const Standard_Real Ui, const Standard_Real Resolution);
   
   //! Computes the point at the distance <Abscissa> of
-  //! the curve; performs more appropriate tolerance managment;
+  //! the curve; performs more appropriate tolerance management;
   //! to use this method in right way it is necessary to call
-  //! empty consructor. then call method Init with
+  //! empty constructor. then call method Init with
   //! Tolerance = Resolution, then call AdvPermorm.
   //! U0 is the parameter of the point from which the distance
   //! is measured and Ui is the starting value for the iterative
index 6e2d94eb8497062212c92c0038cb40913e3834b3..b990af0d70e65600ac61ea53d96abbb154172025 100644 (file)
@@ -30,7 +30,7 @@ void CPnts_MyRootFunction::Init(const Standard_Real X0,
 {
   myX0 = X0;
   myL = L;
-  myTol = -1; //to supress the tolerance
+  myTol = -1; //to suppress the tolerance
 }
 
 void CPnts_MyRootFunction::Init(const Standard_Real X0,
index 447b90959fb1ac955bcb028bafec1968e1853f96..d58cfbcf989a94054ae74642f4597a26186cdba7 100644 (file)
@@ -144,7 +144,7 @@ void CPnts_UniformDeflection::Perform()
        NormD2 = V2.CrossMagnitude(V1) / NormD1;
        
        // passing of arrow starting from which the redivision is done is arbitrary
-       // probably it will be necessary to readjust it (differenciate the first point 
+       // probably it will be necessary to readjust it (differentiate the first point
        // from the others) this test does not work on the points of inflexion
        
        if (NormD2 > myDeflection / 5.0) {
index 8f0cb944801133db7ba0aa35b2cd4578a6ed6c9d..f2b6d670f1febb010973052e5ed7e4a5c9a51a11 100644 (file)
@@ -62,7 +62,7 @@ public:
 
   //! If there is a singularity on the surface  the previous method
   //! cannot compute the local normal.
-  //! This method computes an approched normal direction of a surface.
+  //! This method computes an approached normal direction of a surface.
   //! It does a limited development and needs the second derivatives
   //! on the surface as input data.
   //! It computes the normal as follow :
@@ -83,7 +83,7 @@ public:
   //! . if DNu/DNv or DNv/DNu is lower or equal than Real Epsilon
   //! Done = False, the normal is undefined
   //! . if DNu IsNull and DNv is Null Done = False, there is an
-  //! indetermination and we should do a limited developpement at
+  //! indetermination and we should do a limited development at
   //! order 2 (it means that we cannot omit Eps).
   //! . if DNu Is not Null and DNv Is not Null Done = False, there are
   //! an infinity of normals at the considered point on the surface.
index 0ddf3523bf6bfeb3d51ad00ca3af1b435e623404..a37b4b91be28550056c7c8083a75ce759c871551 100644 (file)
@@ -43,7 +43,7 @@ class ChFi2d_Builder;
 //! the fillet edge for any type of edges including
 //! ellipses and b-splines.
 //! The edges may even have no common point.
-//! ChFi2d_ChamferAPI - an algoroithm for construction of chamfers
+//! ChFi2d_ChamferAPI - an algorithm for construction of chamfers
 //! between two linear edges of a plane.
 //!
 //! The algorithms ChFi2d_AnaFilletAlgo and ChFi2d_FilletAlgo may be used directly
index 91067fd87ce4a64e11b9dbff630bf2e8d3c62a61..aecba4a44d02e4b234fe2a968b5a0066668ae69a 100644 (file)
 #ifndef _ChFi2d_ConstructionError_HeaderFile
 #define _ChFi2d_ConstructionError_HeaderFile
 
-//! error     that    can   occur       during   the
-//! fillet  construction on planar wire//! the face is not planar//! the face is null//! the two  faces used for the initialisation are
-//! uncompatible.//! the  parameters  as  distances   or  angle for
-//! chamfer are less or equal to zero.//! the initialization has been succesfull.//! the algorithm could not find a solution.//! the vertex given  to locate the fillet  or the
-//! chamfer  is not connected to 2 edges.//! the two edges connected to the vertex are tangent.//! the first edge is degenerated.//! the last edge is degenerated.//! the two edges are degenerated.//! One or the two  edges connected to the  vertex
-//! is a fillet or a chamfer
-//! One or the two  edges connected to the  vertex
-//! is not a line or a circle
+//! Error that can occur during the fillet construction on planar wire.
 enum ChFi2d_ConstructionError
 {
-ChFi2d_NotPlanar,
-ChFi2d_NoFace,
-ChFi2d_InitialisationError,
-ChFi2d_ParametersError,
-ChFi2d_Ready,
-ChFi2d_IsDone,
-ChFi2d_ComputationError,
-ChFi2d_ConnexionError,
-ChFi2d_TangencyError,
-ChFi2d_FirstEdgeDegenerated,
-ChFi2d_LastEdgeDegenerated,
-ChFi2d_BothEdgesDegenerated,
-ChFi2d_NotAuthorized
+  ChFi2d_NotPlanar,            //!< the face is not planar
+  ChFi2d_NoFace,               //!< the face is null
+  ChFi2d_InitialisationError,  //!< the two  faces used for the initialisation are uncompatible
+  ChFi2d_ParametersError,      //!< the parameters as distances or angle for chamfer are less or equal to zero
+  ChFi2d_Ready,                //!< the initialization has been successful
+  ChFi2d_IsDone,
+  ChFi2d_ComputationError,     //!< the algorithm could not find a solution
+  ChFi2d_ConnexionError,       //!< the vertex given to locate the fillet or the chamfer is not connected to 2 edges
+  ChFi2d_TangencyError,        //!< the two edges connected to the vertex are tangent
+  ChFi2d_FirstEdgeDegenerated, //!< the first edge is degenerated
+  ChFi2d_LastEdgeDegenerated,  //!< the last edge is degenerated
+  ChFi2d_BothEdgesDegenerated, //!< the two edges are degenerated
+  ChFi2d_NotAuthorized         //!< One or the two edges connected to the vertex is a fillet or a chamfer;
+                               //!  One or the two edges connected to the vertex is not a line or a circle
 };
 
 #endif // _ChFi2d_ConstructionError_HeaderFile
index 1acbaf8377842fd0a2efca01ec3f80ef6d54e3a3..f4b8867b430a665ea36b9cc950d5404d7bdd9696 100644 (file)
@@ -51,10 +51,9 @@ class FilletPoint;
 //! 3. Using Newton search method take the point on the segment where function
 //!    value is most close to zero. If it is not enough close, step 2 and 3 are
 //!    repeated taking as start or end point the found point.
-//! 4. If solution is found, result is created on point on root of the function
-//!    (as a start point), point of the projection onto second curve (as an end 
-//!    point) and center of arc in found center. Initial edges are cutted by
-//!    the start and end point of tangency.
+//! 4. If solution is found, result is created on point on root of the function (as a start point),
+//!    point of the projection onto second curve (as an end point) and center of arc in found center.
+//!    Initial edges are cut by the start and end point of tangency.
 class ChFi2d_FilletAlgo 
 {
 public:
@@ -115,7 +114,7 @@ private:
   //! Stores roots in myResultParams.
   void PerformNewton(FilletPoint*, FilletPoint*);
   //! Splits segment by the parameter and calls Newton method for both segments.
-  //! It supplies recursive iterations of the Newthon methods calls 
+  //! It supplies recursive iterations of the Newton methods calls
   //! (PerformNewton calls this function and this calls Netwton two times).
   Standard_Boolean ProcessPoint(FilletPoint*, FilletPoint*, Standard_Real);
 
index e2ef5bc89481c9a4e0da0589712de989670ba661..02b474a9cf0c00b38c5db1fd8acb9405669f7acc 100644 (file)
@@ -180,9 +180,8 @@ public:
   //! of  failure WalkingFailure,TwistedSurface,Error, Ok
   Standard_EXPORT ChFiDS_ErrorStatus StripeStatus (const Standard_Integer IC) const;
   
-  //! Reset all  results of   compute and returns the  algorythm
-  //! in  the  state  of  the  last  acquisition to
-  //! enable modification of contours or areas.
+  //! Reset all results of compute and returns the algorithm
+  //! in the state of the last acquisition to enable modification of contours or areas.
   Standard_EXPORT void Reset();
   
   //! Returns the Builder of  topologic operations.
index 0babefe4bda8a9b5964131e51545fba3753afbba..89bb505133f4458069adb2adf6c39fd276b44627 100644 (file)
@@ -724,8 +724,8 @@ void ChFi3d_ExtrSpineCarac(const TopOpeBRepDS_DataStructure& DStr,
 }
 //=======================================================================
 //function : ChFi3d_CircularSpine
-//purpose  : Calculate a cicular guideline for the corner created from  
-//           tangent points and vectors calculated at the extremities 
+//purpose  : Calculate a circular guideline for the corner created from
+//           tangent points and vectors calculated at the extremities
 //           of guidelines of start and end fillets.
 //=======================================================================
 Handle(Geom_Circle) ChFi3d_CircularSpine(Standard_Real&      WFirst,
@@ -1845,7 +1845,7 @@ Standard_EXPORT void ChFi3d_FilCommonPoint(const BRepBlend_Extremity& SP,
       Dist = DistL; }
 
       if (Dist <= maxtol + BRep_Tool::Tolerance(V[Index_min]) ) { 
-        // a prexisting vertex has been met
+        // a preexisting vertex has been met
         CP.SetVertex(V[Index_min]); //the old vertex is loaded
         CP.SetPoint( BRep_Tool::Pnt(V[Index_min]) );
         maxtol = Max(BRep_Tool::Tolerance(V[Index_min]),maxtol);
@@ -3203,7 +3203,7 @@ Standard_Boolean ChFi3d_ComputeCurves(const Handle(Adaptor3d_Surface)&   S1,
         if(nbl==0) {
 
           //  solution of adjustment for SGI 
-          //  if the intersection of gs1 with gs2 doesnot worke 
+          //  if the intersection of gs1 with gs2 does not work
           //  then the intersection of gs2 with gs1 is attempted.
 
           inter.Perform(gs2,gs1,tolap,1,1,1);
@@ -3282,7 +3282,7 @@ Standard_Boolean ChFi3d_ComputeCurves(const Handle(Adaptor3d_Surface)&   S1,
             C3d = new Geom_TrimmedCurve(C3d,Uf,Ul);
             Pc1 = new Geom2d_TrimmedCurve(Pc1,Uf,Ul);
             Pc2 = new Geom2d_TrimmedCurve(Pc2,Uf,Ul);
-            //is it necesary to invert ?
+            //is it necessary to invert ?
             Standard_Real DistDebToDeb = ptestdeb.Distance(pdeb);
             Standard_Real DistDebToFin = ptestdeb.Distance(pfin);
             Standard_Real DistFinToFin = ptestfin.Distance(pfin);
index f25c8101735d22613b31271a025dd6d043502c07..42e0ee03a3fe9fe655289f5ffd8139f2e0a3663b 100644 (file)
@@ -406,7 +406,7 @@ Standard_Boolean IsInput(const gp_Vec&          Vec,
     }
   }
   if (Trouve < 2) return Standard_False;
-  // Calculate the normal and the angles in the asssociated vector plane
+  // Calculate the normal and the angles in the associated vector plane
   gp_Vec Normal;
   Normal = Vec3d[0] ^ Vec3d[1];
   if (Normal.SquareMagnitude() < Precision::Confusion()) {//Colinear case
@@ -847,7 +847,7 @@ void ChFi3d_Builder::StartSol(const Handle(ChFiDS_Stripe)&      Stripe,
     PC = BRep_Tool::CurveOnSurface(cured,f1forward,Uf,Ul);
     I1->Initialize((const Handle(Adaptor3d_Surface)&)HS1);
     PC->D1(woned, P1, derive);
-    // There are ponts on the border, and internal points are found
+    // There are points on the border, and internal points are found
     if (derive.Magnitude() > Precision::PConfusion()) {
       derive.Normalize();
       derive.Rotate(M_PI/2);
@@ -1063,7 +1063,7 @@ ChFi3d_Builder::StartSol(const Handle(ChFiDS_Spine)&    Spine,
     else           notons = 1;
     const ChFiDS_CommonPoint& CPbis = SD->Vertex(isfirst,notons);
     if (CPbis.IsOnArc()) { // It is checked if it is not the extension zone 
-                  // In case CP is not at the end of surfdata and it is not necesary to take it into account
+                  // In case CP is not at the end of surfdata and it is not necessary to take it into account
                   // except for separate cases (ie pointus) ...
       //ts and tns were earlier CP.Parameter() and CPbis.Parameter, but sometimes they had no values.
       Standard_Real ts=SD->Interference(ons).Parameter(isfirst), tns=SD->Interference(notons).Parameter(isfirst);
index 2118ac4eb66a00b8bd5611dddd3fff4d2563e89a..c723fd6dfd419d2632aba3c97ec0761b792ded6c 100644 (file)
@@ -1204,7 +1204,7 @@ void ChFi3d_Builder::PerformOneCorner(const Standard_Integer Index,
     //   To do: modify for intcouture
     #define VARIANT1
 
-    // First of all the ponts are cut with the edge of the spine.
+    // First of all the points are cut with the edge of the spine.
     Standard_Integer IArcspine = DStr.AddShape(Arcspine);
     Standard_Integer IVtx = DStr.AddShape(Vtx);
     TopAbs_Orientation OVtx = TopAbs_FORWARD;
@@ -1792,9 +1792,9 @@ void ChFi3d_Builder::PerformIntersectionAtEnd(const Standard_Integer Index)
 
   /***********************************************************************/
   //  find faces intersecting with the fillet and edges limiting intersections
-  //  nbface is the nb of faces intersected, Face[i] contais the faces
-  // to intersect (i=0.. nbface-1). Edge[i] contains edges limiting
-  // the intersections (i=0 ..nbface)
+  //  nbface is the nb of faces intersected, Face[i] contains the faces
+  //  to intersect (i=0.. nbface-1). Edge[i] contains edges limiting
+  //  the intersections (i=0 ..nbface)
   /**********************************************************************/
 
   Standard_Integer nb = 1,nbface;
@@ -2925,7 +2925,7 @@ void ChFi3d_Builder::PerformIntersectionAtEnd(const Standard_Integer Index)
       if (isOnSame1 ? shrink [nb+1] : !shrink [nb]) break;
     Handle(Geom_Curve)   Cend = DStr.Curve(indcurve[nb]).Curve();
     Handle(Geom2d_Curve) PCend = InterfPS[nb]->PCurve();
-    // point near which self intersection may occure
+    // point near which self intersection may occur
     TopOpeBRepDS_Point& Pds = DStr.ChangePoint(midIpoint);
     const gp_Pnt& Pvert = Pds.Point();
     Standard_Real tol = Pds.Tolerance();
index 6cd7d73b2608df15f0c19d9e71df7ee8320d3714..3c4e5d0edd764d01ff0948f3aa9094f08a028206 100644 (file)
@@ -1872,7 +1872,7 @@ void ChFi3d_FilBuilder::ExtentTwoCorner(const TopoDS_Vertex& V,
   Handle(ChFiDS_Stripe) Stripe;
   Handle(ChFiDS_Spine)  Spine;
 
-  // A value of symetric extension is calculated
+  // A value of symmetric extension is calculated
   for ( ; itel.More(); itel.Next()) {    
    Stripe = itel.Value();
    Spine = Stripe->Spine();
index 382c87d4638fa9e88367db50e8726d26cb21b9bf..17e4083d60d34d0d787ec2866e1c35289b73edc8 100644 (file)
@@ -68,7 +68,7 @@ public:
   //! Set the radius of the contour of index IC.
   Standard_EXPORT void SetRadius (const Handle(Law_Function)& C, const Standard_Integer IC, const Standard_Integer IinC);
   
-  //! Returns true the contour is flaged as edge constant.
+  //! Returns true the contour is flagged as edge constant.
   Standard_EXPORT Standard_Boolean IsConstant (const Standard_Integer IC);
   
   //! Returns the vector if the contour is flagged as edge
index d45696afba3828ae1d8ac3f46e79d4d2a5c24d0a..6ee73d9cb167c009383451008304e27088eb4fd5 100644 (file)
@@ -51,7 +51,10 @@ ChFiDS_ChamfSpine::ChFiDS_ChamfSpine(const Standard_Real Tol)
 
 void ChFiDS_ChamfSpine::GetDist(Standard_Real& Dis) const
 {
-  if (mChamf != ChFiDS_Sym)   throw Standard_Failure("Chamfer is not symetric");
+  if (mChamf != ChFiDS_Sym)
+  {
+    throw Standard_Failure ("Chamfer is not symmetric");
+  }
   Dis = d1;
 }
 
index e96aa3df6e9efab6d4ff4228822f0cf167625777..b5bd41b3451716a73db09dcef162fd5b08b01334 100644 (file)
@@ -121,7 +121,7 @@ public:
   //! arc returned by the method Arc().
   Standard_EXPORT Standard_Real ParameterOnArc() const;
   
-  //! Returns  the parameter the  paramter on the  spine
+  //! Returns the parameter on the spine
   Standard_EXPORT Standard_Real Parameter() const;
   
   //! Returns the 3d point
index 508edc3602fb6c8217fd1f3322688c0457a1876a..54c78ead8298209b606ea96a7097b4d62df76861 100644 (file)
@@ -227,7 +227,7 @@ Standard_Boolean ChFiKPart_MakeChAsym(TopOpeBRepDS_DataStructure& DStr,
     // changes due to the fact the parameters of the chamfer must go increasing
     // from surface S1 to surface S2
     if (!plandab) {
-      gcyl->VReverse();// be carefull : the SemiAngle was changed
+      gcyl->VReverse();// be careful : the SemiAngle was changed
       ChamfAx3 = gcyl->Position();
     }
 
@@ -386,7 +386,7 @@ Standard_Boolean ChFiKPart_MakeChAsym(TopOpeBRepDS_DataStructure& DStr,
     // changes due to the fact the parameters of the chamfer must go increasing
     // from surface S1 to surface S2
     if (!plandab) {
-      gcon->VReverse();// be carefull : the SemiAngle was changed
+      gcon->VReverse();// be careful : the SemiAngle was changed
       ChamfAx3 = gcon->Position();
       SemiAngl = gcon->SemiAngle();
     }
index 66dd7492863d9169728c7963607d0898d52b1323..b8239b5e83d20420d66de3e1e09b5eb27159073b 100644 (file)
@@ -166,7 +166,7 @@ Standard_Boolean ChFiKPart_MakeChAsym(TopOpeBRepDS_DataStructure& DStr,
   // changes due to the fact the parameters of the chamfer must go increasing
   // from surface S1 to surface S2
   if ( (dedans && !plandab) || (!dedans && plandab) ) {
-    gcon->VReverse();// be carefull : the SemiAngle was changed
+    gcon->VReverse();// be careful : the SemiAngle was changed
     ConAx3   = gcon->Position();
     SemiAngl = gcon->SemiAngle();
   }
index 06d8495a18775d3859afa95511a86d7397c0d597..b0f0cb1c2f055738fcd2e343c541096be85c7395 100644 (file)
@@ -229,7 +229,7 @@ Standard_Boolean ChFiKPart_MakeChamfer(TopOpeBRepDS_DataStructure& DStr,
     // changes due to the fact the parameters of the chamfer must go increasing
     // from surface S1 to surface S2
   if ( (dedans && !plandab) || (!dedans && plandab) ) {
-    gcon->VReverse();// be carefull : the SemiAngle was changed
+    gcon->VReverse();// be careful : the SemiAngle was changed
     ChamfAx3 = gcon->Position();
     SemiAngl = gcon->SemiAngle();
   }
index d25517b6953c509548e93718dff77fed77d003e2..aba3739f7fa4996141d4d9ee913c451595bbfbfe 100644 (file)
@@ -160,7 +160,7 @@ Standard_Boolean ChFiKPart_MakeChamfer(TopOpeBRepDS_DataStructure& DStr,
     // changes due to the fact the parameters of the chamfer must go increasing
     // from surface S1 to surface S2
   if ( (dedans && !plandab) || (!dedans && plandab) ) {
-    gcon->VReverse();// be carefull : the SemiAngle was changed
+    gcon->VReverse();// be careful : the SemiAngle was changed
     ConAx3 = gcon->Position();
     SemiAngl = gcon->SemiAngle();
   }
index 870e38fe9b8fc6b6b0204628e91a4cfee0e0885f..935bf5f8592decf01aae5fce511a1b7ee3d5abf3 100644 (file)
@@ -1123,7 +1123,7 @@ void ComputeInternalPointsOnRstr
             Contap_Point& thevtx = Line.Vertex(i);
             if (Abs(thevtx.ParameterOnLine()-paramp) <= toler) {
               thevtx.SetInternal();
-              ok = Standard_False; // on a correspondance
+              ok = Standard_False; // on a correspondence
             }
           }
           if (ok) { // il faut alors rajouter le point
index 0038bf75fba2417fbd675f3d2276eaa7c229b405..82fbd08558e5420beaad1567d1184b3515809b04 100644 (file)
@@ -35,7 +35,7 @@ class IntSurf_Transition;
 //! Definition of a vertex on the contour line.
 //! Most of the time, such a point is an intersection
 //! between the contour and a restriction of the surface.
-//! When it is not tyhe method IsOnArc return False.
+//! When it is not the method IsOnArc return False.
 //! Such a point is contains geometrical information (see
 //! the Value method) and logical information.
 class Contap_Point 
index a78a88be03e02be890a7906fd2637e5c5e200fd5..b4945f795313d510103c03213994699566f32b27 100644 (file)
@@ -168,8 +168,7 @@ Standard_Integer Convert_ConicToBSplineCurve::Multiplicity
 //                     U   +  V 
 //                                                    2     2
 //  such that the derivative at the domain bounds of U   + V   is 0.0e0 
-//  with is helpfull when having to make a C1 BSpline  by merging two
-//  BSpline toghether
+//  with is helpful when having to make a C1 BSpline by merging two BSpline together
 //=======================================================================
 
 void CosAndSinRationalC1(Standard_Real Parameter,
@@ -507,7 +506,7 @@ void Convert_ConicToBSplineCurve::BuildCosAndSin(
         if (alpha_2 < 1.0e-7)
         {
           // Fixed degenerate case, when obtain 0 / 0 uncertainty.
-          // According to Taylor aprroximation:
+          // According to Taylor approximation:
           // b (gamma) = -6.0 / 15.0 + o(gamma^2)
           p_param = -6.0 / 15.0;
         }
index 86e66d11c9baab6374135ac937dd6ebf3e386882..6b00adba8af6fe7214f2272340e742747f5aa50b 100644 (file)
@@ -50,7 +50,7 @@ class gp_Pnt;
 //! framework for storing and consulting this computed data.
 //! This data may then be used to construct a
 //! Geom_BSplineSurface surface, for example.
-//! All those classes define algorithmes to convert an
+//! All those classes define algorithms to convert an
 //! ElementarySurface into a B-spline surface.
 //! This abstract class implements the methods to get
 //! the geometric representation of the B-spline surface.
index 787e3a8027c0f4237afea78e08cf0852fb4d408a..485dcfae669df614a3f562c3c38e79f7dd923888 100644 (file)
@@ -48,7 +48,7 @@ public:
   //! This values defined the parametric domain of the Polynomial Equation.
   //!
   //! Coefficients :
-  //! The <Coefficients> have to be formated than an "C array"
+  //! The <Coefficients> have to be formatted than an "C array"
   //! [MaxUDegree+1] [MaxVDegree+1] [3]
   Standard_EXPORT Convert_GridPolynomialToPoles(const Standard_Integer MaxUDegree, const Standard_Integer MaxVDegree, const Handle(TColStd_HArray1OfInteger)& NumCoeff, const Handle(TColStd_HArray1OfReal)& Coefficients, const Handle(TColStd_HArray1OfReal)& PolynomialUIntervals, const Handle(TColStd_HArray1OfReal)& PolynomialVIntervals);
   
@@ -61,7 +61,7 @@ public:
   //! this is the true parameterisation for the composite surface
   //!
   //! Coefficients :
-  //! The Coefficients have to be formated than an "C array"
+  //! The Coefficients have to be formatted than an "C array"
   //! [NbVSurfaces] [NBUSurfaces] [MaxUDegree+1] [MaxVDegree+1] [3]
   //! raises DomainError    if <NumCoeffPerSurface> is not a
   //! [1, NbVSurfaces*NbUSurfaces, 1,2] array.