summaryrefslogtreecommitdiff
path: root/src/ChFiDS/ChFiDS_CircSection.cxx
blob: 5d672d835e965f5114759bab421ddaacedad1c52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
// File:	ChFiDS_CircSection.cxx
// Created:	Wed Mar  6 15:54:42 1996
// Author:	Laurent BOURESCHE
//		<lbo@phylox>


#include <ChFiDS_CircSection.ixx>

//=======================================================================
//function : ChFiDS_CircSection
//purpose  : 
//=======================================================================

ChFiDS_CircSection::ChFiDS_CircSection(){}


//=======================================================================
//function : Set
//purpose  : 
//=======================================================================

void ChFiDS_CircSection::Set(const gp_Circ&      C,
			     const Standard_Real F,
			     const Standard_Real L)
{
  myCirc = C;
  myF    = F;
  myL    = L;
}


//=======================================================================
//function : Set
//purpose  : 
//=======================================================================

void ChFiDS_CircSection::Set(const gp_Lin&      C,
			     const Standard_Real F,
			     const Standard_Real L)
{
  myLin  = C;
  myF    = F;
  myL    = L;
}

//=======================================================================
//function : Get
//purpose  : 
//=======================================================================

void ChFiDS_CircSection::Get(gp_Circ&       C,
			     Standard_Real& F,
			     Standard_Real& L) const 
{
  C = myCirc;
  F = myF;
  L = myL;
}

//=======================================================================
//function : Get
//purpose  : 
//=======================================================================

void ChFiDS_CircSection::Get(gp_Lin&        C,
			     Standard_Real& F,
			     Standard_Real& L) const 
{
  C = myLin;
  F = myF;
  L = myL;
}