1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

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

Fix various typos

Fixed via `codespell v2.1.dev0`
This commit is contained in:
luz paz
2020-12-10 11:40:53 +03:00
committed by bugmaster
parent 65cec1a6ef
commit a25d5aaa30
157 changed files with 329 additions and 309 deletions

View File

@@ -515,7 +515,7 @@ public:
//! StartingCondition = 1 means the first point and tangent cannot move
//! EndingCondition = 1 means the last point and tangent cannot move
//! and so forth
//! ErrorStatus != 0 means that there are not enought degree of freedom
//! ErrorStatus != 0 means that there are not enough degree of freedom
//! with the constrain to deform the curve accordingly
Standard_EXPORT void MovePointAndTangent (const Standard_Real U, const gp_Pnt2d& P, const gp_Vec2d& Tangent, const Standard_Real Tolerance, const Standard_Integer StartingCondition, const Standard_Integer EndingCondition, Standard_Integer& ErrorStatus);
@@ -528,7 +528,7 @@ public:
//! Check if curve has at least G1 continuity in interval [theTf, theTl]
//! Returns true if IsCN(1)
//! or
//! angle betweem "left" and "right" first derivatives at
//! angle between "left" and "right" first derivatives at
//! knots with C0 continuity is less then theAngTol
//! only knots in interval [theTf, theTl] is checked
Standard_EXPORT Standard_Boolean IsG1 (const Standard_Real theTf, const Standard_Real theTl, const Standard_Real theAngTol) const;

View File

@@ -370,7 +370,7 @@ void Geom2d_BezierCurve::Segment
{
closed = (Abs(Value(U1).Distance (Value(U2))) <= gp::Resolution());
//
// WARNING : when calling trimming be carefull that the cache
// WARNING : when calling trimming be careful that the cache
// is computed regarding 0.0e0 and not 1.0e0
//
TColStd_Array1OfReal bidflatknots(BSplCLib::FlatBezierKnots(Degree()), 1, 2 * (Degree() + 1));

View File

@@ -153,7 +153,7 @@ public:
//! curve if you want the curve to be periodic.
Standard_EXPORT virtual Standard_Boolean IsPeriodic() const = 0;
//! Returns thne period of this curve.
//! Returns the period of this curve.
//! raises if the curve is not periodic
Standard_EXPORT virtual Standard_Real Period() const;

View File

@@ -78,7 +78,7 @@ public:
//! Scales a Geometry. S is the scaling value.
Standard_EXPORT void Scale (const gp_Pnt2d& P, const Standard_Real S);
//! Translates a Geometry. V is the vector of the tanslation.
//! Translates a Geometry. V is the vector of the translation.
Standard_EXPORT void Translate (const gp_Vec2d& V);
//! Translates a Geometry from the point P1 to the point P2.

View File

@@ -197,7 +197,7 @@ public:
Standard_EXPORT gp_Ax2d Directrix2() const;
//! Returns the excentricity of the hyperbola (e > 1).
//! Returns the eccentricity of the hyperbola (e > 1).
//! If f is the distance between the location of the hyperbola
//! and the Focus1 then the eccentricity e = f / MajorRadius.
//! raised if MajorRadius = 0.0

View File

@@ -151,7 +151,7 @@ public:
Standard_EXPORT gp_Trsf2d Trsf2d() const;
//! Returns the coefficients of the global matrix of tranformation.
//! Returns the coefficients of the global matrix of transformation.
//! It is a 2 rows X 3 columns matrix.
//!
//! Raised if Row < 1 or Row > 2 or Col < 1 or Col > 2

View File

@@ -97,7 +97,7 @@ void Geom2d_TrimmedCurve::Reverse ()
}
//=======================================================================
//function : ReversedParamater
//function : ReversedParameter
//purpose :
//=======================================================================