blob: 58abb08feb8484a9611e5d4a5ef33fdf924ec1bb (
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_Circle.cxx
// Created: Wed Mar 3 17:31:21 1993
// Author: Philippe DAUTRY
// <fid@phylox>
// Copyright: Matra Datavision 1993
#include <PGeom_Circle.ixx>
//=======================================================================
//function : PGeom_Circle
//purpose :
//=======================================================================
PGeom_Circle::PGeom_Circle()
{}
//=======================================================================
//function : PGeom_Circle
//purpose :
//=======================================================================
PGeom_Circle::PGeom_Circle
(const gp_Ax2& aPosition,
const Standard_Real aRadius) :
PGeom_Conic(aPosition),
radius(aRadius)
{}
//=======================================================================
//function : Radius
//purpose :
//=======================================================================
void PGeom_Circle::Radius(const Standard_Real aRadius)
{ radius = aRadius; }
//=======================================================================
//function : Radius
//purpose :
//=======================================================================
Standard_Real PGeom_Circle::Radius() const
{ return radius; }
|