0024750: Replace instantiations of TCollection generic classes by NCollection templat...
[occt.git] / src / ChFiDS / ChFiDS_CircSection.cxx
CommitLineData
b311480e 1// Created on: 1996-03-06
2// Created by: Laurent BOURESCHE
3// Copyright (c) 1996-1999 Matra Datavision
973c2be1 4// Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 5//
973c2be1 6// This file is part of Open CASCADE Technology software library.
b311480e 7//
d5f74e42 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
973c2be1 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.
b311480e 13//
973c2be1 14// Alternatively, this file may be used under the terms of Open CASCADE
15// commercial license or contractual agreement.
7fd59977 16
17#include <ChFiDS_CircSection.ixx>
18
19//=======================================================================
20//function : ChFiDS_CircSection
21//purpose :
22//=======================================================================
23
24ChFiDS_CircSection::ChFiDS_CircSection(){}
25
26
27//=======================================================================
28//function : Set
29//purpose :
30//=======================================================================
31
32void 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
47void 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
61void 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
75void 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}