7fd59977 |
1 | -- File: GeomFill_Boundary.cdl |
2 | -- Created: Tue Oct 17 14:45:36 1995 |
3 | -- Author: Laurent BOURESCHE |
4 | -- <lbo@phylox> |
5 | ---Copyright: Matra Datavision 1995 |
6 | |
7 | |
8 | deferred class Boundary from GeomFill inherits TShared from MMgt |
9 | |
10 | ---Purpose: Root class to define a boundary which will form part of a |
11 | -- contour around a gap requiring filling. |
12 | -- The GeomFill package provides two classes to define constrained boundaries: |
13 | -- - GeomFill_SimpleBound to define an unattached boundary |
14 | -- - GeomFill_BoundWithSurf to define a boundary attached to a surface. |
15 | -- These objects are used to define the boundaries for a |
16 | -- GeomFill_ConstrainedFilling framework. |
17 | |
18 | uses |
19 | Pnt from gp, |
20 | Vec from gp |
21 | |
22 | is |
23 | |
24 | Initialize(Tol3d : Real from Standard; |
25 | Tolang : Real from Standard); |
26 | |
27 | Value(me; |
28 | U : Real from Standard) |
29 | returns Pnt from gp |
30 | is deferred; |
31 | |
32 | D1(me; |
33 | U : Real from Standard; |
34 | P : out Pnt from gp; |
35 | V : out Vec from gp) |
36 | is deferred; |
37 | |
38 | HasNormals(me) |
39 | returns Boolean from Standard |
40 | is virtual; |
41 | |
42 | -- the methods giving informations about normals are implemented |
43 | -- with a raise. |
44 | -- use a call to HasNormals before calling Norm or D1Norm. |
45 | Norm(me; |
46 | U : Real from Standard) |
47 | returns Vec from gp |
48 | is virtual; |
49 | |
50 | D1Norm(me; |
51 | U : Real from Standard; |
52 | N : out Vec from gp; |
53 | DN : out Vec from gp) |
54 | is virtual; |
55 | |
56 | Reparametrize(me : mutable; |
57 | First, Last : Real from Standard; |
58 | HasDF, HasDL : Boolean from Standard; |
59 | DF, DL : Real from Standard; |
60 | Rev : Boolean from Standard) |
61 | is deferred; |
62 | |
63 | Points(me; PFirst, PLast : out Pnt from gp); |
64 | |
65 | Bounds(me; First, Last : out Real from Standard) |
66 | is deferred; |
67 | |
68 | IsDegenerated(me) |
69 | returns Boolean from Standard |
70 | is deferred; |
71 | |
72 | Tol3d(me) returns Real from Standard; |
73 | |
74 | Tol3d(me : mutable; |
75 | Tol : Real from Standard); |
76 | |
77 | Tolang(me) returns Real from Standard; |
78 | |
79 | Tolang(me : mutable; |
80 | Tol : Real from Standard); |
81 | |
82 | fields |
83 | |
84 | myT3d : Real from Standard; |
85 | myTang : Real from Standard; |
86 | |
87 | end Boundary; |