Coding - Method guard iterative update (#674)

- Standardizes comment formatting by replacing detailed comment blocks with a uniform "//=================================================================================================" separator
- Removes redundant "function:" and "purpose:" fields that often contained minimal or no useful information
- Maintains code functionality while improving visual consistency across the codebase
This commit is contained in:
Pasukhin Dmitry
2025-08-15 17:14:53 +01:00
committed by GitHub
parent 02f6fa7be2
commit ae4de70f98
365 changed files with 3229 additions and 9377 deletions

View File

@@ -340,10 +340,8 @@ Standard_Boolean BRepTools_History::prepareModified(const TopoDS_Shape& theIniti
return Standard_True;
}
//==============================================================================
// data : myEmptyList
// purpose :
//==============================================================================
//=================================================================================================
const TopTools_ListOfShape BRepTools_History::myEmptyList;
//=================================================================================================
@@ -353,30 +351,22 @@ const TopTools_ListOfShape& BRepTools_History::emptyList()
return myEmptyList;
}
//==============================================================================
// data : myMsgUnsupportedType
// purpose :
//==============================================================================
//=================================================================================================
const char* BRepTools_History::myMsgUnsupportedType = "Error: unsupported shape type.";
//==============================================================================
// data : myMsgGeneratedAndRemoved
// purpose :
//==============================================================================
//=================================================================================================
const char* BRepTools_History::myMsgGeneratedAndRemoved =
"Error: a shape is generated and removed simultaneously.";
//==============================================================================
// data : myMsgModifiedAndRemoved
// purpose :
//==============================================================================
//=================================================================================================
const char* BRepTools_History::myMsgModifiedAndRemoved =
"Error: a shape is modified and removed simultaneously.";
//==============================================================================
// data : myMsgGeneratedAndModified
// purpose :
//==============================================================================
//=================================================================================================
const char* BRepTools_History::myMsgGeneratedAndModified =
"Error: a shape is generated and modified "
"from the same shape simultaneously.";

View File

@@ -16,10 +16,7 @@
#include <Standard_NoSuchObject.hxx>
//=======================================================================
// function : ModifiedShape
// purpose :
//=======================================================================
//=================================================================================================
inline const TopoDS_Shape& BRepTools_Modifier::ModifiedShape(const TopoDS_Shape& S) const
{
@@ -30,10 +27,8 @@ inline const TopoDS_Shape& BRepTools_Modifier::ModifiedShape(const TopoDS_Shape&
return myMap(S);
}
//=======================================================================
// function : IsDone
// purpose :
//=======================================================================
//=================================================================================================
inline Standard_Boolean BRepTools_Modifier::IsDone() const
{
return myDone;