b311480e |
1 | -- Created on: 1995-10-17 |
2 | -- Created by: Laurent BOURESCHE |
3 | -- Copyright (c) 1995-1999 Matra Datavision |
973c2be1 |
4 | -- Copyright (c) 1999-2014 OPEN CASCADE SAS |
b311480e |
5 | -- |
973c2be1 |
6 | -- This file is part of Open CASCADE Technology software library. |
b311480e |
7 | -- |
d5f74e42 |
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 |
973c2be1 |
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. |
b311480e |
13 | -- |
973c2be1 |
14 | -- Alternatively, this file may be used under the terms of Open CASCADE |
15 | -- commercial license or contractual agreement. |
7fd59977 |
16 | |
17 | deferred class Boundary from GeomFill inherits TShared from MMgt |
18 | |
19 | ---Purpose: Root class to define a boundary which will form part of a |
20 | -- contour around a gap requiring filling. |
ff8178ef |
21 | -- Any new type of constrained boundary must inherit this class. |
7fd59977 |
22 | -- The GeomFill package provides two classes to define constrained boundaries: |
23 | -- - GeomFill_SimpleBound to define an unattached boundary |
24 | -- - GeomFill_BoundWithSurf to define a boundary attached to a surface. |
25 | -- These objects are used to define the boundaries for a |
26 | -- GeomFill_ConstrainedFilling framework. |
27 | |
28 | uses |
29 | Pnt from gp, |
30 | Vec from gp |
31 | |
32 | is |
33 | |
34 | Initialize(Tol3d : Real from Standard; |
35 | Tolang : Real from Standard); |
36 | |
37 | Value(me; |
38 | U : Real from Standard) |
39 | returns Pnt from gp |
40 | is deferred; |
41 | |
42 | D1(me; |
43 | U : Real from Standard; |
44 | P : out Pnt from gp; |
45 | V : out Vec from gp) |
46 | is deferred; |
47 | |
48 | HasNormals(me) |
49 | returns Boolean from Standard |
50 | is virtual; |
51 | |
52 | -- the methods giving informations about normals are implemented |
53 | -- with a raise. |
54 | -- use a call to HasNormals before calling Norm or D1Norm. |
55 | Norm(me; |
56 | U : Real from Standard) |
57 | returns Vec from gp |
58 | is virtual; |
59 | |
60 | D1Norm(me; |
61 | U : Real from Standard; |
62 | N : out Vec from gp; |
63 | DN : out Vec from gp) |
64 | is virtual; |
65 | |
66 | Reparametrize(me : mutable; |
67 | First, Last : Real from Standard; |
68 | HasDF, HasDL : Boolean from Standard; |
69 | DF, DL : Real from Standard; |
70 | Rev : Boolean from Standard) |
71 | is deferred; |
72 | |
73 | Points(me; PFirst, PLast : out Pnt from gp); |
74 | |
75 | Bounds(me; First, Last : out Real from Standard) |
76 | is deferred; |
77 | |
78 | IsDegenerated(me) |
79 | returns Boolean from Standard |
80 | is deferred; |
81 | |
82 | Tol3d(me) returns Real from Standard; |
83 | |
84 | Tol3d(me : mutable; |
85 | Tol : Real from Standard); |
86 | |
87 | Tolang(me) returns Real from Standard; |
88 | |
89 | Tolang(me : mutable; |
90 | Tol : Real from Standard); |
91 | |
92 | fields |
93 | |
94 | myT3d : Real from Standard; |
95 | myTang : Real from Standard; |
96 | |
97 | end Boundary; |