mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0022312: Translation of french commentaries in OCCT files
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
// Author: Jacques GOUSSARD
|
||||
// <jag@ecolox>
|
||||
|
||||
// IFV 04.06.99 - PRO18974 - treatment of INTERNAL shapes.
|
||||
// IFV 04.06.99 - PRO18974 - processing of INTERNAL shapes.
|
||||
|
||||
#include <BRepTools_Modifier.ixx>
|
||||
|
||||
@@ -104,8 +104,7 @@ void BRepTools_Modifier::Perform(const Handle(BRepTools_Modification)& M)
|
||||
}
|
||||
TopTools_DataMapIteratorOfDataMapOfShapeShape theIter(myMap);
|
||||
|
||||
// Remise a Null des shapes value, dans le cas ou on applique une autre
|
||||
// modification au shape de depart.
|
||||
// Set to Null the value of shapes, in case when another modification is applied to the start shape.
|
||||
|
||||
if (!theIter.Value().IsNull()) {
|
||||
while (theIter.More()) {
|
||||
@@ -136,7 +135,7 @@ void BRepTools_Modifier::Perform(const Handle(BRepTools_Modification)& M)
|
||||
myMap(myShape).Orientation(myShape.Orientation());
|
||||
}
|
||||
|
||||
// Mise a jour des continuites
|
||||
// Update the continuities
|
||||
|
||||
TopTools_IndexedDataMapOfShapeListOfShape theEFMap;
|
||||
TopExp::MapShapesAndAncestors(myShape,TopAbs_EDGE,TopAbs_FACE,theEFMap);
|
||||
@@ -236,7 +235,7 @@ Standard_Boolean BRepTools_Modifier::Rebuild
|
||||
BRep_Builder B;
|
||||
Standard_Real tol;
|
||||
Standard_Boolean No3DCurve = Standard_False; // en fait, si on n`a pas de
|
||||
//modif de geometrie 3d , il faudrait tester l`existence d`une courbe 3d.
|
||||
//modif geometry 3d , it is necessary to test the existence of a curve 3d.
|
||||
|
||||
// new geometry ?
|
||||
|
||||
@@ -355,11 +354,10 @@ Standard_Boolean BRepTools_Modifier::Rebuild
|
||||
if (M->NewCurve2d(edge, face,TopoDS::Edge(myMap(ex.Current())),
|
||||
TopoDS::Face(result),curve2d, tol))
|
||||
{
|
||||
// rem dub 16/09/97 : On fait de la topologie constante ou on
|
||||
// n'en fait pas.
|
||||
// On n'en fait pas si CopySurface = 1
|
||||
// Atention, les VRAIES aretes de couture (RealyClosed) le
|
||||
// restent meme si CopySurface est vrai.
|
||||
// rem dub 16/09/97 : Make constant topology or not make at all.
|
||||
// Do not make if CopySurface = 1
|
||||
// Atention, TRUE sewing edges (RealyClosed)
|
||||
// stay even if CopySurface is true.
|
||||
|
||||
// check that edge contains two pcurves on this surface:
|
||||
// either it is true seam on the current face, or belongs to two faces
|
||||
|
@@ -212,7 +212,7 @@ void BRepTools_WireExplorer::Init(const TopoDS_Wire& W,
|
||||
it.Next();
|
||||
}
|
||||
|
||||
//Construction de l ensemble des aretes doubles.
|
||||
//Construction of the set of double edges.
|
||||
TopoDS_Iterator it2(W);
|
||||
TopTools_MapOfShape emap;
|
||||
while (it2.More()) {
|
||||
@@ -261,8 +261,8 @@ void BRepTools_WireExplorer::Init(const TopoDS_Wire& W,
|
||||
const TopoDS_Edge& E = TopoDS::Edge(it.Value());
|
||||
TopAbs_Orientation Eori = E.Orientation();
|
||||
if (Eori == TopAbs_INTERNAL || Eori == TopAbs_EXTERNAL) {
|
||||
// JYL 10-03-97 : en attendant un traitement correct
|
||||
// des aretes INTERNAL/EXTERNAL
|
||||
// JYL 10-03-97 : waiting for correct processing
|
||||
// of INTERNAL/EXTERNAL edges
|
||||
it.Next();
|
||||
continue;
|
||||
}
|
||||
@@ -369,15 +369,15 @@ void BRepTools_WireExplorer::Next()
|
||||
}
|
||||
else {
|
||||
if (myFace.IsNull()) {
|
||||
// Sans la Face On essait qd meme de renvoyer les aretes
|
||||
// le plus logiquement possible
|
||||
// En premier choix les aretes degenerees.
|
||||
// Without Face - try to return edges
|
||||
// as logically as possible
|
||||
// At first degenerated edges.
|
||||
TopoDS_Edge E = myEdge;
|
||||
if (SelectDegenerated(l,E)) {
|
||||
myEdge = E;
|
||||
return;
|
||||
}
|
||||
// En deuxieme choix les aretes doubles.
|
||||
// At second double edges.
|
||||
E = myEdge;
|
||||
if (SelectDouble(myDoubles,l,E)) {
|
||||
myEdge = E;
|
||||
|
Reference in New Issue
Block a user