mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-09-07 05:08:13 +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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user