1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-06-05 11:24:17 +03:00

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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 13 additions and 13 deletions

View File

@ -268,7 +268,7 @@ function (EXTRACT_PACKAGE_FILES RELATIVE_PATH OCCT_PACKAGE RESULT_FILES RESULT_I
set (OCCT_PACKAGE_FILES "${OCCT_${OCCT_PACKAGE}_FILES}")
# collect and search for the files in the package directory or patched one
# FILE contains inly filename that must to be inside package or patched directory
# FILE only contains filename that must to be inside package or patched directory
set (FILE_PATH_LIST)
foreach (OCCT_FILE ${OCCT_PACKAGE_FILES})

View File

@ -58,7 +58,7 @@ public:
//! has been made on the spot, it is assumed to cause no change
//! to the graph of dependances
//! - if it equates the starting Model, it has been transformed on
//! the spot (possibiliy some entities were replaced inside it)
//! the spot (possibly some entities were replaced inside it)
//! - if it is new, it corresponds to a new data set which replaces
//! the starting one
//!

View File

@ -220,7 +220,7 @@ static Standard_Integer igesbrep(Draw_Interpretor& theDI,
<< std::flush;
modepri = -1;
// amv 26.09.2003 : this is used to avoid error of enter's simbol
// amv 26.09.2003 : this is used to avoid error of enter's symbol
char str[80];
std::cin >> str;
modepri = Draw::Atoi(str);
@ -427,7 +427,7 @@ static Standard_Integer igesbrep(Draw_Interpretor& theDI,
if (list.IsNull())
{
theDI
<< "No list defined. Give a selection name or * for all visible transferrable roots\n";
<< "No list defined. Give a selection name or * for all visible transferable roots\n";
continue;
}
}

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;

View File

@ -236,7 +236,7 @@ void PrsDim_EqualDistanceRelation::ComputeSelection(const Handle(SelectMgr_Selec
BRepAdaptor_Curve aCurve(TopoDS::Edge(myFShape));
if (aCurve.GetType() == GeomAbs_Line)
{
// add sensetive element - line
// add sensitive element - line
seg = new Select3D_SensitiveSegment(own, myAttachPoint1, myPoint1);
aSelection->Add(seg);
}