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:
@@ -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:
|
||||
|
@@ -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.
|
||||
|
@@ -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();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user