summaryrefslogtreecommitdiff
path: root/src/PGeom/PGeom_SphericalSurface.cxx
blob: 6065015083e803c1a9327d471e62c7f30ce1ce08 (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_SphericalSurface.cxx
// Created:	Thu Mar  4 10:27:24 1993
// Author:	Philippe DAUTRY
//		<fid@sdsun2>
// Copyright:	Matra Datavision 1993


#include <PGeom_SphericalSurface.ixx>

//=======================================================================
//function : PGeom_SphericalSurface
//purpose  : 
//=======================================================================

PGeom_SphericalSurface::PGeom_SphericalSurface()
{}


//=======================================================================
//function : PGeom_SphericalSurface
//purpose  : 
//=======================================================================

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


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

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


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

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