mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-08-15 15:00:30 +08:00
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:
@@ -14,10 +14,7 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
//=======================================================================
|
||||
// function : Extrema
|
||||
// purpose :
|
||||
//=======================================================================
|
||||
//=================================================================================================
|
||||
|
||||
inline const Extrema_ExtCC& GeomAPI_ExtremaCurveCurve::Extrema() const
|
||||
{
|
||||
|
||||
@@ -14,10 +14,7 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
//=======================================================================
|
||||
// function : Extrema
|
||||
// purpose :
|
||||
//=======================================================================
|
||||
//=================================================================================================
|
||||
|
||||
inline const Extrema_ExtCS& GeomAPI_ExtremaCurveSurface::Extrema() const
|
||||
{
|
||||
|
||||
@@ -14,10 +14,7 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
//=======================================================================
|
||||
// function : Extrema
|
||||
// purpose :
|
||||
//=======================================================================
|
||||
//=================================================================================================
|
||||
|
||||
inline const Extrema_ExtSS& GeomAPI_ExtremaSurfaceSurface::Extrema() const
|
||||
{
|
||||
|
||||
@@ -14,17 +14,11 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
//=======================================================================
|
||||
// function : GeomAPI_IntSS
|
||||
// purpose :
|
||||
//=======================================================================
|
||||
//=================================================================================================
|
||||
|
||||
inline GeomAPI_IntSS::GeomAPI_IntSS() {}
|
||||
|
||||
//=======================================================================
|
||||
// function : GeomAPI_IntSS
|
||||
// purpose :
|
||||
//=======================================================================
|
||||
//=================================================================================================
|
||||
|
||||
inline GeomAPI_IntSS::GeomAPI_IntSS(const Handle(Geom_Surface)& S1,
|
||||
const Handle(Geom_Surface)& S2,
|
||||
@@ -33,10 +27,7 @@ inline GeomAPI_IntSS::GeomAPI_IntSS(const Handle(Geom_Surface)& S1,
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
// function : Perform
|
||||
// purpose :
|
||||
//=======================================================================
|
||||
//=================================================================================================
|
||||
|
||||
inline void GeomAPI_IntSS::Perform(const Handle(Geom_Surface)& S1,
|
||||
const Handle(Geom_Surface)& S2,
|
||||
@@ -45,30 +36,21 @@ inline void GeomAPI_IntSS::Perform(const Handle(Geom_Surface)& S1,
|
||||
myIntersec.Perform(S1, S2, Tol, Standard_True);
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
// function : IsDone
|
||||
// purpose :
|
||||
//=======================================================================
|
||||
//=================================================================================================
|
||||
|
||||
inline Standard_Boolean GeomAPI_IntSS::IsDone() const
|
||||
{
|
||||
return myIntersec.IsDone();
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
// function : NbLines
|
||||
// purpose :
|
||||
//=======================================================================
|
||||
//=================================================================================================
|
||||
|
||||
inline Standard_Integer GeomAPI_IntSS::NbLines() const
|
||||
{
|
||||
return myIntersec.NbLines();
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
// function : Line
|
||||
// purpose :
|
||||
//=======================================================================
|
||||
//=================================================================================================
|
||||
|
||||
inline const Handle(Geom_Curve)& GeomAPI_IntSS::Line(const Standard_Integer I) const
|
||||
{
|
||||
|
||||
@@ -14,10 +14,7 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
//=======================================================================
|
||||
// function : Extrema
|
||||
// purpose :
|
||||
//=======================================================================
|
||||
//=================================================================================================
|
||||
|
||||
inline const Extrema_ExtPC& GeomAPI_ProjectPointOnCurve::Extrema() const
|
||||
{
|
||||
|
||||
@@ -14,10 +14,7 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
//=======================================================================
|
||||
// function : Extrema
|
||||
// purpose :
|
||||
//=======================================================================
|
||||
//=================================================================================================
|
||||
|
||||
inline const Extrema_ExtPS& GeomAPI_ProjectPointOnSurf::Extrema() const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user