1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-19 13:40:49 +03:00

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

Fix various typos

Fixed via `codespell v2.1.dev
This commit is contained in:
luz paz
2021-01-11 12:29:28 +03:00
committed by bugmaster
parent 83746de803
commit 54adc5e979
162 changed files with 295 additions and 294 deletions

View File

@@ -67,7 +67,7 @@ public:
//! Tests if <me> contains <exp>.
Standard_EXPORT Standard_Boolean Contains (const Handle(Expr_GeneralExpression)& exp) const Standard_OVERRIDE;
//! Replaces all occurences of <var> with <with> in <me>.
//! Replaces all occurrences of <var> with <with> in <me>.
//! Raises InvalidOperand if <with> contains <me>.
Standard_EXPORT void Replace (const Handle(Expr_NamedUnknown)& var, const Handle(Expr_GeneralExpression)& with) Standard_OVERRIDE;

View File

@@ -94,7 +94,7 @@ public:
//! Raise OutOfRange if N <= 0
Standard_EXPORT virtual Handle(Expr_GeneralExpression) NDerivative (const Handle(Expr_NamedUnknown)& X, const Standard_Integer N) const;
//! Replaces all occurences of <var> with copies of <with>
//! Replaces all occurrences of <var> with copies of <with>
//! in <me>. Copies of <with> are made with the Copy() method.
//! Raises InvalidOperand if <with> contains <me>.
Standard_EXPORT virtual void Replace (const Handle(Expr_NamedUnknown)& var, const Handle(Expr_GeneralExpression)& with) = 0;

View File

@@ -74,7 +74,7 @@ public:
//! Tests if <exp> contains <var>.
Standard_EXPORT virtual Standard_Boolean Contains (const Handle(Expr_GeneralExpression)& exp) const = 0;
//! Replaces all occurences of <var> with <with> in <me>.
//! Replaces all occurrences of <var> with <with> in <me>.
Standard_EXPORT virtual void Replace (const Handle(Expr_NamedUnknown)& var, const Handle(Expr_GeneralExpression)& with) = 0;
//! returns a string representing <me> in a readable way.

View File

@@ -84,7 +84,7 @@ public:
//! Raises OutOfRange if <N> <= 0
Standard_EXPORT virtual Handle(Expr_GeneralExpression) NDerivative (const Handle(Expr_NamedUnknown)& X, const Standard_Integer N) const Standard_OVERRIDE;
//! Replaces all occurences of <var> with <with> in <me>
//! Replaces all occurrences of <var> with <with> in <me>
Standard_EXPORT void Replace (const Handle(Expr_NamedUnknown)& var, const Handle(Expr_GeneralExpression)& with) Standard_OVERRIDE;
//! Returns the value of <me> (as a Real) by

View File

@@ -60,7 +60,7 @@ public:
//! Raises exception if <exp> refers to <me>.
Standard_EXPORT void Assign (const Handle(Expr_GeneralExpression)& exp);
//! Supresses the assigned expression
//! Suppresses the assigned expression
void Deassign();
//! Returns the number of sub-expressions contained
@@ -94,7 +94,7 @@ public:
//! Returns the derivative on <X> unknown of <me>
Standard_EXPORT Handle(Expr_GeneralExpression) Derivative (const Handle(Expr_NamedUnknown)& X) const Standard_OVERRIDE;
//! Replaces all occurences of <var> with <with> in <me>
//! Replaces all occurrences of <var> with <with> in <me>
//! Raises InvalidOperand if <with> contains <me>.
Standard_EXPORT void Replace (const Handle(Expr_NamedUnknown)& var, const Handle(Expr_GeneralExpression)& with) Standard_OVERRIDE;

View File

@@ -89,7 +89,7 @@ public:
//! Raises OutOfRange if <N> <= 0
Standard_EXPORT virtual Handle(Expr_GeneralExpression) NDerivative (const Handle(Expr_NamedUnknown)& X, const Standard_Integer N) const Standard_OVERRIDE;
//! Replaces all occurences of <var> with <with> in <me>
//! Replaces all occurrences of <var> with <with> in <me>
Standard_EXPORT void Replace (const Handle(Expr_NamedUnknown)& var, const Handle(Expr_GeneralExpression)& with) Standard_OVERRIDE;
//! Returns the value of <me> (as a Real) by

View File

@@ -67,7 +67,7 @@ public:
//! Tests if <exp> is contained in <me>.
Standard_EXPORT Standard_Boolean Contains (const Handle(Expr_GeneralExpression)& exp) const Standard_OVERRIDE;
//! Replaces all occurences of <var> with <with> in <me>
//! Replaces all occurrences of <var> with <with> in <me>
//! Raises InvalidOperand if <with> contains <me>.
Standard_EXPORT void Replace (const Handle(Expr_NamedUnknown)& var, const Handle(Expr_GeneralExpression)& with) Standard_OVERRIDE;

View File

@@ -195,7 +195,7 @@ Handle(Expr_GeneralExpression) Expr_Product::ShallowSimplified () const
for (i = 1; i <= max ; i++) {
op = Operand(i);
if (op->IsKind(STANDARD_TYPE(Expr_NumericValue))) {
// numeric operands are cumulated separetly
// numeric operands are cumulated separately
Handle(Expr_NumericValue) NVop = Handle(Expr_NumericValue)::DownCast(op);
if (nbvals == 0) {
noone = Standard_False;

View File

@@ -68,7 +68,7 @@ public:
//! Tests if <me> contains <exp>.
Standard_EXPORT Standard_Boolean Contains (const Handle(Expr_GeneralExpression)& exp) const Standard_OVERRIDE;
//! Replaces all occurences of <var> with <with> in <me>.
//! Replaces all occurrences of <var> with <with> in <me>.
Standard_EXPORT void Replace (const Handle(Expr_NamedUnknown)& var, const Handle(Expr_GeneralExpression)& with) Standard_OVERRIDE;

View File

@@ -83,7 +83,7 @@ public:
//! Tests if <me> contains <exp>.
Standard_EXPORT Standard_Boolean Contains (const Handle(Expr_GeneralExpression)& exp) const Standard_OVERRIDE;
//! Replaces all occurences of <var> with <with> in <me>.
//! Replaces all occurrences of <var> with <with> in <me>.
Standard_EXPORT void Replace (const Handle(Expr_NamedUnknown)& var, const Handle(Expr_GeneralExpression)& with) Standard_OVERRIDE;
//! returns a string representing <me> in a readable way.

View File

@@ -61,7 +61,7 @@ public:
//! Tests if <exp> is contained in <me>.
Standard_EXPORT Standard_Boolean Contains (const Handle(Expr_GeneralExpression)& exp) const Standard_OVERRIDE;
//! Replaces all occurences of <var> with <with> in <me>
//! Replaces all occurrences of <var> with <with> in <me>
//! Raises InvalidOperand if <with> contains <me>.
Standard_EXPORT void Replace (const Handle(Expr_NamedUnknown)& var, const Handle(Expr_GeneralExpression)& with) Standard_OVERRIDE;