summaryrefslogtreecommitdiff
path: root/inc/IntStart_SearchOnBoundaries.lxx
blob: 07c4099e6280684d70a785536daa9a83b65e5c6c (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
#include <StdFail_NotDone.hxx>


inline Standard_Boolean IntStart_SearchOnBoundaries::IsDone () const {

  return done;
}


inline Standard_Boolean IntStart_SearchOnBoundaries::AllArcSolution () const {

  if (!done) {StdFail_NotDone::Raise();}
  return all;
}


inline Standard_Integer IntStart_SearchOnBoundaries::NbPoints () const {

  if (!done) {StdFail_NotDone::Raise();}
  return spnt.Length();
}


inline const IntStart_ThePathPoint& IntStart_SearchOnBoundaries::Point 
  (const Standard_Integer Index) const {

  if (!done) {StdFail_NotDone::Raise();}
  return spnt.Value(Index);
}

inline Standard_Integer IntStart_SearchOnBoundaries::NbSegments () const {

  if (!done) {StdFail_NotDone::Raise();}
  return sseg.Length();
}


inline const IntStart_TheSegment& IntStart_SearchOnBoundaries::Segment
  (const Standard_Integer Index) const {

  if (!done) {StdFail_NotDone::Raise();}
  return sseg.Value(Index);
}