0026603: Problem with maximization and normalization document windows in Qt samples...
[occt.git] / src / Adaptor2d / Adaptor2d_OffsetCurve.lxx
1 // Copyright (c) 1999-2014 OPEN CASCADE SAS
2 //
3 // This file is part of Open CASCADE Technology software library.
4 //
5 // This library is free software; you can redistribute it and/or modify it under
6 // the terms of the GNU Lesser General Public License version 2.1 as published
7 // by the Free Software Foundation, with special exception defined in the file
8 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
9 // distribution for complete text of the license and disclaimer of any warranty.
10 //
11 // Alternatively, this file may be used under the terms of Open CASCADE
12 // commercial license or contractual agreement.
13
14 //=======================================================================
15 //function : Curve
16 //purpose  : 
17 //=======================================================================
18
19 inline const Handle(Adaptor2d_HCurve2d)& Adaptor2d_OffsetCurve::Curve() const
20 {
21   return myCurve;
22 }
23
24
25 //=======================================================================
26 //function : Offset
27 //purpose  : 
28 //=======================================================================
29
30 inline Standard_Real Adaptor2d_OffsetCurve::Offset() const
31 {
32   return myOffset;
33 }
34
35
36 //=======================================================================
37 //function : FirstParameter
38 //purpose  : 
39 //=======================================================================
40
41 inline Standard_Real Adaptor2d_OffsetCurve::FirstParameter() const 
42 {
43   return myFirst;
44 }
45
46 //=======================================================================
47 //function : LastParameter
48 //purpose  : 
49 //=======================================================================
50
51 inline Standard_Real Adaptor2d_OffsetCurve::LastParameter() const 
52 {
53   return myLast;
54 }