std::ostringstream aStream;
aStream<<"Base_Edge_"<<theTag++;
theResultBody->generated(aNotClosedEdge, aStream.str(), theTag++);
- if (aDegenerateEdge.get()) { // export vertex of the degenerated edge, apex, issue 2520
+ if (aDegenerateEdge.get()) { // export vertex of the degenerated edge (apex) #2520
GeomAPI_ShapeExplorer anEdgeExp(aDegenerateEdge, GeomAPI_Shape::VERTEX);
if (anEdgeExp.more()) {
std::ostringstream aStream;
ListOfShape::iterator anIt = theShapes.begin();
while (anIt != theShapes.end()) {
TopoDS_Shape aNewShape = (*anIt)->impl<TopoDS_Shape>();
- bool aSkip = aNewShape.IsNull() || (aNewShape.ShapeType() == TopAbs_EDGE && BRep_Tool::Degenerated(TopoDS::Edge(aNewShape)));
+ bool aSkip = aNewShape.IsNull() ||
+ (aNewShape.ShapeType() == TopAbs_EDGE && BRep_Tool::Degenerated(TopoDS::Edge(aNewShape)));
if (aSkip || theRoot.IsSame(aNewShape) || (theResultShape &&
(!theResultShape->isSubShape(*anIt, false) || theResultShape->isSame(*anIt)))) {
ListOfShape::iterator aRemoveIt = anIt++;