-- Created on: 1995-11-10 -- Created by: Yves FRICAUD -- Copyright (c) 1995-1999 Matra Datavision -- Copyright (c) 1999-2014 OPEN CASCADE SAS -- -- This file is part of Open CASCADE Technology software library. -- -- This library is free software; you can redistribute it and / or modify it -- under the terms of the GNU Lesser General Public version 2.1 as published -- by the Free Software Foundation, with special exception defined in the file -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT -- distribution for complete text of the license and disclaimer of any warranty. -- -- Alternatively, this file may be used under the terms of Open CASCADE -- commercial license or contractual agreement. class Loop from BRepAlgo ---Purpose: Builds the loops from a set of edges on a face. uses Face from TopoDS, Edge from TopoDS, ListOfShape from TopTools, DataMapOfShapeListOfShape from TopTools, DataMapOfShapeShape from TopTools is Create; Init (me : in out; F : Face from TopoDS) ---Purpose: Init with the set of edges must have -- pcurves on . is static; AddEdge (me : in out; E : in out Edge from TopoDS; LV : ListOfShape from TopTools) ---Purpose: Add E with . will be copied and trim -- by vertices in . is static; AddConstEdge (me : in out; E : Edge from TopoDS) ---Purpose: Add as const edge, E can be in the result. is static; AddConstEdges (me : in out; LE : ListOfShape from TopTools) ---Purpose: Add as a set of const edges. is static; Perform(me : in out) ---Purpose: Make loops. is static; CutEdge(me; E : Edge from TopoDS; VonE : ListOfShape from TopTools; NE : in out ListOfShape from TopTools) ---Purpose: Cut the edge in several edges on the -- vertices. is static; NewWires (me) ---Purpose: Returns the list of wires performed. -- can be an empty list. ---C++: return const & returns ListOfShape from TopTools; WiresToFaces (me : in out) ---Purpose: Build faces from the wires result. is static; NewFaces (me) ---Purpose: Returns the list of faces. -- Warning: The method as to be called before. -- can be an empty list. ---C++: return const & returns ListOfShape from TopTools; NewEdges (me ; E : Edge from TopoDS) ---Purpose: Returns the list of new edges built from an edge -- it can be an empty list. ---C++: return const & returns ListOfShape from TopTools; GetVerticesForSubstitute (me; VerVerMap: out DataMapOfShapeShape from TopTools); ---Purpose: Returns the datamap of vertices with their substitutes. VerticesForSubstitute (me : in out; VerVerMap: in out DataMapOfShapeShape from TopTools); ---Purpose: fields myFace : Face from TopoDS; myConstEdges : ListOfShape from TopTools; myVerOnEdges : DataMapOfShapeListOfShape from TopTools; myNewWires : ListOfShape from TopTools; myNewFaces : ListOfShape from TopTools; myNewEdges : DataMapOfShapeListOfShape from TopTools; myVerticesForSubstitute : DataMapOfShapeShape from TopTools; end Loop;