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:
parent
db33e7a43f
commit
a3595cb871
@ -268,7 +268,7 @@ function (EXTRACT_PACKAGE_FILES RELATIVE_PATH OCCT_PACKAGE RESULT_FILES RESULT_I
|
|||||||
set (OCCT_PACKAGE_FILES "${OCCT_${OCCT_PACKAGE}_FILES}")
|
set (OCCT_PACKAGE_FILES "${OCCT_${OCCT_PACKAGE}_FILES}")
|
||||||
|
|
||||||
# collect and search for the files in the package directory or patched one
|
# 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)
|
set (FILE_PATH_LIST)
|
||||||
|
|
||||||
foreach (OCCT_FILE ${OCCT_PACKAGE_FILES})
|
foreach (OCCT_FILE ${OCCT_PACKAGE_FILES})
|
||||||
|
@ -58,7 +58,7 @@ public:
|
|||||||
//! has been made on the spot, it is assumed to cause no change
|
//! has been made on the spot, it is assumed to cause no change
|
||||||
//! to the graph of dependances
|
//! to the graph of dependances
|
||||||
//! - if it equates the starting Model, it has been transformed on
|
//! - 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
|
//! - if it is new, it corresponds to a new data set which replaces
|
||||||
//! the starting one
|
//! the starting one
|
||||||
//!
|
//!
|
||||||
|
@ -220,7 +220,7 @@ static Standard_Integer igesbrep(Draw_Interpretor& theDI,
|
|||||||
<< std::flush;
|
<< std::flush;
|
||||||
modepri = -1;
|
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];
|
char str[80];
|
||||||
std::cin >> str;
|
std::cin >> str;
|
||||||
modepri = Draw::Atoi(str);
|
modepri = Draw::Atoi(str);
|
||||||
@ -427,7 +427,7 @@ static Standard_Integer igesbrep(Draw_Interpretor& theDI,
|
|||||||
if (list.IsNull())
|
if (list.IsNull())
|
||||||
{
|
{
|
||||||
theDI
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -411,7 +411,7 @@ GccAna_Circ2d3Tan::GccAna_Circ2d3Tan(const GccEnt_QualifiedCirc& Qualified1,
|
|||||||
for (k = 1; k <= yRoots1.NbSolutions(); k++)
|
for (k = 1; k <= yRoots1.NbSolutions(); k++)
|
||||||
{
|
{
|
||||||
y = yRoots1.Value(k);
|
y = yRoots1.Value(k);
|
||||||
// Check if this value is already catched
|
// Check if this value is already caught
|
||||||
IsSame = Standard_False;
|
IsSame = Standard_False;
|
||||||
for (l = 1; l < k; l++)
|
for (l = 1; l < k; l++)
|
||||||
if (Abs(y - yRoots1.Value(l)) <= 10 * Tolerance)
|
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++)
|
for (k = 1; k <= yRoots1.NbSolutions(); k++)
|
||||||
{
|
{
|
||||||
y = yRoots1.Value(k);
|
y = yRoots1.Value(k);
|
||||||
// Check if this value is already catched
|
// Check if this value is already caught
|
||||||
IsSame = Standard_False;
|
IsSame = Standard_False;
|
||||||
FirstIndex = (i == 1) ? 1 : FirstSol(i);
|
FirstIndex = (i == 1) ? 1 : FirstSol(i);
|
||||||
for (l = FirstIndex; l < CurSol; l++)
|
for (l = FirstIndex; l < CurSol; l++)
|
||||||
@ -527,7 +527,7 @@ GccAna_Circ2d3Tan::GccAna_Circ2d3Tan(const GccEnt_QualifiedCirc& Qualified1,
|
|||||||
p = -(b2 * y + d2) / a2;
|
p = -(b2 * y + d2) / a2;
|
||||||
q = (c2 * (y * y) + 2 * e2 * y + f2) / 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;
|
IsSame = Standard_False;
|
||||||
FirstIndex = (i == 1) ? 1 : FirstSol(i);
|
FirstIndex = (i == 1) ? 1 : FirstSol(i);
|
||||||
for (l = FirstIndex; l < CurSol; l++)
|
for (l = FirstIndex; l < CurSol; l++)
|
||||||
@ -574,7 +574,7 @@ GccAna_Circ2d3Tan::GccAna_Circ2d3Tan(const GccEnt_QualifiedCirc& Qualified1,
|
|||||||
p = -(b2 * y + d2) / a2;
|
p = -(b2 * y + d2) / a2;
|
||||||
q = (c2 * (y * y) + 2 * e2 * y + f2) / 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;
|
IsSame = Standard_False;
|
||||||
for (l = 1; l < k; l++)
|
for (l = 1; l < k; l++)
|
||||||
if (Abs(y - yRoots.Value(l)) <= 10 * Tolerance)
|
if (Abs(y - yRoots.Value(l)) <= 10 * Tolerance)
|
||||||
|
@ -111,7 +111,7 @@ public:
|
|||||||
const Standard_Integer Degmax = 10,
|
const Standard_Integer Degmax = 10,
|
||||||
const Standard_Integer Segmax = 30);
|
const Standard_Integer Segmax = 30);
|
||||||
|
|
||||||
//! Tells if the Surface is Buildt.
|
//! Tells if the Surface is Built.
|
||||||
Standard_EXPORT Standard_Boolean IsDone() const;
|
Standard_EXPORT Standard_Boolean IsDone() const;
|
||||||
|
|
||||||
//! Gets the Approximation error.
|
//! Gets the Approximation error.
|
||||||
|
@ -236,7 +236,7 @@ void PrsDim_EqualDistanceRelation::ComputeSelection(const Handle(SelectMgr_Selec
|
|||||||
BRepAdaptor_Curve aCurve(TopoDS::Edge(myFShape));
|
BRepAdaptor_Curve aCurve(TopoDS::Edge(myFShape));
|
||||||
if (aCurve.GetType() == GeomAbs_Line)
|
if (aCurve.GetType() == GeomAbs_Line)
|
||||||
{
|
{
|
||||||
// add sensetive element - line
|
// add sensitive element - line
|
||||||
seg = new Select3D_SensitiveSegment(own, myAttachPoint1, myPoint1);
|
seg = new Select3D_SensitiveSegment(own, myAttachPoint1, myPoint1);
|
||||||
aSelection->Add(seg);
|
aSelection->Add(seg);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user