blob: 09764b3a3180a94bb225fff6f57f6fcc2a153a52 (
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
|
// File: PGeom_ConicalSurface.cxx
// Created: Wed Mar 3 17:34:58 1993
// Author: Philippe DAUTRY
// <fid@phylox>
// Copyright: Matra Datavision 1993
#include <PGeom_ConicalSurface.ixx>
//=======================================================================
//function : PGeom_ConicalSurface
//purpose :
//=======================================================================
PGeom_ConicalSurface::PGeom_ConicalSurface()
{}
//=======================================================================
//function : PGeom_ConicalSurface
//purpose :
//=======================================================================
PGeom_ConicalSurface::PGeom_ConicalSurface
(const gp_Ax3& aPosition,
const Standard_Real aRadius,
const Standard_Real aSemiAngle) :
PGeom_ElementarySurface(aPosition),
radius(aRadius),
semiAngle(aSemiAngle)
{}
//=======================================================================
//function : Radius
//purpose :
//=======================================================================
void PGeom_ConicalSurface::Radius(const Standard_Real aRadius)
{ radius = aRadius; }
//=======================================================================
//function : Radius
//purpose :
//=======================================================================
Standard_Real PGeom_ConicalSurface::Radius() const
{ return radius; }
//=======================================================================
//function : SemiAngle
//purpose :
//=======================================================================
void PGeom_ConicalSurface::SemiAngle(const Standard_Real aSemiAngle)
{ semiAngle = aSemiAngle; }
//=======================================================================
//function : SemiAngle
//purpose :
//=======================================================================
Standard_Real PGeom_ConicalSurface::SemiAngle() const
{ return semiAngle; }
|