b311480e |
1 | -- Created on: 1992-10-22 |
2 | -- Created by: Jacques GOUSSARD |
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 | generic class PathPoint from IntStart |
18 | (TheVertex as any; |
19 | TheArc as any) |
20 | |
21 | ---Purpose: This class describes a point on an arc which |
22 | -- solution intersection between 2 surfaces. |
23 | |
24 | uses Pnt from gp, |
25 | Vec from gp, |
26 | Dir2d from gp |
27 | |
28 | raises DomainError from Standard |
29 | |
30 | is |
31 | |
32 | Create |
33 | |
34 | returns PathPoint from IntStart; |
35 | |
36 | |
37 | Create(P: Pnt from gp; Tol: Real from Standard; |
38 | V: TheVertex; A: TheArc; Parameter: Real from Standard) |
39 | |
40 | returns PathPoint from IntStart; |
41 | |
42 | |
43 | Create(P: Pnt from gp; Tol: Real from Standard; |
44 | A: TheArc; Parameter: Real from Standard) |
45 | |
46 | returns PathPoint from IntStart; |
47 | |
48 | |
49 | SetValue(me: in out; P: Pnt from gp; Tol: Real from Standard; |
50 | V: TheVertex; A: TheArc; |
51 | Parameter: Real from Standard) |
52 | |
53 | ---C++: inline |
54 | |
55 | is static; |
56 | |
57 | |
58 | SetValue(me: in out; P: Pnt from gp; Tol: Real from Standard; |
59 | A: TheArc; Parameter: Real from Standard) |
60 | |
61 | ---C++: inline |
62 | |
63 | is static; |
64 | |
65 | |
66 | Value(me) |
67 | |
68 | returns Pnt from gp |
69 | ---C++: return const& |
70 | ---C++: inline |
71 | |
72 | is static; |
73 | |
74 | |
75 | Tolerance(me) |
76 | |
77 | returns Real from Standard |
78 | ---C++: inline |
79 | |
80 | is static; |
81 | |
82 | |
83 | IsNew(me) |
84 | |
85 | returns Boolean from Standard |
86 | ---C++: inline |
87 | |
88 | is static; |
89 | |
90 | |
91 | Vertex(me) |
92 | |
93 | returns any TheVertex |
94 | ---C++: return const& |
95 | ---C++: inline |
96 | |
97 | raises DomainError from Standard |
98 | is static; |
99 | |
100 | |
101 | Arc(me) |
102 | |
103 | returns any TheArc |
104 | ---C++: return const& |
105 | ---C++: inline |
106 | |
107 | is static; |
108 | |
109 | |
110 | Parameter(me) |
111 | |
112 | returns Real from Standard |
113 | ---C++: inline |
114 | |
115 | raises DomainError from Standard |
116 | is static; |
117 | |
118 | fields |
119 | |
120 | point : Pnt from gp; |
121 | tol : Real from Standard; |
122 | isnew : Boolean from Standard; |
123 | vtx : TheVertex; |
124 | arc : TheArc; |
125 | param : Real from Standard; |
126 | |
127 | end PathPoint; |