b311480e |
1 | -- Created on: 2008-10-31 |
2 | -- Created by: EPA |
3 | -- Copyright (c) 2008-2012 OPEN CASCADE SAS |
4 | -- |
5 | -- The content of this file is subject to the Open CASCADE Technology Public |
6 | -- License Version 6.5 (the "License"). You may not use the content of this file |
7 | -- except in compliance with the License. Please obtain a copy of the License |
8 | -- at http://www.opencascade.org and read it completely before using this file. |
9 | -- |
10 | -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its |
11 | -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France. |
12 | -- |
13 | -- The Original Code and all software distributed under the License is |
14 | -- distributed on an "AS IS" basis, without warranty of any kind, and the |
15 | -- Initial Developer hereby disclaims all such warranties, including without |
16 | -- limitation, any warranties of merchantability, fitness for a particular |
17 | -- purpose or non-infringement. Please see the License for the specific terms |
18 | -- and conditions governing the rights and limitations under the License. |
19 | |
7fd59977 |
20 | |
21 | class FaceAttribute from BRepMesh inherits TShared from MMgt |
22 | |
23 | ---Purpose: auxiliary class for FastDiscret and FastDiscretFace classes |
24 | |
25 | uses |
26 | Real from Standard, |
27 | Address from Standard, |
28 | ClassifierPtr from BRepMesh |
29 | |
30 | is |
31 | |
32 | Create returns mutable FaceAttribute from BRepMesh; |
33 | |
34 | GetDefFace(me:mutable) returns Real; |
35 | ---C++: return & |
36 | ---C++: inline |
37 | |
38 | GetUMin(me:mutable) returns Real; |
39 | ---C++: return & |
40 | ---C++: inline |
41 | |
42 | GetVMin(me:mutable) returns Real; |
43 | ---C++: return & |
44 | ---C++: inline |
45 | |
46 | GetUMax(me:mutable) returns Real; |
47 | ---C++: return & |
48 | ---C++: inline |
49 | |
50 | GetVMax(me:mutable) returns Real; |
51 | ---C++: return & |
52 | ---C++: inline |
53 | |
54 | GetDeltaX(me:mutable) returns Real; |
55 | ---C++: return & |
56 | ---C++: inline |
57 | |
58 | GetDeltaY(me:mutable) returns Real; |
59 | ---C++: return & |
60 | ---C++: inline |
61 | |
62 | GetMinX(me:mutable) returns Real; |
63 | ---C++: return & |
64 | ---C++: inline |
65 | |
66 | GetMinY(me:mutable) returns Real; |
67 | ---C++: return & |
68 | ---C++: inline |
69 | |
70 | GetClassifier(me:mutable) returns ClassifierPtr from BRepMesh; |
71 | ---C++: return & |
72 | ---C++: inline |
73 | |
74 | fields |
75 | mydefface : Real from Standard; |
76 | myumin : Real from Standard; |
77 | myumax : Real from Standard; |
78 | myvmin : Real from Standard; |
79 | myvmax : Real from Standard; |
80 | mydeltaX : Real from Standard; |
81 | mydeltaY : Real from Standard; |
82 | myminX : Real from Standard; |
83 | myminY : Real from Standard; |
84 | myclassifier: ClassifierPtr from BRepMesh; |
85 | |
86 | end FaceAttribute; |