1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0031939: Coding - correction of spelling errors in comments [part 5]

Fix various typos

Fixed via `codespell v2.1.dev
This commit is contained in:
luz paz
2020-12-21 11:48:18 +03:00
committed by bugmaster
parent 3b1129a546
commit b81b237fa4
165 changed files with 413 additions and 455 deletions

View 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.

View 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);

View 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);

View 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();

View 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();

View 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