blob: 6391698a6cb27fde6275867c4435f97a14f83f4b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
#include <Standard_DomainError.hxx>
inline void IntStart_PathPoint::SetValue (const gp_Pnt& P,
const Standard_Real Tol,
const TheVertex& V,
const TheArc& A,
const Standard_Real Parameter) {
isnew = Standard_False;
point = P;
tol = Tol;
vtx = V;
arc = A;
param = Parameter;
}
inline void IntStart_PathPoint::SetValue (const gp_Pnt& P,
const Standard_Real Tol,
const TheArc& A,
const Standard_Real Parameter) {
isnew = Standard_True;
point = P;
tol = Tol;
arc = A;
param = Parameter;
}
inline const gp_Pnt& IntStart_PathPoint::Value () const {
return point;
}
inline Standard_Real IntStart_PathPoint::Tolerance () const {
return tol;
}
inline Standard_Boolean IntStart_PathPoint::IsNew () const {
return isnew;
}
inline const TheVertex& IntStart_PathPoint::Vertex () const {
if (isnew) {Standard_DomainError::Raise ();}
return vtx;
}
inline const TheArc& IntStart_PathPoint::Arc () const {
return arc;
}
inline Standard_Real IntStart_PathPoint::Parameter () const {
return param;
}
|