0023022: This is desirable to access OpenGl extensions and core API (1.2+) in one...
[occt.git] / src / Plate / Plate_FreeGtoCConstraint.cdl
CommitLineData
7fd59977 1-- File: Plate_FreeGtoCConstraint.cdl
2-- Created: Thu Mar 26 11:55:26 1998
3-- Author: # Andre LIEUTIER
4-- <alr@sgi63>
5---Copyright: Matra Datavision 1998
6
7
8class FreeGtoCConstraint from Plate
9---Purpose: define a G1, G2 or G3 constraint on the Plate using weaker
10-- constraint than GtoCConstraint
11--
12
13uses
14 XY from gp,
15 XYZ from gp,
16 D1 from Plate,
17 D2 from Plate,
18 D3 from Plate,
19 PinpointConstraint from Plate,
20 LinearScalarConstraint from Plate
21
22is
23 Create(point2d : XY ; D1S , D1T : D1 from Plate;
24 IncrementalLoad: Real =1.0; orientation: Integer = 0 ) returns FreeGtoCConstraint;
25 -- G1 constraint:
26 -- D1S : first derivative of S, the surface we want to correct
27 -- D1T : first derivative of the reference surface
28
29
30 Create(point2d : XY from gp; D1S , D1T : D1 from Plate;
31 D2S, D2T : D2 from Plate;
32 IncrementalLoad: Real =1.0; orientation: Integer = 0 ) returns FreeGtoCConstraint;
33 -- G2 constraint:
34 -- D1S : first derivative of S, the surface we want to correct
35 -- D1T : first derivative of the reference surface
36 -- D2S : second derivative of S, the surface we want to correct
37 -- D2T : second derivative of the reference surface
38
39 Create(point2d : XY from gp; D1S , D1T : D1 from Plate;
40 D2S, D2T : D2 from Plate;
41 D3S, D3T : D3 from Plate;
42 IncrementalLoad: Real =1.0; orientation: Integer = 0 ) returns FreeGtoCConstraint;
43 -- G3 constraint:
44 -- D1S : first derivative of S, the surface we want to correct
45 -- D1T : first derivative of the reference surface
46 -- D2S : second derivative of S, the surface we want to correct
47 -- D2T : second derivative of the reference surface
48 -- D3S : third derivative of S, the surface we want to correct
49 -- D3T : third derivative of the reference surface
50
51 -- Accessors :
52 nb_PPC(me) returns Integer;
53 ---C++: inline
54 ---C++: return const &
55
56 GetPPC(me; Index: Integer) returns PinpointConstraint;
57 -- "C style" Index : Index : 0 --> nb_PPC-1
58 ---C++: inline
59 ---C++: return const &
60
61 nb_LSC(me) returns Integer;
62 ---C++: inline
63 ---C++: return const &
64
65 LSC(me; Index: Integer) returns LinearScalarConstraint;
66 -- "C style" Index : Index : 0 --> nb_PPC-1
67 ---C++: inline
68 ---C++: return const &
69
70
71fields
72
73 pnt2d : XY ;
74 nb_PPConstraints : Integer;
75 nb_LSConstraints : Integer;
76 myPPC : PinpointConstraint[5];
77 myLSC : LinearScalarConstraint[4];
78
79end;
80