1 -- Created on: 1995-12-04
2 -- Created by: Laurent BOURESCHE
3 -- Copyright (c) 1995-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 CoonsAlgPatch from GeomFill inherits TShared from MMgt
19 ---Purpose: Provides evaluation methods on an algorithmic
20 -- patch (based on 4 Curves) defined by its boundaries and blending
26 Boundary from GeomFill,
31 Create(B1, B2, B3, B4 : Boundary from GeomFill)
32 ---Purpose: Constructs the algorithmic patch. By Default the
33 -- constructed blending functions are linear.
34 -- Warning: No control is done on the bounds.
35 -- B1/B3 and B2/B4 must be same range and well oriented.
36 returns CoonsAlgPatch from GeomFill;
39 f1,f2 : out Function from Law)
40 ---Purpose: Give the blending functions.
45 f1,f2 : Function from Law)
46 ---Purpose: Set the blending functions.
51 U,V : Real from Standard) returns Pnt from gp
52 ---Purpose: Computes the value on the algorithmic patch at
53 -- parameters U and V.
57 U,V : Real from Standard)
59 ---Purpose: Computes the d/dU partial derivative on the
60 -- algorithmic patch at parameters U and V.
64 U,V : Real from Standard)
66 ---Purpose: Computes the d/dV partial derivative on the
67 -- algorithmic patch at parameters U and V.
71 U,V : Real from Standard)
73 ---Purpose: Computes the d2/dUdV partial derivative on the
74 -- algorithmic patch made with linear blending functions
75 -- at parameter U and V.
78 Corner(me; I : Integer from Standard)
83 Bound(me; I : Integer from Standard)
85 returns any Boundary from GeomFill
88 Func(me; I : Integer from Standard)
90 returns any Function from Law
96 bound : Boundary from GeomFill [4];
101 -- the blending functions.
102 a : Function from Law [2];