mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-09-04 11:47:53 +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,60 +14,42 @@
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
//=======================================================================
|
||||
// function : First
|
||||
// purpose :
|
||||
//=======================================================================
|
||||
//=================================================================================================
|
||||
|
||||
inline void BRepOffset_Interval::First(const Standard_Real U)
|
||||
{
|
||||
f = U;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
// function : Last
|
||||
// purpose :
|
||||
//=======================================================================
|
||||
//=================================================================================================
|
||||
|
||||
inline void BRepOffset_Interval::Last(const Standard_Real U)
|
||||
{
|
||||
l = U;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
// function : Type
|
||||
// purpose :
|
||||
//=======================================================================
|
||||
//=================================================================================================
|
||||
|
||||
inline void BRepOffset_Interval::Type(const ChFiDS_TypeOfConcavity T)
|
||||
{
|
||||
type = T;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
// function : First
|
||||
// purpose :
|
||||
//=======================================================================
|
||||
//=================================================================================================
|
||||
|
||||
inline Standard_Real BRepOffset_Interval::First() const
|
||||
{
|
||||
return f;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
// function : Last
|
||||
// purpose :
|
||||
//=======================================================================
|
||||
//=================================================================================================
|
||||
|
||||
inline Standard_Real BRepOffset_Interval::Last() const
|
||||
{
|
||||
return l;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
// function : Type
|
||||
// purpose :
|
||||
//=======================================================================
|
||||
//=================================================================================================
|
||||
|
||||
inline ChFiDS_TypeOfConcavity BRepOffset_Interval::Type() const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user