1 -- Created on: 1998-12-29
2 -- Created by: Joelle CHAUVET
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 NSections from BRepFill inherits SectionLaw from BRepFill
19 ---Purpose: Build Section Law, with N Sections
24 SectionLaw from GeomFill,
25 HArray1OfSectionLaw from GeomFill,
26 SequenceOfTrsf from GeomFill,
27 BSplineSurface from Geom,
28 HArray2OfShape from TopTools,
29 SequenceOfReal from TColStd,
30 SequenceOfShape from TopTools,
39 Create (S:SequenceOfShape from TopTools;
40 Build : Boolean = Standard_True)
42 returns NSections from BRepFill;
44 Create (S : SequenceOfShape from TopTools;
45 Trsfs : SequenceOfTrsf from GeomFill;
46 P : SequenceOfReal from TColStd;
48 Build : Boolean = Standard_True)
50 returns NSections from BRepFill;
54 ---Purpose: Say if the input shape is a vertex.
59 ---Purpose: Say if the Law is Constant.
64 ---Purpose: Give the law build on a concatened section
65 returns SectionLaw from GeomFill
68 Continuity(me; Index : Integer;
70 returns Shape from GeomAbs
73 VertexTol(me; Index : Integer;
78 Vertex(me; Index : Integer;
80 returns Vertex from TopoDS
83 D0(me:mutable; Param : Real;
84 S : out Shape from TopoDS)
87 Init(me : mutable; P : SequenceOfReal from TColStd;
88 B : Boolean from Standard ) is private;
92 myShapes: SequenceOfShape from TopTools;
93 myTrsfs: SequenceOfTrsf from GeomFill;
94 myParams: SequenceOfReal from TColStd;
95 myEdges: HArray2OfShape from TopTools;
96 mySurface: BSplineSurface from Geom;