1 -- Created on: 1993-12-16
2 -- Created by: Jacques GOUSSARD
3 -- Copyright (c) 1993-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 deferred generic class SectionGenerator from AppBlend
22 uses Array1OfPnt from TColgp,
23 Array1OfVec from TColgp,
24 Array1OfPnt2d from TColgp,
25 Array1OfVec2d from TColgp,
26 Array1OfReal from TColStd,
27 Array1OfInteger from TColStd
31 GetShape(me; NbPoles : out Integer from Standard;
32 NbKnots : out Integer from Standard;
33 Degree : out Integer from Standard;
34 NbPoles2d : out Integer from Standard)
38 Knots(me; TKnots: out Array1OfReal from TColStd)
43 Mults(me; TMults: out Array1OfInteger from TColStd)
48 Section(me; P: ThePoint; Poles : out Array1OfPnt from TColgp;
49 DPoles : out Array1OfVec from TColgp;
50 Poles2d : out Array1OfPnt2d from TColgp;
51 DPoles2d : out Array1OfVec2d from TColgp;
52 Weigths : out Array1OfReal from TColStd;
53 DWeigths : out Array1OfReal from TColStd)
55 ---Purpose: Used for the first and last section
56 -- The method returns Standard_True if the derivatives
57 -- are computed, otherwise it returns Standard_False.
59 returns Boolean from Standard
64 Section(me; P: ThePoint; Poles : out Array1OfPnt from TColgp;
65 Poles2d : out Array1OfPnt2d from TColgp;
66 Weigths : out Array1OfReal from TColStd)
70 Parameter(me; P: ThePoint)
71 ---Purpose: Returns the parameter of the point P. Used to
72 -- impose the parameters in the approximation.
73 returns Real from Standard