//1) Get split parts of edge with state TB
const TopTools_ListOfShape& LSE = myDataStructure -> DS().GetShapeWithState(EOR).Part(TB);
TopTools_ListIteratorOfListOfShape it (LSE);
- Standard_Boolean first = Standard_True;
for(; it.More(); it.Next()) {
TopoDS_Edge newE = TopoDS::Edge(it.Value());
//2) Get ON parts of the edge and define to keep it or not
const TopTools_ListOfShape& LSEOn = myDataStructure -> DS().GetShapeWithState(EOR).Part(TopAbs_ON);
- first = Standard_True;
it.Initialize(LSEOn);
for(; it.More(); it.Next()) {
Standard_Integer iref = myDataStructure -> DS().AncestorRank(FOR1);
- Standard_Boolean RevOri;
-
if(iref == 1) {//object
FTB = FTB1;
- RevOri = G1.IsToReverse1();
}
else {//tool
- RevOri = G1.IsToReverse2();
FTB = FTB2;
}