b311480e |
1 | -- Created on: 1992-05-27 |
2 | -- Created by: Remi LEQUETTE |
3 | -- Copyright (c) 1992-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 | class TFace1 from PBRep inherits TFace1 from PTopoDS |
18 | |
19 | ---Purpose: The TFace1 from PBRep is based on the TFace1 from |
20 | -- TopoDS. The TFace1 contains : |
21 | -- |
22 | -- * A surface, a tolerance, a location |
23 | -- |
24 | -- * A NaturalRestriction flag, when this flag is |
25 | -- True the boundary of the face is known to be the |
26 | -- parametric space (Umin, UMax, VMin, VMax). |
27 | |
28 | uses |
29 | Surface from PGeom, |
30 | Triangulation from PPoly, |
31 | Location from PTopLoc |
32 | |
33 | is |
34 | |
6e33d3ce |
35 | Create returns TFace1 from PBRep; |
7fd59977 |
36 | ---Purpose: Creates an empty TFace1. |
37 | ---Level: Internal |
38 | |
39 | |
40 | Surface(me) returns Surface from PGeom |
41 | is static; |
42 | ---Level: Internal |
43 | |
44 | Triangulation(me) returns any Triangulation from PPoly |
45 | is static; |
46 | ---Level: Internal |
47 | |
48 | Location(me) returns Location from PTopLoc |
49 | is static; |
50 | ---Level: Internal |
51 | |
52 | Tolerance(me) returns Real |
53 | is static; |
54 | ---Level: Internal |
55 | |
56 | Surface(me : mutable; S : Surface from PGeom) |
57 | is static; |
58 | ---Level: Internal |
59 | |
60 | Triangulation(me : mutable; T : Triangulation from PPoly) |
61 | is static; |
62 | ---Level: Internal |
63 | |
64 | Location(me : mutable; L : Location from PTopLoc) |
65 | is static; |
66 | ---Level: Internal |
67 | |
68 | Tolerance(me : mutable; T : Real) |
69 | is static; |
70 | ---Level: Internal |
71 | |
72 | NaturalRestriction(me) returns Boolean |
73 | is static; |
74 | ---Level: Internal |
75 | |
76 | NaturalRestriction(me : mutable; N : Boolean) |
77 | is static; |
78 | ---Level: Internal |
79 | |
80 | fields |
81 | |
82 | mySurface : Surface from PGeom; |
83 | myTriangulation : Triangulation from PPoly; |
84 | myLocation : Location from PTopLoc; |
85 | myTolerance : Real; |
86 | myNaturalRestriction : Boolean; |
87 | |
88 | end TFace1; |
89 | |