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
@@ -241,8 +241,8 @@ bool BRepTools_Modifier::Rebuild(const TopoDS_Shape& S,
TopAbs_Orientation ResOr = TopAbs_FORWARD;
BRep_Builder B;
double tol;
bool No3DCurve = false; // en fait, si on n`a pas de
// modif geometry 3d , it is necessary to test the existence of a curve 3d.
bool No3DCurve = false; // in fact, if we have no
// 3D geometry modification, it is necessary to test the existence of a 3D curve.
// new geometry ?
@@ -502,7 +502,7 @@ bool BRepTools_Modifier::Rebuild(const TopoDS_Shape& S,
TopAbs_Orientation vtxrelat = vertex.Orientation();
if (edge.Orientation() == TopAbs_REVERSED)
{
// Update considere l'edge FORWARD, et le vertex en relatif
// Update considers the edge as FORWARD, and the vertex relatively
vtxrelat = TopAbs::Reverse(vtxrelat);
}
// if (myMap(edge).Orientation() == TopAbs_REVERSED) {
@@ -577,7 +577,7 @@ bool BRepTools_Modifier::Rebuild(const TopoDS_Shape& S,
TopAbs_Orientation vtxrelat = vertex.Orientation();
if (edor == TopAbs_REVERSED)
{
// Update considere l'edge FORWARD, et le vertex en relatif
// Update considers the edge as FORWARD, and the vertex relatively
vtxrelat = TopAbs::Reverse(vtxrelat);
}