summaryrefslogtreecommitdiff
path: root/inc/BRepBlend_RstRstLineBuilder.lxx
blob: d2355a0918bda51c5acc791c29a44bc882902326 (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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
// File:	BRepBlend_RstRstLineBuilder.lxx
// Created:	Fri Jan 24 10:47:10 1997
// Author:	Laurent BOURESCHE
//		<lbo@pomalox.paris1.matra-dtv.fr>

#include <StdFail_NotDone.hxx>
//=======================================================================
//function : IsDone
//purpose  : 
//=======================================================================

inline Standard_Boolean BRepBlend_RstRstLineBuilder::IsDone() const
{
  return done;
}

//=======================================================================
//function : Line
//purpose  : 
//=======================================================================

inline const Handle(BRepBlend_Line)& BRepBlend_RstRstLineBuilder::Line() const
{
  if (!done) {StdFail_NotDone::Raise();}
  return line;
}


//=======================================================================
//function : Decroch1Start
//purpose  : 
//=======================================================================

inline Standard_Boolean BRepBlend_RstRstLineBuilder::Decroch1Start() const
{
  if (decrochdeb == Blend_DecrochRst1 
      || decrochdeb == Blend_DecrochBoth)  return Standard_True;

  return Standard_False; 
}


//=======================================================================
//function : Decroch1End
//purpose  : 
//=======================================================================

inline Standard_Boolean BRepBlend_RstRstLineBuilder::Decroch1End() const
{
  if (decrochfin == Blend_DecrochRst1 
      || decrochfin == Blend_DecrochBoth)  return Standard_True;

  return Standard_False;
}

//=======================================================================
//function : Decroch2Start
//purpose  : 
//=======================================================================

inline Standard_Boolean BRepBlend_RstRstLineBuilder::Decroch2Start() const
{
  if (decrochdeb == Blend_DecrochRst2 
      || decrochdeb == Blend_DecrochBoth)  return Standard_True;

  return Standard_False; 
}


//=======================================================================
//function : Decroch2End
//purpose  : 
//=======================================================================

inline Standard_Boolean BRepBlend_RstRstLineBuilder::Decroch2End() const
{
  if (decrochfin == Blend_DecrochRst2 
      || decrochfin == Blend_DecrochBoth)  return Standard_True;

  return Standard_False;
}