1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00
Files
occt/src/Plate/Plate_FreeGtoCConstraint.cdl
bugmaster b311480ed5 0023024: Update headers of OCCT files
Added appropriate copyright and license information in source files
2012-03-21 19:43:04 +04:00

96 lines
3.4 KiB
Plaintext
Executable File

-- Created on: 1998-03-26
-- Created by: # Andre LIEUTIER
-- Copyright (c) 1998-1999 Matra Datavision
-- Copyright (c) 1999-2012 OPEN CASCADE SAS
--
-- The content of this file is subject to the Open CASCADE Technology Public
-- License Version 6.5 (the "License"). You may not use the content of this file
-- except in compliance with the License. Please obtain a copy of the License
-- at http://www.opencascade.org and read it completely before using this file.
--
-- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
-- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
--
-- The Original Code and all software distributed under the License is
-- distributed on an "AS IS" basis, without warranty of any kind, and the
-- Initial Developer hereby disclaims all such warranties, including without
-- limitation, any warranties of merchantability, fitness for a particular
-- purpose or non-infringement. Please see the License for the specific terms
-- and conditions governing the rights and limitations under the License.
class FreeGtoCConstraint from Plate
---Purpose: define a G1, G2 or G3 constraint on the Plate using weaker
-- constraint than GtoCConstraint
--
uses
XY from gp,
XYZ from gp,
D1 from Plate,
D2 from Plate,
D3 from Plate,
PinpointConstraint from Plate,
LinearScalarConstraint from Plate
is
Create(point2d : XY ; D1S , D1T : D1 from Plate;
IncrementalLoad: Real =1.0; orientation: Integer = 0 ) returns FreeGtoCConstraint;
-- G1 constraint:
-- D1S : first derivative of S, the surface we want to correct
-- D1T : first derivative of the reference surface
Create(point2d : XY from gp; D1S , D1T : D1 from Plate;
D2S, D2T : D2 from Plate;
IncrementalLoad: Real =1.0; orientation: Integer = 0 ) returns FreeGtoCConstraint;
-- G2 constraint:
-- D1S : first derivative of S, the surface we want to correct
-- D1T : first derivative of the reference surface
-- D2S : second derivative of S, the surface we want to correct
-- D2T : second derivative of the reference surface
Create(point2d : XY from gp; D1S , D1T : D1 from Plate;
D2S, D2T : D2 from Plate;
D3S, D3T : D3 from Plate;
IncrementalLoad: Real =1.0; orientation: Integer = 0 ) returns FreeGtoCConstraint;
-- G3 constraint:
-- D1S : first derivative of S, the surface we want to correct
-- D1T : first derivative of the reference surface
-- D2S : second derivative of S, the surface we want to correct
-- D2T : second derivative of the reference surface
-- D3S : third derivative of S, the surface we want to correct
-- D3T : third derivative of the reference surface
-- Accessors :
nb_PPC(me) returns Integer;
---C++: inline
---C++: return const &
GetPPC(me; Index: Integer) returns PinpointConstraint;
-- "C style" Index : Index : 0 --> nb_PPC-1
---C++: inline
---C++: return const &
nb_LSC(me) returns Integer;
---C++: inline
---C++: return const &
LSC(me; Index: Integer) returns LinearScalarConstraint;
-- "C style" Index : Index : 0 --> nb_PPC-1
---C++: inline
---C++: return const &
fields
pnt2d : XY ;
nb_PPConstraints : Integer;
nb_LSConstraints : Integer;
myPPC : PinpointConstraint[5];
myLSC : LinearScalarConstraint[4];
end;