0029590: Coding - avoid usage of Standard_EXPORT attribute for inline methods
[occt.git] / src / GeomInt / GeomInt_ParameterAndOrientation.cxx
... / ...
CommitLineData
1// Created on: 1995-02-08
2// Created by: Jacques GOUSSARD
3// Copyright (c) 1995-1999 Matra Datavision
4// Copyright (c) 1999-2014 OPEN CASCADE SAS
5//
6// This file is part of Open CASCADE Technology software library.
7//
8// This library is free software; you can redistribute it and/or modify it under
9// the terms of the GNU Lesser General Public License version 2.1 as published
10// by the Free Software Foundation, with special exception defined in the file
11// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12// distribution for complete text of the license and disclaimer of any warranty.
13//
14// Alternatively, this file may be used under the terms of Open CASCADE
15// commercial license or contractual agreement.
16
17
18#include <GeomInt_ParameterAndOrientation.hxx>
19
20//=======================================================================
21//function : GeomInt_ParameterAndOrientation
22//purpose :
23//=======================================================================
24GeomInt_ParameterAndOrientation::GeomInt_ParameterAndOrientation() :
25 prm(0.0),or1(TopAbs_FORWARD),or2(TopAbs_FORWARD)
26{}
27
28
29
30//=======================================================================
31//function : GeomInt_ParameterAndOrientation
32//purpose :
33//=======================================================================
34 GeomInt_ParameterAndOrientation::GeomInt_ParameterAndOrientation
35 (const Standard_Real P,
36 const TopAbs_Orientation Or1,
37 const TopAbs_Orientation Or2) : prm(P), or1(Or1), or2(Or2)
38{}
39
40
41
42//=======================================================================
43//function : SetOrientation1
44//purpose :
45//=======================================================================
46 void GeomInt_ParameterAndOrientation::SetOrientation1
47 (const TopAbs_Orientation Or1)
48{
49 or1 = Or1;
50}
51
52
53//=======================================================================
54//function : SetOrientation2
55//purpose :
56//=======================================================================
57 void GeomInt_ParameterAndOrientation::SetOrientation2
58 (const TopAbs_Orientation Or2)
59{
60 or2 = Or2;
61}
62
63
64//=======================================================================
65//function : Parameter
66//purpose :
67//=======================================================================
68 Standard_Real GeomInt_ParameterAndOrientation::Parameter () const
69{
70 return prm;
71}
72
73
74//=======================================================================
75//function : Orientation1
76//purpose :
77//=======================================================================
78 TopAbs_Orientation GeomInt_ParameterAndOrientation::Orientation1 () const
79{
80 return or1;
81}
82
83
84//=======================================================================
85//function : Orientation2
86//purpose :
87//=======================================================================
88 TopAbs_Orientation GeomInt_ParameterAndOrientation::Orientation2 () const
89{
90 return or2;
91}
92
93