summaryrefslogtreecommitdiff
path: root/src/PGeom/PGeom_CylindricalSurface.cxx
blob: c363f359663e8e82b74695469fe2dd4986bf6c1f (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
// File:	PGeom_CylindricalSurface.cxx
// Created:	Wed Mar  3 17:38:33 1993
// Author:	Philippe DAUTRY
//		<fid@phylox>
// Copyright:	Matra Datavision 1993


#include <PGeom_CylindricalSurface.ixx>

//=======================================================================
//function : PGeom_CylindricalSurface
//purpose  : 
//=======================================================================

PGeom_CylindricalSurface::PGeom_CylindricalSurface()
{}


//=======================================================================
//function : PGeom_CylindricalSurface
//purpose  : 
//=======================================================================

PGeom_CylindricalSurface::PGeom_CylindricalSurface
  (const gp_Ax3& aPosition,
   const Standard_Real aRadius) :
  PGeom_ElementarySurface(aPosition),
  radius(aRadius)
{}


//=======================================================================
//function : Radius
//purpose  : 
//=======================================================================

void  PGeom_CylindricalSurface::Radius(const Standard_Real aRadius)
{ radius = aRadius; }


//=======================================================================
//function : Radius
//purpose  : 
//=======================================================================

Standard_Real  PGeom_CylindricalSurface::Radius() const 
{ return radius; }