Coding - Function guard update (#610)

- Removed verbose function header comments (name, purpose) across multiple C++ source files.
- Introduced a single-line separator comment before each function for consistent formatting.
- Applied the change in visualization, modeling, algorithms, foundation, and application framework modules.
This commit is contained in:
Pasukhin Dmitry
2025-07-13 13:16:51 +01:00
committed by GitHub
parent d04384f9d4
commit 0947067ed5
176 changed files with 504 additions and 1299 deletions
@@ -289,10 +289,8 @@ BRepFill_Draft::BRepFill_Draft(const TopoDS_Shape& S, const gp_Dir& Dir, const S
SetDraft();
}
//=======================================================================
// function :SetOptions
// purpose : Defines the style
//======================================================================
//=================================================================================================
void BRepFill_Draft::SetOptions(const BRepFill_TransitionStyle Style,
const Standard_Real Min,
const Standard_Real Max)
@@ -757,10 +757,8 @@ Standard_Boolean BRepFill_Filling::IsDone() const
return myIsDone;
}
//=======================================================================
// function : Face
// purpose : returns the result
//======================================================================
//=================================================================================================
TopoDS_Face BRepFill_Filling::Face() const
{
return myFace;
@@ -40,10 +40,8 @@
IMPLEMENT_STANDARD_RTTIEXT(BRepFill_LocationLaw, Standard_Transient)
//=======================================================================
// function : Norm
// purpose : Norm of a Matrix
//=======================================================================
//=================================================================================================
static Standard_Real Norm(const gp_Mat& M)
{
Standard_Real R, Norme;
@@ -433,10 +433,8 @@ void BRepFill_PipeShell::SetForceApproxC1(const Standard_Boolean ForceApproxC1)
myForceApproxC1 = ForceApproxC1;
}
//=======================================================================
// function : Add
// purpose : Add a Section
//=======================================================================
//=================================================================================================
void BRepFill_PipeShell::Add(const TopoDS_Shape& Profile,
const Standard_Boolean WithContact,
const Standard_Boolean WithCorrection)
@@ -447,10 +445,8 @@ void BRepFill_PipeShell::Add(const TopoDS_Shape& Profile,
ResetLoc();
}
//=======================================================================
// function : Add
// purpose : Add a Section
//=======================================================================
//=================================================================================================
void BRepFill_PipeShell::Add(const TopoDS_Shape& Profile,
const TopoDS_Vertex& Location,
const Standard_Boolean WithContact,
@@ -562,10 +558,8 @@ void BRepFill_PipeShell::SetLaw(const TopoDS_Shape& Profile,
ResetLoc();
}
//=======================================================================
// function : Delete
// purpose : Delete a section
//=======================================================================
//=================================================================================================
void BRepFill_PipeShell::DeleteProfile(const TopoDS_Shape& Profile)
{
Standard_Boolean Trouve = Standard_False;
@@ -864,10 +858,8 @@ Standard_Boolean BRepFill_PipeShell::MakeSolid()
return B;
}
//=======================================================================
// function : Shape
// purpose : Return the result
//=======================================================================
//=================================================================================================
const TopoDS_Shape& BRepFill_PipeShell::Shape() const
{
return myShape;
@@ -85,10 +85,7 @@ BRepFill_ShapeLaw::BRepFill_ShapeLaw(const TopoDS_Wire& W, const Standard_Boolea
myDone = Standard_True;
}
//=======================================================================
// function : Create
// purpose : Evolutive Wire
//=======================================================================
//=================================================================================================
BRepFill_ShapeLaw::BRepFill_ShapeLaw(const TopoDS_Wire& W,
const Handle(Law_Function)& L,
@@ -186,10 +186,7 @@ BRepProj_Projection::BRepProj_Projection(const TopoDS_Shape& Wire,
BuildSection(Shape, CylSurf.Shape());
}
//=======================================================================
// function : BRepProj_Projection
// purpose : Conical projection
//=======================================================================
//=================================================================================================
BRepProj_Projection::BRepProj_Projection(const TopoDS_Shape& Wire,
const TopoDS_Shape& Shape,
@@ -58,10 +58,8 @@ TopOpeBRepDS_Check::TopOpeBRepDS_Check()
myMapShapeStatus.Clear();
}
//=======================================================================
// function : ChkIntg
// purpose : Check Integrity
//=======================================================================
//=================================================================================================
Standard_Boolean CheckEdgeParameter(const Handle(TopOpeBRepDS_HDataStructure)& myHDS);
Standard_Boolean TopOpeBRepDS_Check::ChkIntg()
@@ -126,10 +126,8 @@ void TopOpeBRepDS_HDataStructure::AddAncestors(const TopoDS_Shape& S,
}
}
//=======================================================================
// function : ChkIntg
// purpose : Check Integrity
//=======================================================================
//=================================================================================================
void TopOpeBRepDS_HDataStructure::ChkIntg()
{
// Check the integrity of the DS