mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-09-04 11:47:53 +08:00
Coding - Standardize comment separators, translate French comments (#1126)
Normalize method separator lines across the codebase to exactly 100 characters (// followed by 98 = signs) matching the project coding standard. Translate remaining French comments to English in ModelingData packages (TKBRep, TKG2d, TKG3d, TKGeomBase) and FoundationClasses. Add [[nodiscard]] attribute to Copy() methods on Geom_Geometry, Geom2d_Geometry, Geom_Transformation, and Geom2d_Transformation to prevent accidental discard of returned handles. Fix typo in AppDef_Variational::Dump() debug output: "Nombre of 3d par multipoint" -> "Number of 3d per multipoint". Update .github/copilot-instructions.md separator examples to match the corrected convention.
This commit is contained in:
@@ -2166,10 +2166,10 @@ int TopOpeBRepBuild_Builder::KPreturn(const int b)
|
||||
}
|
||||
|
||||
// modified by NIZHNY-MKK Tue May 23 09:48:47 2000.BEGIN
|
||||
//======================================================================================================
|
||||
//=====================================================================================================
|
||||
// static function : LocalKPisdisjanalyse
|
||||
// purpose:
|
||||
//======================================================================================================
|
||||
//=====================================================================================================
|
||||
static void LocalKPisdisjanalyse(const TopAbs_State Stsol1,
|
||||
const TopAbs_State Stsol2,
|
||||
const TopOpeBRepBuild_KPart_Operation& theOperation,
|
||||
@@ -2267,10 +2267,10 @@ static void LocalKPisdisjanalyse(const TopAbs_State Stsol1,
|
||||
} // end switch
|
||||
}
|
||||
|
||||
//======================================================================================================
|
||||
//=====================================================================================================
|
||||
// static function : BuildNewSolid
|
||||
// purpose: Build new solid based on sol1 and sol2 according to the states
|
||||
//======================================================================================================
|
||||
//=====================================================================================================
|
||||
static TopoDS_Solid BuildNewSolid(const TopoDS_Solid& sol1,
|
||||
const TopoDS_Solid& sol2,
|
||||
const TopAbs_State stsol1,
|
||||
@@ -2409,11 +2409,11 @@ static TopoDS_Solid BuildNewSolid(const TopoDS_Solid& sol1,
|
||||
return newsol;
|
||||
}
|
||||
|
||||
//======================================================================================================
|
||||
//=====================================================================================================
|
||||
// static function : disjPerformFuse
|
||||
// purpose: is needed in case of KPart==2
|
||||
// attention: theMapOfResult is cleared before computations
|
||||
//======================================================================================================
|
||||
//=====================================================================================================
|
||||
static bool disjPerformFuse(
|
||||
const NCollection_IndexedMap<TopoDS_Shape, TopTools_ShapeMapHasher>& theMapOfSolid1,
|
||||
const NCollection_IndexedMap<TopoDS_Shape, TopTools_ShapeMapHasher>& theMapOfSolid2,
|
||||
@@ -2520,11 +2520,11 @@ static bool disjPerformFuse(
|
||||
return true;
|
||||
}
|
||||
|
||||
//======================================================================================================
|
||||
//=====================================================================================================
|
||||
// static function : disjPerformCommon
|
||||
// purpose: is needed in case of KPart==2
|
||||
// attention: theMapOfResult is cleared before computations
|
||||
//======================================================================================================
|
||||
//=====================================================================================================
|
||||
static bool disjPerformCommon(
|
||||
const NCollection_IndexedMap<TopoDS_Shape, TopTools_ShapeMapHasher>& theMapOfSolid1,
|
||||
const NCollection_IndexedMap<TopoDS_Shape, TopTools_ShapeMapHasher>& theMapOfSolid2,
|
||||
@@ -2610,11 +2610,11 @@ static bool disjPerformCommon(
|
||||
return true;
|
||||
}
|
||||
|
||||
//======================================================================================================
|
||||
//=====================================================================================================
|
||||
// static function : disjPerformCut
|
||||
// purpose: is needed in case of KPart==2
|
||||
// attention: theMapOfResult is cleared before computations
|
||||
//======================================================================================================
|
||||
//=====================================================================================================
|
||||
static bool disjPerformCut(
|
||||
const NCollection_IndexedMap<TopoDS_Shape, TopTools_ShapeMapHasher>& theMapOfSolid1,
|
||||
const NCollection_IndexedMap<TopoDS_Shape, TopTools_ShapeMapHasher>& theMapOfSolid2,
|
||||
|
||||
Reference in New Issue
Block a user