summaryrefslogtreecommitdiff
path: root/src/GeomInt/GeomInt_ParameterAndOrientation.cxx
blob: 6fb14fed7780c311ab4dc72f46d1bc663e0866f1 (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
82
83
// File:	GeomInt_ParameterAndOrientation.cxx
// Created:	Wed Feb  8 09:37:12 1995
// Author:	Jacques GOUSSARD
//		<jag@topsn2>


#include <GeomInt_ParameterAndOrientation.ixx>


//=======================================================================
//function : GeomInt_ParameterAndOrientation
//purpose  : 
//=======================================================================
  GeomInt_ParameterAndOrientation::GeomInt_ParameterAndOrientation() :
  prm(0.0),or1(TopAbs_FORWARD),or2(TopAbs_FORWARD)
{}



//=======================================================================
//function : GeomInt_ParameterAndOrientation
//purpose  : 
//=======================================================================
  GeomInt_ParameterAndOrientation::GeomInt_ParameterAndOrientation
   (const Standard_Real P,
    const TopAbs_Orientation Or1,
    const TopAbs_Orientation Or2) : prm(P), or1(Or1), or2(Or2)
{}



//=======================================================================
//function : SetOrientation1
//purpose  : 
//=======================================================================
  void GeomInt_ParameterAndOrientation::SetOrientation1
   (const TopAbs_Orientation Or1)
{
  or1 = Or1;
}


//=======================================================================
//function : SetOrientation2
//purpose  : 
//=======================================================================
  void GeomInt_ParameterAndOrientation::SetOrientation2
   (const TopAbs_Orientation Or2)
{
  or2 = Or2;
}


//=======================================================================
//function : Parameter
//purpose  : 
//=======================================================================
  Standard_Real GeomInt_ParameterAndOrientation::Parameter () const
{
  return prm;
}


//=======================================================================
//function : Orientation1
//purpose  : 
//=======================================================================
  TopAbs_Orientation GeomInt_ParameterAndOrientation::Orientation1 () const
{
  return or1;
}


//=======================================================================
//function : Orientation2
//purpose  : 
//=======================================================================
  TopAbs_Orientation GeomInt_ParameterAndOrientation::Orientation2 () const
{
  return or2;
}