1 -- Created on: 1998-08-17
2 -- Created by: Philippe MANGIN
3 -- Copyright (c) 1998-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
6 -- This file is part of Open CASCADE Technology software library.
8 -- This library is free software; you can redistribute it and/or modify it under
9 -- the terms of the GNU Lesser General Public License version 2.1 as published
10 -- by the Free Software Foundation, with special exception defined in the file
11 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 -- distribution for complete text of the license and disclaimer of any warranty.
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
17 class ShapeLaw from BRepFill inherits SectionLaw from BRepFill
19 ---Purpose: Build Section Law, with an Vertex, or an Wire
23 SectionLaw from GeomFill,
24 HArray1OfSectionLaw from GeomFill,
25 HArray1OfShape from TopTools,
34 Create (V: Vertex from TopoDS;
35 Build : Boolean = Standard_True )
36 ---Purpose: Construct an constant Law
37 returns ShapeLaw from BRepFill;
39 Create (W:Wire from TopoDS;
40 Build : Boolean = Standard_True)
41 ---Purpose: Construct an constant Law
42 returns ShapeLaw from BRepFill;
44 Create (W: Wire from TopoDS;
46 Build : Boolean = Standard_True)
47 ---Purpose: Construct an evolutive Law
48 returns ShapeLaw from BRepFill;
51 ---Purpose: Say if the input shape is a vertex.
56 ---Purpose: Say if the Law is Constant.
61 ---Purpose: Give the law build on a concaneted section
62 returns SectionLaw from GeomFill
65 Continuity(me; Index : Integer;
67 returns Shape from GeomAbs
70 VertexTol(me; Index : Integer;
75 Vertex(me; Index : Integer;
77 returns Vertex from TopoDS
80 D0(me:mutable; Param : Real;
81 S : out Shape from TopoDS)
84 Edge(me; Index : Integer)
85 ---C++: return const &
87 returns Edge from TopoDS;
89 Init(me : mutable; B : Boolean) is private;
92 myShape: Shape from TopoDS;
93 myEdges: HArray1OfShape from TopTools;
94 TheLaw : Function from Law;
95 vertex : Boolean from Standard is protected;