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