// Calculate the map to the right of the current wire.
//----------------------------------------------
BRepLib_MakeFace B(gp_Pln(0.,0.,1.,0.));
- TopoDS_Shape aLocalShape = SpineExp.Current().Reversed();
- B.Add(TopoDS::Wire(aLocalShape));
+ TopoDS_Shape aLocalShapeRev = SpineExp.Current().Reversed();
+ B.Add(TopoDS::Wire(aLocalShapeRev));
// B.Add(TopoDS::Wire(SpineExp.Current().Reversed()));
Face = B.Face();
BRepMAT2d_Explorer Exp(Face);
}
#endif
- TopoDS_Vertex VF,VL;
-
//---------------------------------------------------
// Construction of edges associated to bissectrices.
//---------------------------------------------------
//------------------------------------------------------------
// No connected face in the volevo => no parallel edge.
//------------------------------------------------------------
- TopTools_SequenceOfShape S;
+ TopTools_SequenceOfShape aSeqOfShape;
TrimEdge (CurrentEdge,
MapBis (FaceControle),
MapBis (CurrentEdge) ,
- MapVerPar(CurrentEdge) , S);
+ MapVerPar(CurrentEdge) , aSeqOfShape);
- for ( k = 1; k <= S.Length(); k++) {
- myMap(CurrentSpine)(VCF).Append(S.Value(k));
+ for ( k = 1; k <= aSeqOfShape.Length(); k++) {
+ myMap(CurrentSpine)(VCF).Append(aSeqOfShape.Value(k));
#ifdef DRAW
if (AffichEdge) {
// the number of element of the list allows to know
// if the edges have already been done (closed profile) .
if (YaFace && myMap(CurrentSpine)(VCL).Extent()<= 1) {
- TopTools_SequenceOfShape S;
+ TopTools_SequenceOfShape aSeqOfShape;
TrimEdge (CurrentEdge,
MapBis (FaceControle),
MapBis (CurrentEdge) ,
- MapVerPar(CurrentEdge) , S);
+ MapVerPar(CurrentEdge) , aSeqOfShape);
- for ( k = 1; k <= S.Length(); k++) {
- myMap(CurrentSpine)(VCL).Append(S.Value(k));
+ for ( k = 1; k <= aSeqOfShape.Length(); k++) {
+ myMap(CurrentSpine)(VCL).Append(aSeqOfShape.Value(k));
#ifdef DRAW
if (AffichEdge) {
}
//Cut of the face.
- TopTools_SequenceOfShape S;
+ TopTools_SequenceOfShape aSeqOfShape;
- TrimFace (CurrentFace, MapBis(CurrentFace), S);
+ TrimFace (CurrentFace, MapBis(CurrentFace), aSeqOfShape);
- for (Standard_Integer ii = 1; ii <= S.Length(); ii++) {
- myBuilder.Add (myShape,S.Value(ii));
- myMap(CurrentSpine)(CurrentProf).Append(S.Value(ii));
+ for (Standard_Integer ii = 1; ii <= aSeqOfShape.Length(); ii++) {
+ myBuilder.Add (myShape, aSeqOfShape.Value(ii));
+ myMap(CurrentSpine)(CurrentProf).Append(aSeqOfShape.Value(ii));
}
}
}
BRepMAT2d_LinkTopoBilo& Link,
const GeomAbs_JoinType Join)
{
- TopoDS_Shape aLocalShape = Sp.Oriented(TopAbs_FORWARD);
- mySpine = TopoDS::Face(aLocalShape);
+ TopoDS_Shape aLocalShapeOriented = Sp.Oriented(TopAbs_FORWARD);
+ mySpine = TopoDS::Face(aLocalShapeOriented);
// mySpine = TopoDS::Face(Sp.Oriented(TopAbs_FORWARD));
myProfile = Pr;
myMap.Clear();
BRepTools_WireExplorer ProfExp;
TopExp_Explorer Exp,exp1,exp2;
- TopoDS_Shape Rest;
TopTools_DataMapOfShapeListOfShape EmptyMap;
TopTools_ListOfShape EmptyList;
TopTools_DataMapOfShapeShape MapVP;
// MAJ myMap
for (Exp.Init(Base,TopAbs_EDGE); Exp.More(); Exp.Next()) {
- const TopoDS_Edge& E = TopoDS::Edge(Exp.Current());
- const TopoDS_Shape& AE = OffAnc.Ancestor(E);
+ const TopoDS_Edge& anEdge = TopoDS::Edge(Exp.Current());
+ const TopoDS_Shape& AE = OffAnc.Ancestor(anEdge);
if (!myMap.IsBound(AE)) {
myMap.Bind(AE,EmptyMap);
}
TopTools_ListOfShape L;
myMap(AE).Bind(V1,L);
}
- myMap(AE)(V1).Append(E);
+ myMap(AE)(V1).Append(anEdge);
}
First = Standard_False;
}
Loop.Perform();
Loop.WiresToFaces();
const TopTools_ListOfShape& L = Loop.NewFaces();
- TopTools_ListIteratorOfListOfShape itL(L);
+ TopTools_ListIteratorOfListOfShape anIterL(L);
// Maj of myTop and myBottom for the history
// and addition of constructed faces.
B.MakeCompound(Bouchon);
Standard_Integer j = 0;
- for (itL.Initialize(L); itL.More(); itL.Next()) {
+ for (anIterL.Initialize(L); anIterL.More(); anIterL.Next()) {
j++;
- Glue.Add(itL.Value());
- if (j ==1 && i == 0) myTop = itL.Value();
- if (j ==1 && i == 1) myBottom = itL.Value();
- B.Add(Bouchon,itL.Value());
+ Glue.Add(anIterL.Value());
+ if (j ==1 && i == 0) myTop = anIterL.Value();
+ if (j ==1 && i == 1) myBottom = anIterL.Value();
+ B.Add(Bouchon,anIterL.Value());
}
if (i == 0 && j > 1) myTop = Bouchon;
if (i == 1 && j > 1) myBottom = Bouchon;