mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-22 04:37:23 +08:00
44 lines
886 B
Plaintext
Executable File
44 lines
886 B
Plaintext
Executable File
-- File: Plate_PinpointConstraint.cdl
|
|
-- Created: Thu Oct 19 17:24:04 1995
|
|
-- Author: Andre LIEUTIER
|
|
-- <ds@sgi63>
|
|
---Copyright: Matra Datavision 1995
|
|
|
|
class PinpointConstraint from Plate
|
|
---Purpose : define a constraint on the Plate
|
|
--
|
|
|
|
uses
|
|
XY from gp,
|
|
XYZ from gp
|
|
|
|
is
|
|
Create returns PinpointConstraint;
|
|
Create(point2d : XY ; ImposedValue : XYZ ;
|
|
iu : Integer = 0; iv : Integer = 0) returns PinpointConstraint;
|
|
|
|
-- Accessors :
|
|
Pnt2d(me) returns XY from gp;
|
|
---C++: inline
|
|
---C++: return const &
|
|
|
|
Idu(me) returns Integer;
|
|
---C++: inline
|
|
---C++: return const &
|
|
|
|
Idv(me) returns Integer;
|
|
---C++: inline
|
|
---C++: return const &
|
|
|
|
Value(me) returns XYZ from gp;
|
|
---C++: inline
|
|
---C++: return const &
|
|
|
|
fields
|
|
|
|
value : XYZ ;
|
|
pnt2d : XY ;
|
|
idu,idv : Integer;
|
|
|
|
end;
|