theResultCone->generated(aFace, (*it).first, num++);
nbFaces++;
}
-
+
if (nbFaces == 2) {
// Naming vertices
GeomAPI_DataMapOfShapeShape aVertices;
std::shared_ptr<GeomAPI_Shape> aFace = (*it).second;
theResultSphere->generated(aFace, (*it).first, num++);
}
-
+
// Naming vertices
GeomAPI_DataMapOfShapeShape aVertices;
GeomAPI_ShapeExplorer aVertExp(theSphereAlgo->shape(), GeomAPI_Shape::VERTEX);
std::shared_ptr<GeomAPI_Shape> aFace = (*it).second;
theResultTorus->generated(aFace, (*it).first, num++);
}
-
+
// Naming of edges
GeomAPI_DataMapOfShapeShape anEdges;
GeomAPI_ShapeExplorer anEdgeExp(theTorusAlgo->shape(), GeomAPI_Shape::EDGE);