1 -- File: BRepFill_CurveConstraint.cdl
2 -- Created: Fri Oct 31 10:54:23 1997
3 -- Author: Joelle CHAUVET
5 ---Copyright: Matra Datavision 1997
7 class CurveConstraint from BRepFill inherits CurveConstraint from GeomPlate
13 HCurveOnSurface from Adaptor3d,
14 HCurve from Adaptor3d,
18 SLProps from GeomLProp
21 ConstructionError from Standard
24 Create (Boundary : HCurveOnSurface from Adaptor3d;
25 Order : Integer from Standard ;
26 NPt : Integer from Standard = 10;
27 TolDist : Real from Standard = 0.0001;
28 TolAng : Real from Standard = 0.01;
29 TolCurv : Real from Standard = 0.1
31 returns CurveConstraint from BRepFill
32 raises ConstructionError;
33 --purpose : if Order is not -1 , 0, 1, 2
35 --- Purpose: Create a constraint
36 -- Order is the order of the constraint. The possible values for order are -1,0,1,2.
37 -- Order i means constraints Gi
38 -- Npt is the number of points associated with the constraint.
39 -- TolDist is the maximum error to satisfy for G0 constraints
40 -- TolAng is the maximum error to satisfy for G1 constraints
41 -- TolCurv is the maximum error to satisfy for G2 constraints
42 -- These errors can be replaced by laws of criterion.
44 Create (Boundary : HCurve from Adaptor3d;
45 Tang : Integer from Standard;
46 NPt : Integer from Standard = 10;
47 TolDist : Real from Standard = 0.0001)
48 returns CurveConstraint from BRepFill
49 raises ConstructionError;
50 --purpose : if Order is not 0 or -1
51 -- Purpose: Create a constraint
52 -- Order is the order of the constraint. The possible values for order are -1,0.
53 -- Order i means constraints Gi
54 -- Npt is the number of points associated with the constraint.
55 -- TolDist is the maximum error to satisfy for G0 constraints
56 -- These errors can be replaced by laws of criterion.