Salome HOME
Merge commit '4823245056426a9ccf9c7965daecf11459f58af5' into V9_11_BR
[modules/geom.git] / src / ShHealOper / ShHealOper_EdgeDivide.cxx
index 8b11a8f1e2a7705d6299b9961e9aad945452c5a4..a06cf91a657d1b3043eb3a23c0ae99116de9b5a3 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2022  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -189,7 +189,7 @@ Standard_Boolean ShHealOper_EdgeDivide::build(const Handle(TColStd_HSequenceOfRe
     has2d = Standard_False,
     hasPCurves = Standard_False;
 
-  //computation of the split values in dependance from specified mode and values.
+  //computation of the split values in dependence from specified mode and values.
   if(!computeValues(theValues, has3d,has2d,hasPCurves)) {
     myErrorStatus = ShHealOper_InvalidParameters;
     return Standard_False;
@@ -214,7 +214,7 @@ Standard_Boolean ShHealOper_EdgeDivide::build(const Handle(TColStd_HSequenceOfRe
     return Standard_False;
   }
 
-  //split 3d curve and pcurve for each face reffering to edge.
+  //split 3d curve and pcurve for each face referring to edge.
   Standard_Boolean isDone = Standard_True;
   if(hasPCurves) {
     const TopTools_ListOfShape& lfaces  = myMapEdgesFace.FindFromKey(myEdge);
@@ -261,7 +261,7 @@ Standard_Boolean ShHealOper_EdgeDivide::computeValues(const Handle(TColStd_HSequ
   
   Standard_Real aFirst =0.,aLast=0.;
 
-  //computation of the split values if edge should be splitted by parameter.
+  //computation of the split values if edge should be split by parameter.
   if(myDivideParamMode) {
     BRep_Tool::Range(myEdge,aFirst,aLast);
     Handle(Geom_Curve) aCurve = BRep_Tool::Curve(myEdge,aFirst,aLast);
@@ -275,7 +275,7 @@ Standard_Boolean ShHealOper_EdgeDivide::computeValues(const Handle(TColStd_HSequ
     }
   }
   else {
-     //computation of the split values if edge should be splitted by length.
+     //computation of the split values if edge should be split by length.
     ShapeAnalysis_Edge sae;
     Handle(Geom_Curve) aCurve;
     Standard_Real aCurLen =0.;