1 // Created on: 1994-01-10
2 // Created by: Yves FRICAUD
3 // Copyright (c) 1994-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
6 // This file is part of Open CASCADE Technology software library.
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.
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
18 #include <Bisector_PointOnBis.hxx>
19 #include <gp_Pnt2d.hxx>
21 //=============================================================================
24 //=============================================================================
25 Bisector_PointOnBis::Bisector_PointOnBis()
29 //=============================================================================
32 //=============================================================================
33 Bisector_PointOnBis::Bisector_PointOnBis(const Standard_Real Param1,
34 const Standard_Real Param2,
35 const Standard_Real ParamBis,
36 const Standard_Real Distance,
44 infinite = Standard_False;
47 //=============================================================================
48 //function : ParamOnC1
50 //=============================================================================
51 void Bisector_PointOnBis::ParamOnC1(const Standard_Real Param)
56 //=============================================================================
57 //function : ParamOnC2
59 //=============================================================================
60 void Bisector_PointOnBis::ParamOnC2(const Standard_Real Param)
65 //=============================================================================
66 //function : ParamOnBis
68 //=============================================================================
69 void Bisector_PointOnBis::ParamOnBis(const Standard_Real Param)
74 //=============================================================================
77 //=============================================================================
78 void Bisector_PointOnBis::Distance(const Standard_Real Distance)
83 //=============================================================================
86 //=============================================================================
87 void Bisector_PointOnBis::Point (const gp_Pnt2d& P)
92 //=============================================================================
93 //function : IsInfinite
95 //=============================================================================
96 void Bisector_PointOnBis::IsInfinite(const Standard_Boolean Infinite)
101 //=============================================================================
102 //function : ParamOnC1
104 //=============================================================================
105 Standard_Real Bisector_PointOnBis::ParamOnC1()const
110 //=============================================================================
111 //function : ParamOnC2
113 //=============================================================================
114 Standard_Real Bisector_PointOnBis::ParamOnC2()const
119 //=============================================================================
120 //function : ParamOnBis
122 //=============================================================================
123 Standard_Real Bisector_PointOnBis::ParamOnBis()const
128 //=============================================================================
129 //function : Distance
131 //=============================================================================
132 Standard_Real Bisector_PointOnBis::Distance()const
137 //=============================================================================
140 //=============================================================================
141 gp_Pnt2d Bisector_PointOnBis::Point ()const
146 //=============================================================================
147 //function : IsInfinite
149 //=============================================================================
150 Standard_Boolean Bisector_PointOnBis::IsInfinite() const
155 //=============================================================================
158 //=============================================================================
159 void Bisector_PointOnBis::Dump() const
161 cout <<"Param1 :"<<param1<<endl;
162 cout <<"Param2 :"<<param2<<endl;
163 cout <<"Param Bis :"<<paramBis<<endl;
164 cout <<"Distance :"<<distance<<endl;