7fd59977 |
1 | #include <StdFail_NotDone.hxx> |
2 | |
3 | |
4 | inline Standard_Boolean IntStart_SearchOnBoundaries::IsDone () const { |
5 | |
6 | return done; |
7 | } |
8 | |
9 | |
10 | inline Standard_Boolean IntStart_SearchOnBoundaries::AllArcSolution () const { |
11 | |
12 | if (!done) {StdFail_NotDone::Raise();} |
13 | return all; |
14 | } |
15 | |
16 | |
17 | inline Standard_Integer IntStart_SearchOnBoundaries::NbPoints () const { |
18 | |
19 | if (!done) {StdFail_NotDone::Raise();} |
20 | return spnt.Length(); |
21 | } |
22 | |
23 | |
24 | inline const IntStart_ThePathPoint& IntStart_SearchOnBoundaries::Point |
25 | (const Standard_Integer Index) const { |
26 | |
27 | if (!done) {StdFail_NotDone::Raise();} |
28 | return spnt.Value(Index); |
29 | } |
30 | |
31 | inline Standard_Integer IntStart_SearchOnBoundaries::NbSegments () const { |
32 | |
33 | if (!done) {StdFail_NotDone::Raise();} |
34 | return sseg.Length(); |
35 | } |
36 | |
37 | |
38 | inline const IntStart_TheSegment& IntStart_SearchOnBoundaries::Segment |
39 | (const Standard_Integer Index) const { |
40 | |
41 | if (!done) {StdFail_NotDone::Raise();} |
42 | return sseg.Value(Index); |
43 | } |
44 | |