0023024: Update headers of OCCT files
[occt.git] / src / BOPTools / BOPTools_PointBetween.cxx
CommitLineData
b311480e 1// Created on: 2001-04-19
2// Created by: Peter KURNEV
3// Copyright (c) 2001-2012 OPEN CASCADE SAS
4//
5// The content of this file is subject to the Open CASCADE Technology Public
6// License Version 6.5 (the "License"). You may not use the content of this file
7// except in compliance with the License. Please obtain a copy of the License
8// at http://www.opencascade.org and read it completely before using this file.
9//
10// The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
11// main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
12//
13// The Original Code and all software distributed under the License is
14// distributed on an "AS IS" basis, without warranty of any kind, and the
15// Initial Developer hereby disclaims all such warranties, including without
16// limitation, any warranties of merchantability, fitness for a particular
17// purpose or non-infringement. Please see the License for the specific terms
18// and conditions governing the rights and limitations under the License.
19
7fd59977 20
21
22#include <BOPTools_PointBetween.ixx>
23
24//=======================================================================
25// function: BOPTools_PointBetween:: BOPTools_PointBetween
26// purpose:
27//=======================================================================
b311480e 28BOPTools_PointBetween::BOPTools_PointBetween()
7fd59977 29:
30 myT(0.),
31 myU(0.),
32 myV(0.)
33{}
34
35//=======================================================================
36// function: SetParameter
37// purpose:
38//=======================================================================
39 void BOPTools_PointBetween::SetParameter(const Standard_Real aT)
40{
41 myT=aT;
42}
43
44//=======================================================================
45// function: Parameter
46// purpose:
47//=======================================================================
48 Standard_Real BOPTools_PointBetween::Parameter()const
49{
50 return myT;
51}
52
53//=======================================================================
54// function: SetUV
55// purpose:
56//=======================================================================
57 void BOPTools_PointBetween::SetUV(const Standard_Real aU,
58 const Standard_Real aV)
59{
60 myU=aU;
61 myV=aV;
62}
63//=======================================================================
64// function: UV
65// purpose:
66//=======================================================================
67 void BOPTools_PointBetween::UV(Standard_Real& aU,
68 Standard_Real& aV) const
69{
70 aU=myU;
71 aV=myV;
72}
73
74//=======================================================================
75// function: SetPnt
76// purpose:
77//=======================================================================
78 void BOPTools_PointBetween::SetPnt (const gp_Pnt& aP)
79{
80 myPnt=aP;
81}
82
83//=======================================================================
84// function: Pnt
85// purpose:
86//=======================================================================
87 const gp_Pnt& BOPTools_PointBetween::Pnt () const
88{
89 return myPnt;
90}