b311480e |
1 | -- Created on: 2002-03-04 |
2 | -- Created by: Michael KLOKOV |
973c2be1 |
3 | -- Copyright (c) 2002-2014 OPEN CASCADE SAS |
b311480e |
4 | -- |
973c2be1 |
5 | -- This file is part of Open CASCADE Technology software library. |
b311480e |
6 | -- |
973c2be1 |
7 | -- This library is free software; you can redistribute it and / or modify it |
8 | -- under the terms of the GNU Lesser General Public version 2.1 as published |
9 | -- by the Free Software Foundation, with special exception defined in the file |
10 | -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
11 | -- distribution for complete text of the license and disclaimer of any warranty. |
b311480e |
12 | -- |
973c2be1 |
13 | -- Alternatively, this file may be used under the terms of Open CASCADE |
14 | -- commercial license or contractual agreement. |
7fd59977 |
15 | |
4e57c75e |
16 | class SectionAttribute from BOPAlgo |
17 | ---Purpose: Class is a container of three flags used |
18 | --- by intersection algorithm |
19 | --- |
7fd59977 |
20 | |
21 | is |
22 | |
23 | Create(Aproximation : Boolean from Standard = Standard_True; |
4e57c75e |
24 | PCurveOnS1 : Boolean from Standard = Standard_True; |
25 | PCurveOnS2 : Boolean from Standard = Standard_True) |
26 | returns SectionAttribute from BOPAlgo; |
27 | ---Purpose: |
28 | --- Initializes me by flags |
7fd59977 |
29 | |
30 | Approximation(me: in out; theFlag: Boolean from Standard); |
4e57c75e |
31 | ---Purpose: |
32 | --- Modifier |
33 | --- |
7fd59977 |
34 | |
35 | PCurveOnS1(me: in out; theFlag: Boolean from Standard); |
4e57c75e |
36 | ---Purpose: |
37 | --- Modifier |
38 | --- |
7fd59977 |
39 | |
40 | PCurveOnS2(me: in out; theFlag: Boolean from Standard); |
4e57c75e |
41 | ---Purpose: |
42 | --- Modifier |
43 | --- |
7fd59977 |
44 | |
45 | Approximation(me) |
4e57c75e |
46 | returns Boolean from Standard; |
47 | ---C++: inline |
48 | ---Purpose: |
49 | --- Selector |
50 | --- |
7fd59977 |
51 | |
52 | PCurveOnS1(me) |
4e57c75e |
53 | returns Boolean from Standard; |
54 | ---C++: inline |
55 | ---Purpose: |
56 | --- Selector |
57 | --- |
7fd59977 |
58 | |
59 | PCurveOnS2(me) |
4e57c75e |
60 | returns Boolean from Standard; |
61 | ---C++: inline |
62 | ---Purpose: |
63 | --- Selector |
64 | --- |
7fd59977 |
65 | |
66 | fields |
67 | myApproximation : Boolean from Standard; |
68 | myPCurve1 : Boolean from Standard; |
69 | myPCurve2 : Boolean from Standard; |
70 | |
4e57c75e |
71 | end SectionAttribute from BOPAlgo; |