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
@@ -69,10 +69,7 @@ inline const Intf_TangentZone& Intf_Interference::ZoneValue(const Standard_Integ
return myTZones(Index);
}
//=======================================================================
// function : GetTolerance
// purpose :
//=======================================================================
//=================================================================================================
inline Standard_Real Intf_Interference::GetTolerance() const
{
@@ -51,10 +51,8 @@ static Standard_Boolean IsInSegment(const gp_Vec& P1P2,
}
//=======================================================================
//function : Intf_InterferencePolygonPolyhedron
//purpose : Empty constructor
//=======================================================================
//=================================================================================================
Intf_InterferencePolygonPolyhedron::Intf_InterferencePolygonPolyhedron()
: Intf_Interference (Standard_False),
@@ -188,10 +186,8 @@ Intf_InterferencePolygonPolyhedron::Intf_InterferencePolygonPolyhedron
}
//=======================================================================
//function : Perform
//purpose :
//=======================================================================
//=================================================================================================
void Intf_InterferencePolygonPolyhedron::Perform
(const Polygon3d& thePolyg, const Polyhedron& thePolyh)
@@ -209,10 +205,8 @@ void Intf_InterferencePolygonPolyhedron::Perform
}
//=======================================================================
//function : Perform
//purpose :
//=======================================================================
//=================================================================================================
void Intf_InterferencePolygonPolyhedron::Perform
(const gp_Lin& theLin, const Polyhedron& thePolyh)
@@ -451,10 +445,8 @@ Intf_InterferencePolygonPolyhedron::Intf_InterferencePolygonPolyhedron
}
//=======================================================================
//function : Perform
//purpose :
//=======================================================================
//=================================================================================================
void Intf_InterferencePolygonPolyhedron::Perform
(const Polygon3d& thePolyg, const Polyhedron& thePolyh,
@@ -473,10 +465,8 @@ void Intf_InterferencePolygonPolyhedron::Perform
}
//=======================================================================
//function : Perform
//purpose :
//=======================================================================
//=================================================================================================
void Intf_InterferencePolygonPolyhedron::Perform
(const gp_Lin& theLin, const Polyhedron& thePolyh,
@@ -13,10 +13,7 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
//=======================================================================
// function : Bounding
// purpose :
//=======================================================================
//=================================================================================================
inline const Bnd_Box2d& Intf_Polygon2d::Bounding() const
{
@@ -16,10 +16,7 @@
#include <Intf_SeqOfSectionPoint.hxx>
//=======================================================================
// function : NumberOfPoint
// purpose :
//=======================================================================
//=================================================================================================
inline Standard_Integer Intf_SectionLine::NumberOfPoints() const
{
@@ -26,10 +26,7 @@ inline Standard_Integer Intf_TangentZone::NumberOfPoints() const
return Result.Length();
}
//=======================================================================
// function : ParamOnFirst
// purpose :
//=======================================================================
//=================================================================================================
inline void Intf_TangentZone::ParamOnFirst(Standard_Real& paraMin, Standard_Real& paraMax) const
{
@@ -37,10 +34,7 @@ inline void Intf_TangentZone::ParamOnFirst(Standard_Real& paraMin, Standard_Real
paraMax = ParamOnFirstMax;
}
//=======================================================================
// function : ParamOnSecond
// purpose :
//=======================================================================
//=================================================================================================
inline void Intf_TangentZone::ParamOnSecond(Standard_Real& paraMin, Standard_Real& paraMax) const
{