summaryrefslogtreecommitdiff
path: root/inc/IntPatch_Line.lxx
blob: ae9f86e7f7d3b9b408a296fbb93d0687713701a7 (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
#include <Standard_DomainError.hxx>


inline void IntPatch_Line::SetValue (const Standard_Boolean Uiso1,
				     const Standard_Boolean Viso1,
				     const Standard_Boolean Uiso2,
				     const Standard_Boolean Viso2) {
  uS1 = Uiso1;
  vS1 = Viso1;
  uS2 = Uiso2;
  vS2 = Viso2;
}


inline IntPatch_IType IntPatch_Line::ArcType () const {
  return typ;
}

inline Standard_Boolean IntPatch_Line::IsTangent () const {

  return tg;
}


inline IntSurf_TypeTrans IntPatch_Line::TransitionOnS1 () const {

  return tS1;
}


inline IntSurf_TypeTrans IntPatch_Line::TransitionOnS2 () const {

  return tS2;
}


inline IntSurf_Situation IntPatch_Line::SituationS1 () const {

  if (tS1 != IntSurf_Touch) {Standard_DomainError::Raise();}
  return sit1;
}


inline IntSurf_Situation IntPatch_Line::SituationS2 () const {

  if (tS2 != IntSurf_Touch) {Standard_DomainError::Raise();}
  return sit2;
}


inline Standard_Boolean IntPatch_Line::IsUIsoOnS1 () const {

  return uS1;
}


inline Standard_Boolean IntPatch_Line::IsVIsoOnS1 () const {

  return vS1;
}


inline Standard_Boolean IntPatch_Line::IsUIsoOnS2 () const {

  return uS2;
}



inline Standard_Boolean IntPatch_Line::IsVIsoOnS2 () const {

  return vS2;
}