1 -- File: Plate_FreeGtoCConstraint.cdl
2 -- Created: Thu Mar 26 11:55:26 1998
3 -- Author: # Andre LIEUTIER
5 ---Copyright: Matra Datavision 1998
8 class FreeGtoCConstraint from Plate
9 ---Purpose: define a G1, G2 or G3 constraint on the Plate using weaker
10 -- constraint than GtoCConstraint
19 PinpointConstraint from Plate,
20 LinearScalarConstraint from Plate
23 Create(point2d : XY ; D1S , D1T : D1 from Plate;
24 IncrementalLoad: Real =1.0; orientation: Integer = 0 ) returns FreeGtoCConstraint;
26 -- D1S : first derivative of S, the surface we want to correct
27 -- D1T : first derivative of the reference surface
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;
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
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;
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
52 nb_PPC(me) returns Integer;
54 ---C++: return const &
56 GetPPC(me; Index: Integer) returns PinpointConstraint;
57 -- "C style" Index : Index : 0 --> nb_PPC-1
59 ---C++: return const &
61 nb_LSC(me) returns Integer;
63 ---C++: return const &
65 LSC(me; Index: Integer) returns LinearScalarConstraint;
66 -- "C style" Index : Index : 0 --> nb_PPC-1
68 ---C++: return const &
74 nb_PPConstraints : Integer;
75 nb_LSConstraints : Integer;
76 myPPC : PinpointConstraint[5];
77 myLSC : LinearScalarConstraint[4];