1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

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

Fix various typos via codespell.
This commit is contained in:
luz paz
2021-04-19 11:42:46 +03:00
committed by bugmaster
parent b69e576af0
commit 316ea29318
339 changed files with 1743 additions and 1972 deletions

View File

@@ -412,7 +412,7 @@ Standard_Boolean BRepTools_Modifier::Rebuild
{
// rem dub 16/09/97 : Make constant topology or not make at all.
// Do not make if CopySurface = 1
// Atention, TRUE sewing edges (ReallyClosed)
// Attention, TRUE sewing edges (ReallyClosed)
// stay even if CopySurface is true.
// check that edge contains two pcurves on this surface:

View File

@@ -112,17 +112,16 @@ public:
//! Applies the substitutions requests to a shape.
//!
//! <until> gives the level of type until which requests are taken
//! into account. For subshapes of the type <until> no rebuild
//! and futher exploring are done.
//! theUntil gives the level of type until which requests are taken into account.
//! For subshapes of the type <until> no rebuild and further exploring are done.
//!
//! NOTE: each subshape can be replaced by shape of the same type
//! or by shape containing only shapes of that type (for
//! example, TopoDS_Edge can be replaced by TopoDS_Edge,
//! or by shape containing only shapes of that type
//! (for example, TopoDS_Edge can be replaced by TopoDS_Edge,
//! TopoDS_Wire or TopoDS_Compound containing TopoDS_Edges).
//! If incompatible shape type is encountered, it is ignored
//! and flag FAIL1 is set in Status.
Standard_EXPORT virtual TopoDS_Shape Apply (const TopoDS_Shape& shape, const TopAbs_ShapeEnum until = TopAbs_SHAPE);
//! If incompatible shape type is encountered, it is ignored and flag FAIL1 is set in Status.
Standard_EXPORT virtual TopoDS_Shape Apply (const TopoDS_Shape& theShape,
const TopAbs_ShapeEnum theUntil = TopAbs_SHAPE);
//! Returns (modifiable) the flag which defines whether Location of shape take into account
//! during replacing shapes.

View File

@@ -125,9 +125,9 @@ void BRepTools_Substitution::Build(const TopoDS_Shape& S)
if (!HasSubShape) {
if (NewS.ShapeType() == TopAbs_WIRE || NewS.ShapeType() == TopAbs_SHELL ||
NewS.ShapeType() == TopAbs_SOLID || NewS.ShapeType() == TopAbs_COMPOUND)
//----------------------------------------------------------------
// Wire,Solid,Shell,Compound mut have subshape else they disapear
//---------------------------------------------------------------
//-----------------------------------------------------------------
// Wire,Solid,Shell,Compound must have subshape else they disappear
//-----------------------------------------------------------------
NewS.Nullify();
}
}