b311480e |
1 | -- Created on: 1992-08-21 |
2 | -- Created by: Christophe MARION |
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 BiPnt2D from HLRBRep |
18 | |
19 | ---Purpose: Contains the colors of a shape. |
20 | |
21 | uses |
22 | Boolean from Standard, |
23 | Real from Standard, |
24 | Pnt2d from gp, |
25 | Shape from TopoDS |
26 | |
27 | is |
28 | Create |
29 | returns BiPnt2D from HLRBRep; |
30 | |
31 | Create(x1,y1,x2,y2 : Real from Standard; |
32 | S : Shape from TopoDS; |
33 | reg1,regn,outl,intl : Boolean from Standard) |
34 | returns BiPnt2D from HLRBRep; |
35 | |
36 | P1(me) returns Pnt2d from gp |
37 | ---C++: inline |
38 | ---C++: return const & |
39 | is static; |
40 | |
41 | P2(me) returns Pnt2d from gp |
42 | ---C++: inline |
43 | ---C++: return const & |
44 | is static; |
45 | |
46 | Shape(me) returns Shape from TopoDS |
47 | ---C++: inline |
48 | ---C++: return const & |
49 | is static; |
50 | |
51 | Shape(me : in out; S : Shape from TopoDS) |
52 | ---C++: inline |
53 | is static; |
54 | |
55 | Rg1Line(me) returns Boolean from Standard |
56 | ---C++: inline |
57 | is static; |
58 | |
59 | Rg1Line(me : in out; B : Boolean from Standard) |
60 | ---C++: inline |
61 | is static; |
62 | |
63 | RgNLine(me) returns Boolean from Standard |
64 | ---C++: inline |
65 | is static; |
66 | |
67 | RgNLine(me : in out; B : Boolean from Standard) |
68 | ---C++: inline |
69 | is static; |
70 | |
71 | OutLine(me) returns Boolean from Standard |
72 | ---C++: inline |
73 | is static; |
74 | |
75 | OutLine(me : in out; B : Boolean from Standard) |
76 | ---C++: inline |
77 | is static; |
78 | |
79 | IntLine(me) returns Boolean from Standard |
80 | ---C++: inline |
81 | is static; |
82 | |
83 | IntLine(me : in out; B : Boolean from Standard) |
84 | ---C++: inline |
85 | is static; |
86 | |
87 | fields |
88 | myP1 : Pnt2d from gp; |
89 | myP2 : Pnt2d from gp; |
90 | myShape : Shape from TopoDS; |
91 | myFlags : Boolean from Standard; |
92 | |
93 | end BiPnt2D; |