Documentation - Fix various typos found in codebase #495

Found via codespell
This commit is contained in:
luzpaz
2025-04-12 10:02:50 -04:00
committed by GitHub
parent db33e7a43f
commit a3595cb871
6 changed files with 13 additions and 13 deletions

View File

@@ -411,7 +411,7 @@ GccAna_Circ2d3Tan::GccAna_Circ2d3Tan(const GccEnt_QualifiedCirc& Qualified1,
for (k = 1; k <= yRoots1.NbSolutions(); k++)
{
y = yRoots1.Value(k);
// Check if this value is already catched
// Check if this value is already caught
IsSame = Standard_False;
for (l = 1; l < k; l++)
if (Abs(y - yRoots1.Value(l)) <= 10 * Tolerance)
@@ -436,7 +436,7 @@ GccAna_Circ2d3Tan::GccAna_Circ2d3Tan(const GccEnt_QualifiedCirc& Qualified1,
for (k = 1; k <= yRoots1.NbSolutions(); k++)
{
y = yRoots1.Value(k);
// Check if this value is already catched
// Check if this value is already caught
IsSame = Standard_False;
FirstIndex = (i == 1) ? 1 : FirstSol(i);
for (l = FirstIndex; l < CurSol; l++)
@@ -527,7 +527,7 @@ GccAna_Circ2d3Tan::GccAna_Circ2d3Tan(const GccEnt_QualifiedCirc& Qualified1,
p = -(b2 * y + d2) / a2;
q = (c2 * (y * y) + 2 * e2 * y + f2) / a2;
// Check if this value is already catched
// Check if this value is already caught
IsSame = Standard_False;
FirstIndex = (i == 1) ? 1 : FirstSol(i);
for (l = FirstIndex; l < CurSol; l++)
@@ -574,7 +574,7 @@ GccAna_Circ2d3Tan::GccAna_Circ2d3Tan(const GccEnt_QualifiedCirc& Qualified1,
p = -(b2 * y + d2) / a2;
q = (c2 * (y * y) + 2 * e2 * y + f2) / a2;
// Check if this value is already catched
// Check if this value is already caught
IsSame = Standard_False;
for (l = 1; l < k; l++)
if (Abs(y - yRoots.Value(l)) <= 10 * Tolerance)

View File

@@ -90,7 +90,7 @@ public:
//! parametrisation sens of path (or of section if ExchangeUV)
Standard_EXPORT Standard_Boolean VReversed() const;
//! Build the Sweeep Surface
//! Build the Sweeep Surface
//! ApproxStyle defines Approximation Strategy
//! - GeomFill_Section : The composed Function : Location X Section
//! is directly approximated.
@@ -111,13 +111,13 @@ public:
const Standard_Integer Degmax = 10,
const Standard_Integer Segmax = 30);
//! Tells if the Surface is Buildt.
//! Tells if the Surface is Built.
Standard_EXPORT Standard_Boolean IsDone() const;
//! Gets the Approximation error.
//! Gets the Approximation error.
Standard_EXPORT Standard_Real ErrorOnSurface() const;
//! Gets the Approximation error.
//! Gets the Approximation error.
Standard_EXPORT void ErrorOnRestriction(const Standard_Boolean IsFirst,
Standard_Real& UError,
Standard_Real& VError) const;