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:
Pasukhin Dmitry
2026-02-27 12:34:21 +00:00
committed by GitHub
parent d7abd72eac
commit 2ce7b26ddb
366 changed files with 3945 additions and 4583 deletions
@@ -25,10 +25,10 @@ IMPLEMENT_STANDARD_RTTIEXT(BRepTools_History, Standard_Transient)
namespace
{
//==============================================================================
//=================================================================================================
// function : add
// purpose : Adds the elements of the list to the map.
//==============================================================================
//=================================================================================================
void add(NCollection_Map<TopoDS_Shape, TopTools_ShapeMapHasher>& theMap,
const NCollection_List<TopoDS_Shape>& theList)
{
@@ -38,10 +38,10 @@ void add(NCollection_Map<TopoDS_Shape, TopTools_ShapeMapHasher>& theMap,
}
}
//==============================================================================
//=================================================================================================
// function : add
// purpose : Adds the elements of the collection to the list.
//==============================================================================
//=================================================================================================
template <typename TCollection>
void add(NCollection_List<TopoDS_Shape>& theList, const TCollection& theCollection)
{