b311480e |
1 | -- Created on: 2001-02-08 |
2 | -- Created by: Peter KURNEV |
3 | -- Copyright (c) 2001-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 | |
22 | class Pave from BOPTools |
23 | |
24 | ---Purpose: |
25 | -- Class for storing info about a vertex on an edge |
26 | |
27 | uses |
28 | KindOfInterference from BooleanOperations |
29 | |
30 | is |
31 | Create |
32 | returns Pave from BOPTools; |
33 | ---Purpose: |
34 | --- Empty constructor |
35 | --- |
36 | Create (Index: Integer from Standard; |
37 | aParam:Real from Standard; |
38 | aType: KindOfInterference from BooleanOperations |
39 | =BooleanOperations_UnknownInterference) |
40 | returns Pave from BOPTools; |
41 | ---Purpose: |
42 | --- Constructor |
43 | --- Index - DS-index of the vertex |
44 | --- aParam - value of the parameter of the vertex on an edge |
45 | --- aType - the type of interference from which the pave comes from |
46 | --- |
47 | SetParam (me:out; aParam:Real from Standard); |
48 | ---Purpose: |
49 | --- Modifier |
50 | --- |
51 | SetIndex (me:out; Index: Integer from Standard); |
52 | ---Purpose: |
53 | --- Modifier |
54 | --- |
55 | SetType (me:out; aType:KindOfInterference from BooleanOperations); |
56 | ---Purpose: |
57 | --- Modifier |
58 | --- |
59 | SetInterference (me:out; Index: Integer from Standard); |
60 | ---Purpose: |
61 | --- Modifier |
62 | --- Sets the index of the interference in corresponding table |
63 | --- |
64 | Param (me) |
65 | returns Real from Standard; |
66 | ---Purpose: |
67 | --- Selector |
68 | --- |
69 | Index (me) |
70 | returns Integer from Standard; |
71 | ---Purpose: |
72 | --- Selector |
73 | --- |
74 | Type (me) |
75 | returns KindOfInterference from BooleanOperations; |
76 | ---Purpose: |
77 | --- Selector |
78 | --- |
79 | Interference(me) |
80 | returns Integer from Standard; |
81 | ---Purpose: |
82 | --- Selector |
83 | --- |
84 | IsEqual(me; Other:Pave from BOPTools) |
85 | returns Boolean from Standard; |
86 | ---Purpose: |
87 | --- Returns TRUE if <Other>==me |
88 | --- |
89 | fields |
90 | myParam: Real from Standard; |
91 | myIndex: Integer from Standard; |
92 | myType : KindOfInterference from BooleanOperations; |
93 | myInterf: Integer from Standard; |
94 | end Pave; |
95 | |
96 | |