0026255: Adaptor3d_OffsetCurve is misleading
[occt.git] / src / Adaptor2d / Adaptor2d_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//
d5f74e42 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
973c2be1 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
5201d3e6 19inline const Handle(Adaptor2d_HCurve2d)& Adaptor2d_OffsetCurve::Curve() const
7fd59977 20{
21 return myCurve;
22}
23
24
25//=======================================================================
26//function : Offset
27//purpose :
28//=======================================================================
29
5201d3e6 30inline Standard_Real Adaptor2d_OffsetCurve::Offset() const
7fd59977 31{
32 return myOffset;
33}
34
35
36//=======================================================================
37//function : FirstParameter
38//purpose :
39//=======================================================================
40
5201d3e6 41inline Standard_Real Adaptor2d_OffsetCurve::FirstParameter() const
7fd59977 42{
43 return myFirst;
44}
45
46//=======================================================================
47//function : LastParameter
48//purpose :
49//=======================================================================
50
5201d3e6 51inline Standard_Real Adaptor2d_OffsetCurve::LastParameter() const
7fd59977 52{
53 return myLast;
54}