0025266: Debug statements in the source are getting flushed on to the console
[occt.git] / src / ChFiDS / ChFiDS_CircSection.cxx
1 // Created on: 1996-03-06
2 // Created by: Laurent BOURESCHE
3 // Copyright (c) 1996-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
5 //
6 // This file is part of Open CASCADE Technology software library.
7 //
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.
13 //
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
16
17 #include <ChFiDS_CircSection.ixx>
18
19 //=======================================================================
20 //function : ChFiDS_CircSection
21 //purpose  : 
22 //=======================================================================
23
24 ChFiDS_CircSection::ChFiDS_CircSection(){}
25
26
27 //=======================================================================
28 //function : Set
29 //purpose  : 
30 //=======================================================================
31
32 void ChFiDS_CircSection::Set(const gp_Circ&      C,
33                              const Standard_Real F,
34                              const Standard_Real L)
35 {
36   myCirc = C;
37   myF    = F;
38   myL    = L;
39 }
40
41
42 //=======================================================================
43 //function : Set
44 //purpose  : 
45 //=======================================================================
46
47 void ChFiDS_CircSection::Set(const gp_Lin&      C,
48                              const Standard_Real F,
49                              const Standard_Real L)
50 {
51   myLin  = C;
52   myF    = F;
53   myL    = L;
54 }
55
56 //=======================================================================
57 //function : Get
58 //purpose  : 
59 //=======================================================================
60
61 void ChFiDS_CircSection::Get(gp_Circ&       C,
62                              Standard_Real& F,
63                              Standard_Real& L) const 
64 {
65   C = myCirc;
66   F = myF;
67   L = myL;
68 }
69
70 //=======================================================================
71 //function : Get
72 //purpose  : 
73 //=======================================================================
74
75 void ChFiDS_CircSection::Get(gp_Lin&        C,
76                              Standard_Real& F,
77                              Standard_Real& L) const 
78 {
79   C = myLin;
80   F = myF;
81   L = myL;
82 }