1 -- Created on: 1997-10-31
2 -- Created by: Joelle CHAUVET
3 -- Copyright (c) 1997-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
6 -- This file is part of Open CASCADE Technology software library.
8 -- This library is free software; you can redistribute it and/or modify it under
9 -- the terms of the GNU Lesser General Public License version 2.1 as published
10 -- by the Free Software Foundation, with special exception defined in the file
11 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 -- distribution for complete text of the license and disclaimer of any warranty.
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
17 class CurveConstraint from BRepFill inherits CurveConstraint from GeomPlate
18 ---Purpose: same as CurveConstraint from GeomPlate
19 -- with BRepAdaptor_Surface instead of
20 -- GeomAdaptor_Surface
26 HCurveOnSurface from Adaptor3d,
27 HCurve from Adaptor3d,
31 SLProps from GeomLProp
34 ConstructionError from Standard
37 Create (Boundary : HCurveOnSurface from Adaptor3d;
38 Order : Integer from Standard ;
39 NPt : Integer from Standard = 10;
40 TolDist : Real from Standard = 0.0001;
41 TolAng : Real from Standard = 0.01;
42 TolCurv : Real from Standard = 0.1
44 returns CurveConstraint from BRepFill
45 raises ConstructionError;
46 --purpose : if Order is not -1 , 0, 1, 2
48 --- Purpose: Create a constraint
49 -- Order is the order of the constraint. The possible values for order are -1,0,1,2.
50 -- Order i means constraints Gi
51 -- Npt is the number of points associated with the constraint.
52 -- TolDist is the maximum error to satisfy for G0 constraints
53 -- TolAng is the maximum error to satisfy for G1 constraints
54 -- TolCurv is the maximum error to satisfy for G2 constraints
55 -- These errors can be replaced by laws of criterion.
57 Create (Boundary : HCurve from Adaptor3d;
58 Tang : Integer from Standard;
59 NPt : Integer from Standard = 10;
60 TolDist : Real from Standard = 0.0001)
61 returns CurveConstraint from BRepFill
62 raises ConstructionError;
63 --purpose : if Order is not 0 or -1
64 -- Purpose: Create a constraint
65 -- Order is the order of the constraint. The possible values for order are -1,0.
66 -- Order i means constraints Gi
67 -- Npt is the number of points associated with the constraint.
68 -- TolDist is the maximum error to satisfy for G0 constraints
69 -- These errors can be replaced by laws of criterion.