0024428: Implementation of LGPL license
[occt.git] / src / Adaptor3d / Adaptor3d_OffsetCurve.lxx
CommitLineData
973c2be1 1// Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 2//
973c2be1 3// This file is part of Open CASCADE Technology software library.
b311480e 4//
973c2be1 5// This library is free software; you can redistribute it and / or modify it
6// under the terms of the GNU Lesser General Public 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.
b311480e 10//
973c2be1 11// Alternatively, this file may be used under the terms of Open CASCADE
12// commercial license or contractual agreement.
7fd59977 13
14//=======================================================================
15//function : Curve
16//purpose :
17//=======================================================================
18
19inline const Handle(Adaptor2d_HCurve2d)& Adaptor3d_OffsetCurve::Curve() const
20{
21 return myCurve;
22}
23
24
25//=======================================================================
26//function : Offset
27//purpose :
28//=======================================================================
29
30inline Standard_Real Adaptor3d_OffsetCurve::Offset() const
31{
32 return myOffset;
33}
34
35
36//=======================================================================
37//function : FirstParameter
38//purpose :
39//=======================================================================
40
41inline Standard_Real Adaptor3d_OffsetCurve::FirstParameter() const
42{
43 return myFirst;
44}
45
46//=======================================================================
47//function : LastParameter
48//purpose :
49//=======================================================================
50
51inline Standard_Real Adaptor3d_OffsetCurve::LastParameter() const
52{
53 return myLast;
54}