1 -- Created on: 2012-08-06
2 -- Created by: jgv@ROLEX
3 -- Copyright (c) 2012-2014 OPEN CASCADE SAS
5 -- This file is part of Open CASCADE Technology software library.
7 -- This library is free software; you can redistribute it and/or modify it under
8 -- the terms of the GNU Lesser General Public License version 2.1 as published
9 -- by the Free Software Foundation, with special exception defined in the file
10 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 -- distribution for complete text of the license and disclaimer of any warranty.
13 -- Alternatively, this file may be used under the terms of Open CASCADE
14 -- commercial license or contractual agreement.
16 class MiddlePath from BRepOffsetAPI inherits MakeShape from BRepBuilderAPI
18 ---Purpose: Describes functions to build a middle path of a
27 MapOfShape from TopTools,
28 SequenceOfSequenceOfShape from BRepOffsetAPI
31 --Create(aShape : Shape from TopoDS;
32 -- StartWire : Wire from TopoDS)
33 --returns MiddlePath from BRepOffsetAPI;
35 --Create(aShape : Shape from TopoDS;
36 -- StartEdge : Edge from TopoDS)
37 --returns MiddlePath from BRepOffsetAPI;
39 Create(aShape : Shape from TopoDS;
40 StartShape : Shape from TopoDS;
41 EndShape : Shape from TopoDS)
42 ---Purpose: General constructor.
43 -- StartShape and EndShape may be
45 returns MiddlePath from BRepOffsetAPI;
52 myInitialShape : Shape from TopoDS;
53 myStartWire : Wire from TopoDS;
54 myEndWire : Wire from TopoDS;
55 myClosedSection : Boolean from Standard;
56 myClosedRing : Boolean from Standard;
58 myStartWireEdges : MapOfShape from TopTools;
59 myEndWireEdges : MapOfShape from TopTools;
61 myPaths : SequenceOfSequenceOfShape from BRepOffsetAPI;